<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Darknet - The Darkside &#187; flawfinder</title>
	<atom:link href="http://www.darknet.org.uk/tag/flawfinder/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darknet.org.uk</link>
	<description>Ethical Hacking, Penetration Testing &#38; Computer Security</description>
	<lastBuildDate>Tue, 07 Feb 2012 18:34:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flawfinder &#8211; Source Code Auditing Tool</title>
		<link>http://www.darknet.org.uk/2009/09/flawfinder-source-code-auditing-tool/</link>
		<comments>http://www.darknet.org.uk/2009/09/flawfinder-source-code-auditing-tool/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 09:46:04 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[General Hacking]]></category>
		<category><![CDATA[code auditing tool]]></category>
		<category><![CDATA[code-auditing]]></category>
		<category><![CDATA[flaw finder]]></category>
		<category><![CDATA[flawfinder]]></category>
		<category><![CDATA[source code auditing]]></category>
		<category><![CDATA[source code auditing tool]]></category>
		<category><![CDATA[static analysis]]></category>
		<category><![CDATA[static analysis tool]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/?p=2065</guid>
		<description><![CDATA[Flawfinder is a program that examines source code and reports possible security weaknesses (flaws) sorted by risk level. It&#8217;s very useful for quickly finding and removing at least some potential security problems before a program is widely released to the public. It&#8217;s a static analysis source code auditing tool. Flawfinder is specifically designed to be [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>Flawfinder is a program that examines source code and reports possible security weaknesses (flaws) sorted by risk level. It&#8217;s very useful for quickly finding and removing at least some potential security problems before a program is widely released to the public. It&#8217;s a static analysis <a href="http://www.darknet.org.uk/tag/source-code-auditing/">source code auditing</a> tool.</p>
<p>Flawfinder is specifically designed to be easy to install and use. After installing it, at a command line just type:</p>
<pre><code>flawfinder directory_with_source_code</code></pre>
<p>Flawfinder works on Unix-like systems today (it&#8217;s been tested on GNU/Linux), and it should be easy to port to Windows systems. It requires Python 1.5 or greater to run (Python 1.3 or earlier won&#8217;t work).</p>
<p><strong>Speed</strong></p>
<p>Flawfinder is written in Python, to simplify the task of writing and extending it. Python code is not as fast as C code, but for the task I believe it&#8217;s just fine. Flawfinder version 0.12 on a 400Mhz Pentium II system analyzed 51055 lines in 39.7 seconds, resulting in an average of 1285 analyzed lines/second. Flawfinder 1.20 and later will report their speed (in analyzed lines/second) if you&#8217;re curious. </p>
<p><strong>How it works</strong></p>
<p>Flawfinder works by using a built-in database of C/C++ functions with well-known problems, such as buffer overflow risks (e.g., strcpy(), strcat(), gets(), sprintf(), and the scanf() family), format string problems ([v][f]printf(), [v]snprintf(), and syslog()), race conditions (such as access(), chown(), chgrp(), chmod(), tmpfile(), tmpnam(), tempnam(), and mktemp()), potential shell metacharacter dangers (most of the exec() family, system(), popen()), and poor random number acquisition (such as random()). The good thing is that you don&#8217;t have to create this database &#8211; it comes with the tool.</p>
<p>Flawfinder then takes the source code text, and matches the source code text against those names, while ignoring text inside comments and strings (except for flawfinder directives). Flawfinder also knows about gettext (a common library for internationalized programs), and will treat constant strings passed through gettext as though they were constant strings; this reduces the number of false hits in internationalized programs. </p>
<p>You can download Flawfinder here:</p>
<p><a href="http://www.dwheeler.com/flawfinder/flawfinder-1.27.tar.gz">flawfinder-1.27.tar.gz</a></p>
<p></p>
<p>Or read more <a href="http://www.dwheeler.com/flawfinder/">here</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Flawfinder+%E2%80%93+Source+Code+Auditing+Tool+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D2065+from+%40THEdarknet" title="Post to Twitter"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.darknet.org.uk/2009/09/flawfinder-source-code-auditing-tool/&amp;t=Flawfinder+%E2%80%93+Source+Code+Auditing+Tool" title="Post to Facebook"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.google.com/buzz/post?url=http://www.darknet.org.uk/2009/09/flawfinder-source-code-auditing-tool/&amp;imageurl=" title="Post to Google Buzz"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/gbuzz/tt-gbuzz-micro3.png" alt="Post to Google Buzz" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.darknet.org.uk/2009/09/flawfinder-source-code-auditing-tool/&amp;title=Flawfinder+%E2%80%93+Source+Code+Auditing+Tool" title="Post to Delicious"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.darknet.org.uk/2009/09/flawfinder-source-code-auditing-tool/&amp;title=Flawfinder+%E2%80%93+Source+Code+Auditing+Tool" title="Post to Digg"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.darknet.org.uk/2009/09/flawfinder-source-code-auditing-tool/&amp;title=Flawfinder+%E2%80%93+Source+Code+Auditing+Tool" title="Post to Reddit"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.darknet.org.uk/2009/09/flawfinder-source-code-auditing-tool/&amp;title=Flawfinder+%E2%80%93+Source+Code+Auditing+Tool" title="Post to StumbleUpon"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><div class="AWD_like_button "><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.darknet.org.uk%2F2009%2F09%2Fflawfinder-source-code-auditing-tool%2F&amp;send=false&amp;layout=standard&amp;width=&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=40" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:40px;" allowTransparency="true"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.darknet.org.uk/2009/09/flawfinder-source-code-auditing-tool/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Source Code &amp; Software Security Analysis with BogoSec</title>
		<link>http://www.darknet.org.uk/2006/05/source-code-software-security-analysis-with-bogosec/</link>
		<comments>http://www.darknet.org.uk/2006/05/source-code-software-security-analysis-with-bogosec/#comments</comments>
		<pubDate>Wed, 17 May 2006 03:54:47 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[Countermeasures]]></category>
		<category><![CDATA[Hacking Tools]]></category>
		<category><![CDATA[Security Software]]></category>
		<category><![CDATA[application-security]]></category>
		<category><![CDATA[bogosec]]></category>
		<category><![CDATA[computer-security]]></category>
		<category><![CDATA[darknet]]></category>
		<category><![CDATA[flawfinder]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[ITS4]]></category>
		<category><![CDATA[RATS]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/05/source-code-software-security-analysis-with-bogosec/</guid>
		<description><![CDATA[Bogosec is essentially a tool for finding security vulnerabilities in source code. BogoSec aims to increase awareness regarding code security vulnerabilities, while encouraging developers to produce more secure code over time. By simplifying the code scanning process, BogoSec achieves a goal of allowing developers to scan their code regularly and more effectively. BogoSec is a [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>Bogosec is essentially a tool for finding security vulnerabilities in source code.</p>
<blockquote><p>BogoSec aims to increase awareness regarding code security vulnerabilities, while encouraging developers to produce more secure code over time. By simplifying the code scanning process, BogoSec achieves a goal of allowing developers to scan their code regularly and more effectively.</p></blockquote>
<p>BogoSec is a source code metric tool that wraps multiple source code scanners, invokes them on its target code, and produces a final score that approximates the security quality of the code. This article discusses the BogoSec methodology and implementation, and illustrates the output of BogoSec when run on a number of test cases, including Apache Web server, OpenSSH, Sendmail, Perl, and others.</p>
<p>Bogosec seems to use:</p>
<ul>
<li>Flawfinder</li>
<li>ITS4</li>
<li><a href="http://www.darknet.org.uk/2009/11/rats-rough-auditing-tool-for-security/">RATS</a></li>
</ul>
<blockquote><p>The CERT Coordination Center (CERT/CC) reported 5,990 vulnerabilities in 2005 compared with 171 in 1995. Many software security vulnerabilities occur because of poor programming practices. Some vulnerabilities are algorithmically detectable by static source code scanners designed for identifying potential security issues. As the number and severity of potential security holes per line of code increase, it is reasonable to believe that the overall quality of the source code in terms of security decreases. BogoSec metrics are computed values that attempt to reflect relative ratings of source code security quality for comparative purposes.</p>
<p>The motivation behind BogoSec is to influence developers to produce more secure source code over time. Various scanners exist that point developers to potentially insecure sections of code, but developers are often reluctant to use such scanners because of a seemingly high degree of false positive output as well as the difficulties associated with use. BogoSec attempts to reduce the penalty of false positives while broadening the scope of the source scan by using multiple independent scanners. This produces high-level metrics that allow developers and users alike to comparatively judge the quality of the source code in terms of security.</p></blockquote>
<p>You can download the <a href="http://download.boulder.ibm.com/ibmdl/pub/software/dw/linux/l-bogosec.pdf">full 23 page article here</a> (<strong>PDF Warning</strong>).</p>
<p></p>
<p>You can find the <a href="http://bogosec.sourceforge.net/">BogoSec project here</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Source+Code+%26+Software+Security+Analysis+with+BogoSec+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D196+from+%40THEdarknet" title="Post to Twitter"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.darknet.org.uk/2006/05/source-code-software-security-analysis-with-bogosec/&amp;t=Source+Code+%26+Software+Security+Analysis+with+BogoSec" title="Post to Facebook"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.google.com/buzz/post?url=http://www.darknet.org.uk/2006/05/source-code-software-security-analysis-with-bogosec/&amp;imageurl=" title="Post to Google Buzz"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/gbuzz/tt-gbuzz-micro3.png" alt="Post to Google Buzz" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.darknet.org.uk/2006/05/source-code-software-security-analysis-with-bogosec/&amp;title=Source+Code+%26+Software+Security+Analysis+with+BogoSec" title="Post to Delicious"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.darknet.org.uk/2006/05/source-code-software-security-analysis-with-bogosec/&amp;title=Source+Code+%26+Software+Security+Analysis+with+BogoSec" title="Post to Digg"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.darknet.org.uk/2006/05/source-code-software-security-analysis-with-bogosec/&amp;title=Source+Code+%26+Software+Security+Analysis+with+BogoSec" title="Post to Reddit"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.darknet.org.uk/2006/05/source-code-software-security-analysis-with-bogosec/&amp;title=Source+Code+%26+Software+Security+Analysis+with+BogoSec" title="Post to StumbleUpon"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><div class="AWD_like_button "><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.darknet.org.uk%2F2006%2F05%2Fsource-code-software-security-analysis-with-bogosec%2F&amp;send=false&amp;layout=standard&amp;width=&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=40" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:40px;" allowTransparency="true"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.darknet.org.uk/2006/05/source-code-software-security-analysis-with-bogosec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

