<?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; code-auditing</title>
	<atom:link href="http://www.darknet.org.uk/tag/code-auditing/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>Agnitio v1.2 &#8211; Manual Security Code Review Tool</title>
		<link>http://www.darknet.org.uk/2011/03/agnitio-v1-2-manual-security-code-review-tool/</link>
		<comments>http://www.darknet.org.uk/2011/03/agnitio-v1-2-manual-security-code-review-tool/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 07:39:56 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[Countermeasures]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security Software]]></category>
		<category><![CDATA[agnitio]]></category>
		<category><![CDATA[code auditing tool]]></category>
		<category><![CDATA[code review]]></category>
		<category><![CDATA[code review tool]]></category>
		<category><![CDATA[code security]]></category>
		<category><![CDATA[code-auditing]]></category>
		<category><![CDATA[manual code review]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/?p=3058</guid>
		<description><![CDATA[Agnitio is a tool to help developers and security professionals conduct manual security code reviews in a consistent and repeatable way. Agnitio aims to replace the adhoc nature of manual security code review documentation, create an audit trail and reporting. v1.2 of Agnitio includes a new application metrics section to give better visibility of the [...]]]></description>
			<content:encoded><![CDATA[<p>Agnitio is a tool to help developers and security professionals conduct manual security code reviews in a consistent and repeatable way. Agnitio aims to replace the adhoc nature of manual security code review documentation, create an audit trail and reporting.</p>
<p>v1.2 of Agnitio includes a new application metrics section to give better visibility of the security code review process and allows you to monitor trends etc across multiple reviews of an application.</p>
<p>More details about the changes and plans for upcoming v2.0 here:</p>
<p><a href="http://www.securityninja.co.uk/application-security/agnitio-v1-2-released-today">Agnitio v1.2 released today</a></p>
<p>You can download Agnitio v1.2 here:</p>
<p><div align="center"><script type="text/javascript"><!--
google_ad_client = "pub-3033787195489589";
/* Darknet-Body468 */
google_ad_slot = "1341243171";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><br /></p>
<p><a href="http://sourceforge.net/projects/agnitiotool/files/v1.2/Agnitiov1_2.zip/download">Agnitiov1_2.zip</a></p>
<p>Or read more <a href="http://sourceforge.net/projects/agnitiotool/">here</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Agnitio+v1.2+%E2%80%93+Manual+Security+Code+Review+Tool+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D3058+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/2011/03/agnitio-v1-2-manual-security-code-review-tool/&amp;t=Agnitio+v1.2+%E2%80%93+Manual+Security+Code+Review+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/2011/03/agnitio-v1-2-manual-security-code-review-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/2011/03/agnitio-v1-2-manual-security-code-review-tool/&amp;title=Agnitio+v1.2+%E2%80%93+Manual+Security+Code+Review+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/2011/03/agnitio-v1-2-manual-security-code-review-tool/&amp;title=Agnitio+v1.2+%E2%80%93+Manual+Security+Code+Review+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/2011/03/agnitio-v1-2-manual-security-code-review-tool/&amp;title=Agnitio+v1.2+%E2%80%93+Manual+Security+Code+Review+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/2011/03/agnitio-v1-2-manual-security-code-review-tool/&amp;title=Agnitio+v1.2+%E2%80%93+Manual+Security+Code+Review+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%2F2011%2F03%2Fagnitio-v1-2-manual-security-code-review-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/2011/03/agnitio-v1-2-manual-security-code-review-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft CAT.NET v1.1.1.9 &#8211; Binary Code Analysis Tool .NET</title>
		<link>http://www.darknet.org.uk/2009/12/microsoft-cat-net-v1-1-1-9-binary-code-analysis-tool-net/</link>
		<comments>http://www.darknet.org.uk/2009/12/microsoft-cat-net-v1-1-1-9-binary-code-analysis-tool-net/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 09:39:16 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security Software]]></category>
		<category><![CDATA[Windows Hacking]]></category>
		<category><![CDATA[.net auditing tool]]></category>
		<category><![CDATA[.net security]]></category>
		<category><![CDATA[application-security]]></category>
		<category><![CDATA[binary code analysis]]></category>
		<category><![CDATA[binary-analysis]]></category>
		<category><![CDATA[cat.net]]></category>
		<category><![CDATA[code-auditing]]></category>
		<category><![CDATA[Countermeasures]]></category>
		<category><![CDATA[cross-site-scripting]]></category>
		<category><![CDATA[microsoft security]]></category>
		<category><![CDATA[software-security]]></category>
		<category><![CDATA[source code auditing tool]]></category>
		<category><![CDATA[sql-injection]]></category>
		<category><![CDATA[static analysis]]></category>
		<category><![CDATA[visual studio ide]]></category>
		<category><![CDATA[Visual-Studio]]></category>
		<category><![CDATA[windows-security]]></category>
		<category><![CDATA[xpath injection]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/?p=2321</guid>
		<description><![CDATA[CAT.NET is a binary code analysis tool that helps identify common variants of certain prevailing vulnerabilities that can give rise to common attack vectors such as Cross-Site Scripting (XSS), SQL Injection and XPath Injection. CAT.NET is a snap-in to the Visual Studio IDE that helps you identify security flaws within a managed code (C#, Visual [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>CAT.NET is a binary code analysis tool that helps identify common variants of certain prevailing vulnerabilities that can give rise to common attack vectors such as Cross-Site Scripting (XSS), SQL Injection and XPath Injection.</p>
<p>CAT.NET is a snap-in to the Visual Studio IDE that helps you identify security flaws within a managed code (C#, Visual Basic .NET, J#) application you are developing. It does so by scanning the binary and/or assembly of the application, and tracing the data flow among its statements, methods, and assemblies.</p>
<p>This includes indirect data types such as property assignments and instance tainting operations. The engine works by reading the target assembly and all reference assemblies used in the application — module-by-module — and then analyzing all of the methods contained within each. It finally displays the issues its finds in a list that you can use to jump directly to the places in your application’s source code where those issues were found.</p>
<p>The following rules are currently support by this version of the tool</p>
<ul>
<li>Cross Site Scripting</li>
<li>SQL Injection</li>
<li>Process Command Injection</li>
<li>File Canonicalization</li>
<li>Exception Information</li>
<li>LDAP Injection</li>
<li>XPATH Injection</li>
<li>Redirection to User Controlled Site</li>
</ul>
<p><strong>System Requirements</strong></p>
<p>Supported Operating Systems: Windows Vista; Windows XP</p>
<p>OS: XP, Vista Software: .NET Framework 2.0, Visual Studio 2005 or 2008. </p>
<p>You can download CAT.NET here:</p>
<p><a href="http://www.microsoft.com/downloads/info.aspx?na=90&#038;p=&#038;SrcDisplayLang=en&#038;SrcCategoryId=&#038;SrcFamilyId=0178e2ef-9da8-445e-9348-c93f24cc9f9d&#038;u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f3%2f3%2f4%2f334E8A84-0F1B-4E3C-AF5F-99DA8AE0601F%2fCATNETx32.msi">CATNETx32.msi</a></p>
<p></p>
<p>Or read more <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0178e2ef-9da8-445e-9348-c93f24cc9f9d&#038;displaylang=en">here</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Microsoft+CAT.NET+v1.1.1.9+%E2%80%93+Binary+Code+Analysis+Tool+.NET+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D2321+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/12/microsoft-cat-net-v1-1-1-9-binary-code-analysis-tool-net/&amp;t=Microsoft+CAT.NET+v1.1.1.9+%E2%80%93+Binary+Code+Analysis+Tool+.NET" 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/12/microsoft-cat-net-v1-1-1-9-binary-code-analysis-tool-net/&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/12/microsoft-cat-net-v1-1-1-9-binary-code-analysis-tool-net/&amp;title=Microsoft+CAT.NET+v1.1.1.9+%E2%80%93+Binary+Code+Analysis+Tool+.NET" 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/12/microsoft-cat-net-v1-1-1-9-binary-code-analysis-tool-net/&amp;title=Microsoft+CAT.NET+v1.1.1.9+%E2%80%93+Binary+Code+Analysis+Tool+.NET" 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/12/microsoft-cat-net-v1-1-1-9-binary-code-analysis-tool-net/&amp;title=Microsoft+CAT.NET+v1.1.1.9+%E2%80%93+Binary+Code+Analysis+Tool+.NET" 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/12/microsoft-cat-net-v1-1-1-9-binary-code-analysis-tool-net/&amp;title=Microsoft+CAT.NET+v1.1.1.9+%E2%80%93+Binary+Code+Analysis+Tool+.NET" 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%2F12%2Fmicrosoft-cat-net-v1-1-1-9-binary-code-analysis-tool-net%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/12/microsoft-cat-net-v1-1-1-9-binary-code-analysis-tool-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RATS &#8211; Rough Auditing Tool for Security</title>
		<link>http://www.darknet.org.uk/2009/11/rats-rough-auditing-tool-for-security/</link>
		<comments>http://www.darknet.org.uk/2009/11/rats-rough-auditing-tool-for-security/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 09:57:06 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[Countermeasures]]></category>
		<category><![CDATA[Exploits/Vulnerabilities]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security Software]]></category>
		<category><![CDATA[buffer overflow]]></category>
		<category><![CDATA[code audit tool]]></category>
		<category><![CDATA[code auditing tool]]></category>
		<category><![CDATA[code-auditing]]></category>
		<category><![CDATA[expat]]></category>
		<category><![CDATA[perl security]]></category>
		<category><![CDATA[php-security]]></category>
		<category><![CDATA[python security]]></category>
		<category><![CDATA[race conditions]]></category>
		<category><![CDATA[RATS]]></category>
		<category><![CDATA[scan c code]]></category>
		<category><![CDATA[scan perl code]]></category>
		<category><![CDATA[scan php code]]></category>
		<category><![CDATA[scan python code]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/?p=2063</guid>
		<description><![CDATA[RATS &#8211; Rough Auditing Tool for Security &#8211; is an open source tool developed and maintained by Secure Software security engineers. Secure Software was acquired by Fortify Software, Inc. RATS is a tool for scanning C, C++, Perl, PHP and Python source code and flagging common security related programming errors such as buffer overflows and [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>RATS &#8211; Rough Auditing Tool for Security &#8211; is an open source tool developed and maintained by Secure Software security engineers. Secure Software was acquired by Fortify Software, Inc. RATS is a tool for scanning C, C++, Perl, PHP and Python source code and flagging common security related programming errors such as buffer overflows and TOCTOU (Time Of Check, Time Of Use) race conditions.</p>
<p>RATS scanning tool provides a security analyst with a list of potential trouble spots on which to focus, along with describing the problem, and potentially suggest remedies. It also provides a relative assessment of the potential severity of each problem, to better help an auditor prioritize. This tool also performs some basic analysis to try to rule out conditions that are obviously not problems.</p>
<p>As its name implies, the tool performs only a rough analysis of source code. It will not find every error and will also find things that are not errors. Manual inspection of your code is still necessary, but greatly aided with this tool.</p>
<p><strong>Requirements</strong></p>
<p>RATS requires expat to be installed in order to build and run. Expat is often installed in /usr/local/lib and /usr/local/include. On some systems, you will need to specify &#8211;with-expat-lib and &#8211;with-expat-include options to configure so that it can find your installation of the library and header. Expat can be found <a href="http://expat.sourceforge.net/">here</a>.</p>
<p>You can download RATS here:</p>
<p>Source Code:  <a href="http://www.fortify.com/servlet/downloads/public/rats-2.3.tar.gz">rats-2.3.tar.gz</a><br />
Windows Binary: <a href="http://www.fortify.com/servlet/downloads/public/rats-2.3-win32.zip">rats-2.3-win32.zip</a></p>
<p></p>
<p>Or read more <a href="http://www.fortify.com/security-resources/rats.jsp">here</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=RATS+%E2%80%93+Rough+Auditing+Tool+for+Security+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D2063+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/11/rats-rough-auditing-tool-for-security/&amp;t=RATS+%E2%80%93+Rough+Auditing+Tool+for+Security" 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/11/rats-rough-auditing-tool-for-security/&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/11/rats-rough-auditing-tool-for-security/&amp;title=RATS+%E2%80%93+Rough+Auditing+Tool+for+Security" 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/11/rats-rough-auditing-tool-for-security/&amp;title=RATS+%E2%80%93+Rough+Auditing+Tool+for+Security" 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/11/rats-rough-auditing-tool-for-security/&amp;title=RATS+%E2%80%93+Rough+Auditing+Tool+for+Security" 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/11/rats-rough-auditing-tool-for-security/&amp;title=RATS+%E2%80%93+Rough+Auditing+Tool+for+Security" 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%2F11%2Frats-rough-auditing-tool-for-security%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/11/rats-rough-auditing-tool-for-security/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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>Graudit &#8211; Code Audit Tool Using Grep</title>
		<link>http://www.darknet.org.uk/2009/09/graudit-code-audit-tool-using-grep/</link>
		<comments>http://www.darknet.org.uk/2009/09/graudit-code-audit-tool-using-grep/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 07:55:11 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[Countermeasures]]></category>
		<category><![CDATA[Exploits/Vulnerabilities]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[code audit tool]]></category>
		<category><![CDATA[code auditing tool]]></category>
		<category><![CDATA[code security]]></category>
		<category><![CDATA[code-auditing]]></category>
		<category><![CDATA[graudit]]></category>
		<category><![CDATA[grep audit]]></category>
		<category><![CDATA[grep code auditing tool]]></category>
		<category><![CDATA[programming security]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/?p=2046</guid>
		<description><![CDATA[Graudit is a simple script and signature sets that allows you to find potential security flaws in source code using the GNU utility grep. It&#8217;s comparable to other static analysis applications like RATS, SWAAT and flaw-finder while keeping the technical requirements to a minimum and being very flexible. Usage Graudit supports several options and tries [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>Graudit is a simple script and signature sets that allows you to find potential security flaws in source code using the GNU utility grep. It&#8217;s comparable to other static analysis applications like <a href="http://www.darknet.org.uk/2009/11/rats-rough-auditing-tool-for-security/">RATS</a>, <a href="http://www.darknet.org.uk/2006/09/security-compass-web-application-analysis-tool-swaat/">SWAAT</a> and flaw-finder while keeping the technical requirements to a minimum and being very flexible.</p>
<p><strong>Usage</strong></p>
<p>Graudit supports several options and tries to follow good shell practices. For a list of the options you can run graudit -h or see below. The simplest way to use graudit is;</p>
<pre><code>graudit /path/to/scan</code></pre>
<p>You can download Graudit v1.1 here:</p>
<p><a href="http://www.justanotherhacker.com/projects/graudit-1.1.tar.bz2">graudit-1.1.tar.bz2</a></p>
<p></p>
<p>Or read more <a href="http://www.justanotherhacker.com/projects/graudit.html">here</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Graudit+%E2%80%93+Code+Audit+Tool+Using+Grep+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D2046+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/graudit-code-audit-tool-using-grep/&amp;t=Graudit+%E2%80%93+Code+Audit+Tool+Using+Grep" 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/graudit-code-audit-tool-using-grep/&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/graudit-code-audit-tool-using-grep/&amp;title=Graudit+%E2%80%93+Code+Audit+Tool+Using+Grep" 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/graudit-code-audit-tool-using-grep/&amp;title=Graudit+%E2%80%93+Code+Audit+Tool+Using+Grep" 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/graudit-code-audit-tool-using-grep/&amp;title=Graudit+%E2%80%93+Code+Audit+Tool+Using+Grep" 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/graudit-code-audit-tool-using-grep/&amp;title=Graudit+%E2%80%93+Code+Audit+Tool+Using+Grep" 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%2Fgraudit-code-audit-tool-using-grep%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/graudit-code-audit-tool-using-grep/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SCARE &#8211; Source Code Analysis Risk Evaluation Tool</title>
		<link>http://www.darknet.org.uk/2008/02/scare-source-code-analysis-risk-evaluation-tool/</link>
		<comments>http://www.darknet.org.uk/2008/02/scare-source-code-analysis-risk-evaluation-tool/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 04:22:34 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[Countermeasures]]></category>
		<category><![CDATA[Exploits/Vulnerabilities]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[code auditing tool]]></category>
		<category><![CDATA[code-auditing]]></category>
		<category><![CDATA[exploits]]></category>
		<category><![CDATA[risk]]></category>
		<category><![CDATA[risk evaluation]]></category>
		<category><![CDATA[scare]]></category>
		<category><![CDATA[software-security]]></category>
		<category><![CDATA[source code auditing]]></category>
		<category><![CDATA[source-code-analysis]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2008/02/scare-source-code-analysis-risk-evaluation-tool/</guid>
		<description><![CDATA[The Source Code Analysis Risk Evaluation project is a study to create a security complexity metric that will analyze source code and provide a realistic and factual representation of the potential of that source code to create a problematic binary. This metric will not say that the binary will be exploited nor does it do [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>The Source Code Analysis Risk Evaluation project is a study to create a security complexity metric that will analyze source code and provide a realistic and factual representation of the potential of that source code to create a problematic binary. This metric will not say that the binary will be exploited nor does it do a static analysis for known limitations like vulnerabilities. However it will flag code for a particular interaction type or control and allow the developer to understand which Operational Security (OpSec) holes are not protected even if it can&#8217;t say the effectiveness of that protection at this time.</p>
<p>This computation will provide a final SCARE value, like the RAV, where 100% is the proper balance between controls to OpSec holes and no Limitations. Conversely, less than that shows an imbalance where too few Controls protect OpSec holes or Limitations in OpSec and Controls degrade the security.</p>
<p>The SCARE analysis tool is run against source code.  Currently only C code is supported.  The output file will contain all operational interactions possible which need controls (the current version does not yet say if and what controls are already there).  At the bottom of the list are three numbers: Visibilities, Access, and Trusts.  These 3 numbers can be plugged into the RAV Calculation spreadsheet available at <a href="http://www.isecom.org/ravs">http://www.isecom.org/ravs</a>.  The Delta value is then subtracted from 100 to give the SCARE percentage which indicates the complexity for securing this particular application.  The lower the value, the worse the SCARE.</p>
<p>At this stage, the tool cannot yet tell which interactions have controls already or if those controls are applicable however once that is available it will change the RAV but not the SCARE.  The SCARE will also not yet tell you where the bugs are in the code however if you are bug hunting, it will extract all the places where user inputs and trusts with user-accessible resources can be found in the code.</p>
<p>Currently, SCARE is designed to work for any programming language. While this methodology shows the C language, they need input and feedback from developers of other languages to expand this further.</p>
<p>If you are interested in helping with this project please <a href="http://www.isecom.org/contact.shtml">contact ISECOM</a>.</p>
<p>You can download SCARE here:</p>
<p><a href="http://www.isecom.info/mirror/scare_analyst.zip">scare_analyst.zip</a></p>
<p></p>
<p>Or you can read more <a href="http://www.isecom.org/scare">here</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=SCARE+%E2%80%93+Source+Code+Analysis+Risk+Evaluation+Tool+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D756+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/2008/02/scare-source-code-analysis-risk-evaluation-tool/&amp;t=SCARE+%E2%80%93+Source+Code+Analysis+Risk+Evaluation+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/2008/02/scare-source-code-analysis-risk-evaluation-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/2008/02/scare-source-code-analysis-risk-evaluation-tool/&amp;title=SCARE+%E2%80%93+Source+Code+Analysis+Risk+Evaluation+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/2008/02/scare-source-code-analysis-risk-evaluation-tool/&amp;title=SCARE+%E2%80%93+Source+Code+Analysis+Risk+Evaluation+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/2008/02/scare-source-code-analysis-risk-evaluation-tool/&amp;title=SCARE+%E2%80%93+Source+Code+Analysis+Risk+Evaluation+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/2008/02/scare-source-code-analysis-risk-evaluation-tool/&amp;title=SCARE+%E2%80%93+Source+Code+Analysis+Risk+Evaluation+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%2F2008%2F02%2Fscare-source-code-analysis-risk-evaluation-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/2008/02/scare-source-code-analysis-risk-evaluation-tool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Skavenger &#8211; source code auditing tool!</title>
		<link>http://www.darknet.org.uk/2007/11/skavenger-source-code-auditing-tool/</link>
		<comments>http://www.darknet.org.uk/2007/11/skavenger-source-code-auditing-tool/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 03:34:20 +0000</pubDate>
		<dc:creator>backbone</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Hacking]]></category>
		<category><![CDATA[audit]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[code auditing tool]]></category>
		<category><![CDATA[code-auditing]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php auditing tool]]></category>
		<category><![CDATA[php code auditing]]></category>
		<category><![CDATA[php source code auditing]]></category>
		<category><![CDATA[skavenger]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[source code auditing]]></category>
		<category><![CDATA[source code auditing tool]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2007/11/skavenger-source-code-auditing-tool/</guid>
		<description><![CDATA[Skavenger? Yes, because scavenger is already used?!? What is skavenger? Skavenger is a source code auditing tool, firstly though for php, but also used for any kind of source code file; as long as you know what to look for&#8230; Yes I thought is as a replacement tool for egrep/sed under Windows! because not everybody [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>Skavenger? Yes, because scavenger is already used?!?</p>
<p>What is skavenger? Skavenger is a source code auditing tool, firstly though for php, but also used for any kind of source code file; as long as you know what to look for&#8230;</p>
<p>Yes I thought is as a replacement tool for egrep/sed under Windows! because not everybody installs cygwin (for example) under there windows boxes to perform source code auditing. I&#8217;ve seen people who most of the time used notepad to audit source code!</p>
<p>And more&#8230;<br />
Skavenger is more than a replacement for egrep/sed because it has the ability to parse conforming to a regular expression or a series of regular expressions more than one file; even a directory; and prints out line number&#8230; isn&#8217;t that sup4 l33t?</p>
<p>Anyway&#8230; for download and more info check out <a href="http://code.google.com/p/skavenger/">http://code.google.com/p/skavenger/</a>, because you can have a lot of fun with it; did I mention it was a console application?</p>
<p>P.S. You need php in order to use this script. Default values in regex.def check for primordial sql injection and XSS&#8230;.<br />
P.P.S. For more things to search for under php, check my article at <a href="http://insanesecurity.wordpress.com/2007/10/30/source-code-audit-php/">http://insanesecurity.wordpress.com/2007/10/30/source-code-audit-php/</a></p>
<p></p>
<p>Happy auditing! </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Skavenger+%E2%80%93+source+code+auditing+tool%21+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D738+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/2007/11/skavenger-source-code-auditing-tool/&amp;t=Skavenger+%E2%80%93+source+code+auditing+tool%21" 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/2007/11/skavenger-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/2007/11/skavenger-source-code-auditing-tool/&amp;title=Skavenger+%E2%80%93+source+code+auditing+tool%21" 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/2007/11/skavenger-source-code-auditing-tool/&amp;title=Skavenger+%E2%80%93+source+code+auditing+tool%21" 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/2007/11/skavenger-source-code-auditing-tool/&amp;title=Skavenger+%E2%80%93+source+code+auditing+tool%21" 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/2007/11/skavenger-source-code-auditing-tool/&amp;title=Skavenger+%E2%80%93+source+code+auditing+tool%21" 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%2F2007%2F11%2Fskavenger-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/2007/11/skavenger-source-code-auditing-tool/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PMD &#8211; Java Source Code Scanner</title>
		<link>http://www.darknet.org.uk/2006/10/pmd-java-source-code-scanner/</link>
		<comments>http://www.darknet.org.uk/2006/10/pmd-java-source-code-scanner/#comments</comments>
		<pubDate>Tue, 31 Oct 2006 06:07:27 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security Software]]></category>
		<category><![CDATA[Ant]]></category>
		<category><![CDATA[application-security]]></category>
		<category><![CDATA[BlueJ]]></category>
		<category><![CDATA[code-auditing]]></category>
		<category><![CDATA[CodeGuide]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Gel]]></category>
		<category><![CDATA[IntelliJ-IDEA]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java-scanning]]></category>
		<category><![CDATA[JBuilder]]></category>
		<category><![CDATA[JCreator]]></category>
		<category><![CDATA[JDeveloper]]></category>
		<category><![CDATA[JEdit]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[NetBeans/Sun-Java-Studio-Enterprise/Creator]]></category>
		<category><![CDATA[pmd]]></category>
		<category><![CDATA[TextPad]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/10/pmd-java-source-code-scanner/</guid>
		<description><![CDATA[Continuing with the series of tools I&#8217;ve been posting on source code auditing and application security, here is PMD a Java Source Code Scanner. PMD scans Java source code and looks for potential problems like: Possible bugs &#8211; empty try/catch/finally/switch statements Dead code &#8211; unused local variables, parameters and private methods Suboptimal code &#8211; wasteful [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>Continuing with the series of tools I&#8217;ve been posting on source code auditing and application security, here is PMD a Java Source Code Scanner.</p>
<p>PMD scans Java source code and looks for potential problems like:</p>
<ul>
<li>Possible bugs &#8211; empty try/catch/finally/switch statements</li>
<li>Dead code &#8211; unused local variables, parameters and private methods</li>
<li>Suboptimal code &#8211; wasteful String/StringBuffer usage</li>
<li>Overcomplicated expressions &#8211; unnecessary if statements, for loops that could be while loops</li>
<li>Duplicate code &#8211; copied/pasted code means copied/pasted bugs</li>
</ul>
<p>PMD is integrated with JDeveloper, Eclipse, JEdit, JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, and Emacs.</p>
<p>You can read more about PMD at the homepage <a href="http://pmd.sourceforge.net/">here</a>.</p>
<p>You can download everything from here:</p>
<p></p>
<p><a href="http://sourceforge.net/project/showfiles.php?group_id=56262">Download PMD</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=PMD+%E2%80%93+Java+Source+Code+Scanner+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D361+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/10/pmd-java-source-code-scanner/&amp;t=PMD+%E2%80%93+Java+Source+Code+Scanner" 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/10/pmd-java-source-code-scanner/&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/10/pmd-java-source-code-scanner/&amp;title=PMD+%E2%80%93+Java+Source+Code+Scanner" 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/10/pmd-java-source-code-scanner/&amp;title=PMD+%E2%80%93+Java+Source+Code+Scanner" 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/10/pmd-java-source-code-scanner/&amp;title=PMD+%E2%80%93+Java+Source+Code+Scanner" 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/10/pmd-java-source-code-scanner/&amp;title=PMD+%E2%80%93+Java+Source+Code+Scanner" 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%2F10%2Fpmd-java-source-code-scanner%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/10/pmd-java-source-code-scanner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LAPSE Sourcecode Analysis for JAVA J2EE Web Applications</title>
		<link>http://www.darknet.org.uk/2006/10/lapse-sourcecode-analysis-for-java-j2ee-web-applications/</link>
		<comments>http://www.darknet.org.uk/2006/10/lapse-sourcecode-analysis-for-java-j2ee-web-applications/#comments</comments>
		<pubDate>Tue, 24 Oct 2006 08:26:35 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security Software]]></category>
		<category><![CDATA[Web Hacking]]></category>
		<category><![CDATA[application-security]]></category>
		<category><![CDATA[code auditing tool]]></category>
		<category><![CDATA[code-auditing]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[J2EE-security]]></category>
		<category><![CDATA[JAVA-analysis]]></category>
		<category><![CDATA[JAVA-auditing]]></category>
		<category><![CDATA[JAVA-security]]></category>
		<category><![CDATA[java-web-applications]]></category>
		<category><![CDATA[LAPSE]]></category>
		<category><![CDATA[source code auditing]]></category>
		<category><![CDATA[source-code-analysis]]></category>
		<category><![CDATA[sourcecode-analysis]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/10/lapse-sourcecode-analysis-for-java-j2ee-web-applications/</guid>
		<description><![CDATA[LAPSE stands for a Lightweight Analysis for Program Security in Eclipse. LAPSE is designed to help with the task of auditing Java J2EE applications for common types of security vulnerabilities found in Web applications. LAPSE was developed by Benjamin Livshits as part of the Griffin Software Security Project. LAPSE targets the following Web application vulnerabilities: [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>LAPSE stands for a Lightweight Analysis for Program Security in Eclipse. LAPSE is designed to help with the task of auditing Java J2EE applications for common types of security vulnerabilities found in Web applications. LAPSE was developed by Benjamin Livshits as part of the Griffin Software Security Project.</p>
<p>LAPSE targets the following Web application vulnerabilities:</p>
<ul>
<li>Parameter manipulation</li>
<li>SQL injections</li>
<li>Header manipulation</li>
<li>Cross-site scripting</li>
<li>Cookie poisoning</li>
<li>HTTP splitting</li>
<li>Command-line parameters</li>
<li>Path traversal  </li>
</ul>
<p>What should you do to avoid these vulnerabilities in your code? How do we protect Web applications from exploits? The proper way to deal with these types of attacks is by sanitizing the tainted input. Please refer to the OWASP guide to find out more about Web application security.</p>
<p>If you are interested in auditing a Java Web application, LAPSE helps you in the following ways:</p>
<ul>
<li>Identify taint sources</li>
<li>Identify taint sinks</li>
<li>Find paths between sources and sinks </li>
</ul>
<p>LAPSE is inspired by existing lightweight security auditing tools such as <a href="http://www.darknet.org.uk/2009/11/rats-rough-auditing-tool-for-security/">RATS</a>, pscan, and FlawFinder. Unlike those tools, however, LAPSE addresses vulnerabilities in Web applications. LAPSE is not intended as a comprehensive solution for Web application security, but rather as an aid in the code review process. Those looking for more comprehensive tools are encouraged to look at some of the tools produced by Fortify or Secure Software.</p>
<p><a href="http://suif.stanford.edu/~livshits/work/lapse/">Read more about LAPSE HERE.</a></p>
<p>You can download LAPSE here:</p>
<p></p>
<p><a href="http://suif.stanford.edu/~livshits/work/lapse/download.html">LAPSE: Web Application Security Scanner for Java</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=LAPSE+Sourcecode+Analysis+for+JAVA+J2EE+Web+Applications+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D359+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/10/lapse-sourcecode-analysis-for-java-j2ee-web-applications/&amp;t=LAPSE+Sourcecode+Analysis+for+JAVA+J2EE+Web+Applications" 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/10/lapse-sourcecode-analysis-for-java-j2ee-web-applications/&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/10/lapse-sourcecode-analysis-for-java-j2ee-web-applications/&amp;title=LAPSE+Sourcecode+Analysis+for+JAVA+J2EE+Web+Applications" 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/10/lapse-sourcecode-analysis-for-java-j2ee-web-applications/&amp;title=LAPSE+Sourcecode+Analysis+for+JAVA+J2EE+Web+Applications" 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/10/lapse-sourcecode-analysis-for-java-j2ee-web-applications/&amp;title=LAPSE+Sourcecode+Analysis+for+JAVA+J2EE+Web+Applications" 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/10/lapse-sourcecode-analysis-for-java-j2ee-web-applications/&amp;title=LAPSE+Sourcecode+Analysis+for+JAVA+J2EE+Web+Applications" 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%2F10%2Flapse-sourcecode-analysis-for-java-j2ee-web-applications%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/10/lapse-sourcecode-analysis-for-java-j2ee-web-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FindBugs &#8211; Find Bugs in Java Programs</title>
		<link>http://www.darknet.org.uk/2006/10/findbugs%e2%84%a2-find-bugs-in-java-programs/</link>
		<comments>http://www.darknet.org.uk/2006/10/findbugs%e2%84%a2-find-bugs-in-java-programs/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 05:33:13 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[Exploits/Vulnerabilities]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security Software]]></category>
		<category><![CDATA[bug-patterns]]></category>
		<category><![CDATA[code-auditing]]></category>
		<category><![CDATA[code-scanning]]></category>
		<category><![CDATA[findbugs]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java-bugs]]></category>
		<category><![CDATA[java-bytecode]]></category>
		<category><![CDATA[secure-software]]></category>
		<category><![CDATA[security-tools]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/10/findbugs%e2%84%a2-find-bugs-in-java-programs/</guid>
		<description><![CDATA[FindBugs looks for bugs in Java programs. It is based on the concept of bug patterns. A bug pattern is a code idiom that is often an error. Bug patterns arise for a variety of reasons: Difficult language features Misunderstood API methods Misunderstood invariants when code is modified during maintenance Garden variety mistakes: typos, use [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>FindBugs looks for bugs in Java programs.  It is based on the concept of bug patterns.  A bug pattern is a code idiom that is often an error.  Bug patterns arise for a variety of reasons:</p>
<ul>
<li>Difficult language features</li>
<li>Misunderstood API methods</li>
<li>Misunderstood invariants when code is modified during maintenance</li>
<li>Garden variety mistakes: typos, use of the wrong boolean operator </li>
</ul>
<p>FindBugs uses static analysis to inspect Java bytecode for occurrences of bug patterns.  Static analysis means that FindBugs can find bugs by simply inspecting a program&#8217;s code: executing the program is not necessary.  This makes FindBugs very easy to use: in general, you should be able to use it to look for bugs in your code within a few minutes of downloading it.  FindBugs works by analyzing Java bytecode (compiled class files), so you don&#8217;t even need the program&#8217;s source code to use it.  Because its analysis is sometimes imprecise, FindBugs can report false warnings, which are warnings that do not indicate real errors.  In practice, the rate of false warnings reported by FindBugs is less than 50%. </p>
<p>FindBugs requires JRE (or JDK) 1.4.0 or later to run.  However, it can analyze programs compiled for any version of Java. The current version of FindBugs is 1.1.1, released on October 6, 2006. </p>
<p>More info &#038; download here:</p>
<p></p>
<p><a href="http://findbugs.sourceforge.net/">FindBugsâ„¢</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=FindBugs+%E2%80%93+Find+Bugs+in+Java+Programs+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D360+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/10/findbugs%e2%84%a2-find-bugs-in-java-programs/&amp;t=FindBugs+%E2%80%93+Find+Bugs+in+Java+Programs" 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/10/findbugs%e2%84%a2-find-bugs-in-java-programs/&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/10/findbugs%e2%84%a2-find-bugs-in-java-programs/&amp;title=FindBugs+%E2%80%93+Find+Bugs+in+Java+Programs" 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/10/findbugs%e2%84%a2-find-bugs-in-java-programs/&amp;title=FindBugs+%E2%80%93+Find+Bugs+in+Java+Programs" 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/10/findbugs%e2%84%a2-find-bugs-in-java-programs/&amp;title=FindBugs+%E2%80%93+Find+Bugs+in+Java+Programs" 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/10/findbugs%e2%84%a2-find-bugs-in-java-programs/&amp;title=FindBugs+%E2%80%93+Find+Bugs+in+Java+Programs" 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%2F10%2Ffindbugs%25e2%2584%25a2-find-bugs-in-java-programs%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/10/findbugs%e2%84%a2-find-bugs-in-java-programs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

