<?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; web-application-session-security</title>
	<atom:link href="http://www.darknet.org.uk/tag/web-application-session-security/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>Stompy &#8211; The Web Application Session Analyzer Tool</title>
		<link>http://www.darknet.org.uk/2007/03/stompy-the-web-application-session-analyzer-tool/</link>
		<comments>http://www.darknet.org.uk/2007/03/stompy-the-web-application-session-analyzer-tool/#comments</comments>
		<pubDate>Thu, 15 Mar 2007 06:14:18 +0000</pubDate>
		<dc:creator>Darknet</dc:creator>
				<category><![CDATA[Hacking Tools]]></category>
		<category><![CDATA[Web Hacking]]></category>
		<category><![CDATA[coredump]]></category>
		<category><![CDATA[lcamtuf]]></category>
		<category><![CDATA[michal-zalewski]]></category>
		<category><![CDATA[session-tool]]></category>
		<category><![CDATA[stompy]]></category>
		<category><![CDATA[web-application-security]]></category>
		<category><![CDATA[web-application-session-security]]></category>
		<category><![CDATA[web-application-sessions]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2007/03/stompy-the-web-application-session-analyzer-tool/</guid>
		<description><![CDATA[A new tool dealing with web sessions was recently announced, it&#8217;s called stompy, a free tool to perform a fairly detailed black-box assessment of WWW session identifier generation algorithms. Session IDs are commonly used to track authenticated users, and as such, whenever they&#8217;re predictable or simply vulnerable to brute-force attacks, we do have a problem. [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>A new tool dealing with web sessions was recently announced, it&#8217;s called stompy, a free tool to perform a fairly detailed black-box assessment of WWW session identifier generation algorithms. Session IDs are commonly used to track authenticated users, and as such, whenever they&#8217;re predictable or simply vulnerable to brute-force attacks, we do have a problem.</p>
<p>The tool has already revealed several problems in proprietary software platforms such as BEA WebLogic and Sun Java System Web Server (both have problems with their JSESSIONIDs).</p>
<p><strong>Why bother?</strong></p>
<p>Some session ID cookie generation mechanisms are well-studied and well-documented, and believed to be cryptographically secure (example: Apache Tomcat, PHP, ASP.NET builtins). This is not necessarily so for certain less researched enterprise web platforms &#8211; and almost never so for custom solutions that are frequently implemented inside the web application itself.</p>
<p>Yet, while there are several nice GUI-based tools designed to analyze HTTP cookies for common problems (Daves&#8217; WebScarab, SPI Cookie Cruncher, Foundstone CookieDigger, etc), they all seem to rely on very trivial, if any, tests when it comes to unpredictability (&#8220;alphabet distribution&#8221; or &#8220;average bits changed&#8221; are top shelf); this functionality is often not better than a quick pen-and-paper analysis, and can&#8217;t be routinely used to tell a highly vulnerable linear congruent PRNG (rand())  from a well-implemented MD5 hash system (/dev/urandom).</p>
<p><strong>What&#8217;s cool?</strong></p>
<p>In order to have a fully automated, hands-off tool to reliably detect anomalies that are not readily apparent at a first glance stompy:</p>
<ul>
<li>Automatically finds session IDs encoded as URLs, cookies, and in form inputs, then collects a statistically significant sample of data</li>
<li>Determines alphabet structure to transparently handle base64, uuencode, base32, hex, and any other sane encoding scheme without user intervention</li>
<li>Translates the data to isolated time-domain bitstreams to examine how SID bits at each position change in time,</li>
<li>Runs a suite of FIPS-140-2 PRNG evaluation tests on the sample</li>
<li>Runs an array of n-dimensional phase space tests to find deterministic correlations, PRNG hyperplanes, etc, etc.</li>
</ul>
<p>Of course, the tool cannot prove the correctness of an implementation, and it is possible to devise predictable, cryptographically unsafe PRNGs that would pass these tests; still, the tool can find plenty of problems and oddities.</p>
<p>Stompy was updated due to feedback and:</p>
<ul>
<li>It now supports SSL connections, custom-crafted requests including POSTs, and input from external sources (for evaluation of non-WWW tokens of any type)
</li>
<li>It now uses GNU MP library to losslessly handle alphabets that do not directly map to binary (this is big)</li>
<li>Can run spatial correlation checks as well as temporal analysis of bitstreams in acquired samples</li>
<li>The output is much more readable, some minor bugs were fixed.</li>
</ul>
<p>The latest version of Stompy can be downloaded here:</p>
<p></p>
<p><a href="http://lcamtuf.coredump.cx/stompy.tgz">http://lcamtuf.coredump.cx/stompy.tgz</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Stompy+%E2%80%93+The+Web+Application+Session+Analyzer+Tool+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D474+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/03/stompy-the-web-application-session-analyzer-tool/&amp;t=Stompy+%E2%80%93+The+Web+Application+Session+Analyzer+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/2007/03/stompy-the-web-application-session-analyzer-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/03/stompy-the-web-application-session-analyzer-tool/&amp;title=Stompy+%E2%80%93+The+Web+Application+Session+Analyzer+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/2007/03/stompy-the-web-application-session-analyzer-tool/&amp;title=Stompy+%E2%80%93+The+Web+Application+Session+Analyzer+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/2007/03/stompy-the-web-application-session-analyzer-tool/&amp;title=Stompy+%E2%80%93+The+Web+Application+Session+Analyzer+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/2007/03/stompy-the-web-application-session-analyzer-tool/&amp;title=Stompy+%E2%80%93+The+Web+Application+Session+Analyzer+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%2F2007%2F03%2Fstompy-the-web-application-session-analyzer-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/03/stompy-the-web-application-session-analyzer-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

