<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Didier Stevens</title>
	<atom:link href="http://blog.didierstevens.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.didierstevens.com</link>
	<description>(blog 'DidierStevens)</description>
	<lastBuildDate>Thu, 26 Aug 2010 12:11:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.didierstevens.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/60bb50c97cd147341ffb43b0e2ef0d15?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Didier Stevens</title>
		<link>http://blog.didierstevens.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.didierstevens.com/osd.xml" title="Didier Stevens" />
	<atom:link rel='hub' href='http://blog.didierstevens.com/?pushpress=hub'/>
		<item>
		<title>Quickpost: Ariad &amp; DLL Preloading</title>
		<link>http://blog.didierstevens.com/2010/08/26/quickpost-ariad-dll-preloading/</link>
		<comments>http://blog.didierstevens.com/2010/08/26/quickpost-ariad-dll-preloading/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 12:11:11 +0000</pubDate>
		<dc:creator>Didier Stevens</dc:creator>
				<category><![CDATA[My Software]]></category>
		<category><![CDATA[Quickpost]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://blog.didierstevens.com/?p=2267</guid>
		<description><![CDATA[I&#8217;m writing this quickpost just in case you hadn&#8217;t figured this out for yourself: the techniques I described to protect machines from the .LNK vulnerability also help you mitigate the DLL preloading issue. The .LNK vulnerability mitigation examples I gave with Ariad (no file execute) and SRP prevent loading of DLLs from untrusted locations (USB [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2267&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m writing this quickpost just in case you hadn&#8217;t figured this out for yourself: the <a href="http://blog.didierstevens.com/2010/07/18/mitigating-lnk-exploitation-with-ariad/">techniques</a> <a href="http://blog.didierstevens.com/2010/07/20/mitigating-lnk-exploitation-with-srp/">I described</a> to protect machines from the .LNK vulnerability also help you mitigate the <a href="http://blogs.technet.com/b/srd/archive/2010/08/23/more-information-about-dll-preloading-remote-attack-vector.aspx">DLL preloading issue</a>.</p>
<p>The .LNK vulnerability mitigation examples I gave with <a href="http://blog.didierstevens.com/2010/07/18/mitigating-lnk-exploitation-with-ariad/">Ariad (no file execute)</a> and <a href="http://blog.didierstevens.com/2010/07/20/mitigating-lnk-exploitation-with-srp/">SRP</a> prevent loading of DLLs from untrusted locations (USB sticks, network drives, &#8230;). These will also prevent DLLs from loading from untrusted sources in the case of DLL Preloading exploits.</p>
<hr /><a href="http://blog.didierstevens.com/2007/11/01/announcing-quickposts/">Quickpost info</a></p>
<hr />
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/didierstevens.wordpress.com/2267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/didierstevens.wordpress.com/2267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/didierstevens.wordpress.com/2267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/didierstevens.wordpress.com/2267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/didierstevens.wordpress.com/2267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/didierstevens.wordpress.com/2267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/didierstevens.wordpress.com/2267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/didierstevens.wordpress.com/2267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/didierstevens.wordpress.com/2267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/didierstevens.wordpress.com/2267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/didierstevens.wordpress.com/2267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/didierstevens.wordpress.com/2267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/didierstevens.wordpress.com/2267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/didierstevens.wordpress.com/2267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2267&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.didierstevens.com/2010/08/26/quickpost-ariad-dll-preloading/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">didierstevens</media:title>
		</media:content>
	</item>
		<item>
		<title>Quickpost: .LNK Template Update</title>
		<link>http://blog.didierstevens.com/2010/08/18/quickpost-2/</link>
		<comments>http://blog.didierstevens.com/2010/08/18/quickpost-2/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 10:43:38 +0000</pubDate>
		<dc:creator>Didier Stevens</dc:creator>
				<category><![CDATA[My Software]]></category>
		<category><![CDATA[Quickpost]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://blog.didierstevens.com/?p=2261</guid>
		<description><![CDATA[I updated my .LNK template with info I got from comments from WndSks and Forrest Gump. This new version identifies well-known Shell GUIDs: Quickpost info<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2261&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I updated my <a href="http://didierstevens.com/files/software/LNKTemplate.zip">.LNK template</a> with info I got from comments <a href="http://blog.didierstevens.com/2010/08/08/quickpost-2-lnk-tools/">from WndSks and Forrest Gump</a>. This new version identifies well-known Shell GUIDs:</p>
<p><img class="alignnone size-full wp-image-2262" title="20100818-123834" src="http://didierstevens.files.wordpress.com/2010/08/20100818-123834.png?w=632&#038;h=483" alt="" width="632" height="483" /></p>
<hr /><a href="http://blog.didierstevens.com/2007/11/01/announcing-quickposts/">Quickpost info</a></p>
<hr />
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/didierstevens.wordpress.com/2261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/didierstevens.wordpress.com/2261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/didierstevens.wordpress.com/2261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/didierstevens.wordpress.com/2261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/didierstevens.wordpress.com/2261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/didierstevens.wordpress.com/2261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/didierstevens.wordpress.com/2261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/didierstevens.wordpress.com/2261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/didierstevens.wordpress.com/2261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/didierstevens.wordpress.com/2261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/didierstevens.wordpress.com/2261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/didierstevens.wordpress.com/2261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/didierstevens.wordpress.com/2261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/didierstevens.wordpress.com/2261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2261&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.didierstevens.com/2010/08/18/quickpost-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">didierstevens</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/08/20100818-123834.png" medium="image">
			<media:title type="html">20100818-123834</media:title>
		</media:content>
	</item>
		<item>
		<title>Quickpost: 2 .LNK Tools</title>
		<link>http://blog.didierstevens.com/2010/08/08/quickpost-2-lnk-tools/</link>
		<comments>http://blog.didierstevens.com/2010/08/08/quickpost-2-lnk-tools/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 10:52:14 +0000</pubDate>
		<dc:creator>Didier Stevens</dc:creator>
				<category><![CDATA[My Software]]></category>
		<category><![CDATA[Quickpost]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://blog.didierstevens.com/?p=2256</guid>
		<description><![CDATA[Microsoft has issued an emergency patch (MS10-046) for the .LNK file vulnerability (CVE-2010-2568). I&#8217;m releasing two small tools I developed to help me investigate this vulnerability. First one is a 010 Editor template file for the .LNK binary file format. Second one is a ClamAV signature file to find all .LNK shortcuts that load a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2256&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Microsoft has issued an emergency patch (MS10-046) for the .LNK file vulnerability (CVE-2010-2568).</p>
<p>I&#8217;m releasing two small tools I developed to help me investigate this vulnerability.</p>
<p>First one is a <a href="http://didierstevens.com/files/software/LNKTemplate.zip">010 Editor template file for the .LNK binary file format</a>.</p>
<p><img class="alignnone size-full wp-image-2257" title="20100807-155313" src="http://didierstevens.files.wordpress.com/2010/08/20100807-155313.png?w=616&#038;h=497" alt="" width="616" height="497" /><br />
Second one is a <a href="http://didierstevens.com/files/data/LNK-CPL-CVE-2010-2568.zip">ClamAV signature file to find all .LNK shortcuts</a> that load a DLL (malicious or benign).</p>
<p>To scan your drive C, issue command</p>
<pre>clamscan.exe -d LNK-CPL-CVE-2010-2568.ndb -l scan.log -r c:\</pre>
<hr /><a href="http://blog.didierstevens.com/2007/11/01/announcing-quickposts/">Quickpost info</a></p>
<hr />
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/didierstevens.wordpress.com/2256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/didierstevens.wordpress.com/2256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/didierstevens.wordpress.com/2256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/didierstevens.wordpress.com/2256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/didierstevens.wordpress.com/2256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/didierstevens.wordpress.com/2256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/didierstevens.wordpress.com/2256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/didierstevens.wordpress.com/2256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/didierstevens.wordpress.com/2256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/didierstevens.wordpress.com/2256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/didierstevens.wordpress.com/2256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/didierstevens.wordpress.com/2256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/didierstevens.wordpress.com/2256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/didierstevens.wordpress.com/2256/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2256&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.didierstevens.com/2010/08/08/quickpost-2-lnk-tools/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">didierstevens</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/08/20100807-155313.png" medium="image">
			<media:title type="html">20100807-155313</media:title>
		</media:content>
	</item>
		<item>
		<title>Mitigating .LNK Exploitation With SRP</title>
		<link>http://blog.didierstevens.com/2010/07/20/mitigating-lnk-exploitation-with-srp/</link>
		<comments>http://blog.didierstevens.com/2010/07/20/mitigating-lnk-exploitation-with-srp/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 07:13:09 +0000</pubDate>
		<dc:creator>Didier Stevens</dc:creator>
				<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://blog.didierstevens.com/?p=2242</guid>
		<description><![CDATA[As I&#8217;ve used Software Restriction Policies (SRP) on several occasions in my blogposts, and several people have suggested using SRP to protect against .LNK exploitation as an alternative to Ariad, I&#8217;ll describe how to configure SRP for the first time on a workstation that is not a member of a domain. For domain members, you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2242&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;ve used Software Restriction Policies (SRP) on several occasions in my <a href="http://blog.didierstevens.com/?s=srp">blogposts</a>, and several people have suggested using SRP to protect against .LNK exploitation as an alternative to <a href="http://blog.didierstevens.com/2010/07/18/mitigating-lnk-exploitation-with-ariad/">Ariad</a>, I&#8217;ll describe how to configure SRP for the first time on a workstation that is not a member of a domain. For domain members, you have to configure SRP in the GPO on the domain controller.</p>
<p>Start the Local Security Policy manager from Control Panel / Administrative Tools:</p>
<p><img class="alignnone size-full wp-image-2243" title="20100720-083156" src="http://didierstevens.files.wordpress.com/2010/07/20100720-083156.png?w=180&#038;h=73" alt="" width="180" height="73" /></p>
<p>Software Restriction Policies need to be defined the first time:</p>
<p><img class="alignnone size-full wp-image-2244" title="20100720-083430" src="http://didierstevens.files.wordpress.com/2010/07/20100720-083430.png?w=629&#038;h=262" alt="" width="629" height="262" /></p>
<p>We exclude our system drive (C:) from being restricted (add other drives if you have more):</p>
<p><img class="alignnone size-full wp-image-2245" title="20100720-083556" src="http://didierstevens.files.wordpress.com/2010/07/20100720-083556.png?w=552&#038;h=228" alt="" width="552" height="228" /></p>
<p><img class="alignnone size-full wp-image-2246" title="20100720-083726" src="http://didierstevens.files.wordpress.com/2010/07/20100720-083726.png?w=420&#038;h=245" alt="" width="420" height="245" /></p>
<p>To protect against .LNK exploitation, we need to restrict DLLs too, not only EXEs:</p>
<p><img class="alignnone size-full wp-image-2247" title="20100720-083852" src="http://didierstevens.files.wordpress.com/2010/07/20100720-083852.png?w=328&#038;h=156" alt="" width="328" height="156" /></p>
<p><img class="alignnone size-full wp-image-2248" title="20100720-083941" src="http://didierstevens.files.wordpress.com/2010/07/20100720-083941.png?w=420&#038;h=230" alt="" width="420" height="230" /></p>
<p>And finally, switch from blacklisting to whitelisting:</p>
<p><img class="alignnone size-full wp-image-2249" title="20100720-084026" src="http://didierstevens.files.wordpress.com/2010/07/20100720-084026.png?w=656&#038;h=233" alt="" width="656" height="233" /></p>
<p><img class="alignnone size-full wp-image-2250" title="20100720-084056" src="http://didierstevens.files.wordpress.com/2010/07/20100720-084056.png?w=419&#038;h=367" alt="" width="419" height="367" /></p>
<p>After configuring SRP, execute a logoff/logon to apply them immediately.</p>
<p>From now on, only executables on your C: drive will be allowed to run.</p>
<p>.LNK exploitation from removable media is blocked:</p>
<p><img class="alignnone size-full wp-image-2251" title="20100720-084233" src="http://didierstevens.files.wordpress.com/2010/07/20100720-084233.png?w=637&#038;h=445" alt="" width="637" height="445" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/didierstevens.wordpress.com/2242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/didierstevens.wordpress.com/2242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/didierstevens.wordpress.com/2242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/didierstevens.wordpress.com/2242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/didierstevens.wordpress.com/2242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/didierstevens.wordpress.com/2242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/didierstevens.wordpress.com/2242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/didierstevens.wordpress.com/2242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/didierstevens.wordpress.com/2242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/didierstevens.wordpress.com/2242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/didierstevens.wordpress.com/2242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/didierstevens.wordpress.com/2242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/didierstevens.wordpress.com/2242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/didierstevens.wordpress.com/2242/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2242&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.didierstevens.com/2010/07/20/mitigating-lnk-exploitation-with-srp/feed/</wfw:commentRss>
		<slash:comments>60</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">didierstevens</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100720-083156.png" medium="image">
			<media:title type="html">20100720-083156</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100720-083430.png" medium="image">
			<media:title type="html">20100720-083430</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100720-083556.png" medium="image">
			<media:title type="html">20100720-083556</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100720-083726.png" medium="image">
			<media:title type="html">20100720-083726</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100720-083852.png" medium="image">
			<media:title type="html">20100720-083852</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100720-083941.png" medium="image">
			<media:title type="html">20100720-083941</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100720-084026.png" medium="image">
			<media:title type="html">20100720-084026</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100720-084056.png" medium="image">
			<media:title type="html">20100720-084056</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100720-084233.png" medium="image">
			<media:title type="html">20100720-084233</media:title>
		</media:content>
	</item>
		<item>
		<title>Mitigating .LNK Exploitation With Ariad</title>
		<link>http://blog.didierstevens.com/2010/07/18/mitigating-lnk-exploitation-with-ariad/</link>
		<comments>http://blog.didierstevens.com/2010/07/18/mitigating-lnk-exploitation-with-ariad/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 13:42:15 +0000</pubDate>
		<dc:creator>Didier Stevens</dc:creator>
				<category><![CDATA[My Software]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://blog.didierstevens.com/?p=2210</guid>
		<description><![CDATA[Today I tested @Ivanlef0u &#8216;s .LNK PoC with my latest Ariad tool. I adapted the PoC to work on a CD-ROM for drive D. When you load the CD-ROM with the PoC (I use an ISO file inside a VM) and take a look at DbgView&#8217;s output, you&#8217;ll notice that payload gets executed: With Ariad [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2210&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I tested <a href="http://twitter.com/Ivanlef0u/status/18798593581">@Ivanlef0u &#8216;s .LNK PoC</a> with my latest <a href="http://blog.didierstevens.com/programs/ariad">Ariad</a> tool.</p>
<p>I adapted the PoC to work on a CD-ROM for drive D. When you load the CD-ROM with the PoC (I use an ISO file inside a VM) and take a look at DbgView&#8217;s output, you&#8217;ll notice that payload gets executed:</p>
<p><img class="alignnone size-full wp-image-2211" title="20100718-150334" src="http://didierstevens.files.wordpress.com/2010/07/20100718-150334.png?w=656&#038;h=496" alt="" width="656" height="496" /></p>
<p>With Ariad installed on the machine in its default configuration (just block \autorun.inf), the PoC still works:</p>
<p><img class="alignnone size-full wp-image-2214" title="20100718-152236" src="http://didierstevens.files.wordpress.com/2010/07/20100718-152236.png?w=562&#038;h=292" alt="" width="562" height="292" /></p>
<p><img class="alignnone size-full wp-image-2216" title="20100718-152440" src="http://didierstevens.files.wordpress.com/2010/07/20100718-152440.png?w=656&#038;h=496" alt="" width="656" height="496" /></p>
<p>But configuring Ariad to block access to executables (this includes .LNK) prevents the PoC from executing:</p>
<p><img class="alignnone size-full wp-image-2217" title="20100718-152616" src="http://didierstevens.files.wordpress.com/2010/07/20100718-152616.png?w=562&#038;h=292" alt="" width="562" height="292" /><br />
<img class="alignnone size-full wp-image-2218" title="20100718-152745" src="http://didierstevens.files.wordpress.com/2010/07/20100718-152745.png?w=656&#038;h=496" alt="" width="656" height="496" /></p>
<p>Access to the .LNK file is denied, and Windows Explorer can&#8217;t start the payload.</p>
<p>And configuring Ariad to prevent files to be mapped in memory (this is <a href="http://en.wikipedia.org/wiki/Memory-mapped_file">something done by Windows with executables</a>) also prevents the PoC from executing:</p>
<p><img class="alignnone size-full wp-image-2220" title="20100718-152930" src="http://didierstevens.files.wordpress.com/2010/07/20100718-152930.png?w=562&#038;h=292" alt="" width="562" height="292" /><br />
<img class="alignnone size-full wp-image-2221" title="20100718-153042" src="http://didierstevens.files.wordpress.com/2010/07/20100718-153042.png?w=656&#038;h=496" alt="" width="656" height="496" /></p>
<p>This time, access to the .LNK file is not denied, but dll.dll is prevented from loading into memory, thus again preventing the payload from executing.</p>
<p>You can use Ariad if you want to mitigate <a href="http://www.microsoft.com/technet/security/advisory/2286198.mspx">attacks with these shortcut links</a> until Microsoft releases a patch. As it is expected that Microsoft will not release a patch for Windows XP SP2, Ariad can offer permanent mitigation.</p>
<p>Be sure to read <a href="http://blog.didierstevens.com/programs/ariad">Ariad</a>&#8216;s documentation before using it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/didierstevens.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/didierstevens.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/didierstevens.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/didierstevens.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/didierstevens.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/didierstevens.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/didierstevens.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/didierstevens.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/didierstevens.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/didierstevens.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/didierstevens.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/didierstevens.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/didierstevens.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/didierstevens.wordpress.com/2210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2210&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.didierstevens.com/2010/07/18/mitigating-lnk-exploitation-with-ariad/feed/</wfw:commentRss>
		<slash:comments>71</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">didierstevens</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100718-150334.png" medium="image">
			<media:title type="html">20100718-150334</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100718-152236.png" medium="image">
			<media:title type="html">20100718-152236</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100718-152440.png" medium="image">
			<media:title type="html">20100718-152440</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100718-152616.png" medium="image">
			<media:title type="html">20100718-152616</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100718-152745.png" medium="image">
			<media:title type="html">20100718-152745</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100718-152930.png" medium="image">
			<media:title type="html">20100718-152930</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100718-153042.png" medium="image">
			<media:title type="html">20100718-153042</media:title>
		</media:content>
	</item>
		<item>
		<title>The Hex Factor RE Challenge</title>
		<link>http://blog.didierstevens.com/2010/07/15/the-hex-factor-re-challenge/</link>
		<comments>http://blog.didierstevens.com/2010/07/15/the-hex-factor-re-challenge/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 18:11:12 +0000</pubDate>
		<dc:creator>Didier Stevens</dc:creator>
				<category><![CDATA[My Software]]></category>

		<guid isPermaLink="false">http://blog.didierstevens.com/?p=2202</guid>
		<description><![CDATA[Last year for Brucon, I produced some reverse engineering challenges (and I&#8217;m producing new ones for this year&#8217;s edition). The Hex Factor blog posted the solution for level 300. The source code for the challenge can be downloaded here. It&#8217;s completely written in assembler, even the I/O routines. Here&#8217;s a trick I used to create [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2202&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last year for <a href="http://brucon.org">Brucon</a>, I produced some reverse engineering challenges (and I&#8217;m producing new ones for this year&#8217;s edition).</p>
<p>The <a href="http://blog.thehexfactor.org/2010/05/solutions-hex-factor-v2009-level-c300.html">Hex Factor blog posted</a> the solution for level 300.</p>
<p>The source code for the challenge can be downloaded <a href="http://didierstevens.com/files/software/re300.zip">here</a>. It&#8217;s completely written in assembler, even the I/O routines.</p>
<p>Here&#8217;s a trick I used to create your own EXE from assembler code, without any library:</p>
<p>A simple assembly program:</p>
<pre>    BITS 32

    ret</pre>
<p>Assemble with <a href="http://www.nasm.us/">nasm</a>: nasm -f win32 ret.asm -o ret.o</p>
<p>And link with <a href="http://www.mingw.org/">mingw32</a>&#8216;s linker: ld -s ret.o -o ret.exe</p>
<p>Result:</p>
<p><img class="alignnone size-full wp-image-2203" title="20100715-153327" src="http://didierstevens.files.wordpress.com/2010/07/20100715-153327.png?w=529&#038;h=296" alt="" width="529" height="296" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/didierstevens.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/didierstevens.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/didierstevens.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/didierstevens.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/didierstevens.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/didierstevens.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/didierstevens.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/didierstevens.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/didierstevens.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/didierstevens.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/didierstevens.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/didierstevens.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/didierstevens.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/didierstevens.wordpress.com/2202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2202&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.didierstevens.com/2010/07/15/the-hex-factor-re-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">didierstevens</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100715-153327.png" medium="image">
			<media:title type="html">20100715-153327</media:title>
		</media:content>
	</item>
		<item>
		<title>Quickpost: Preventing the /Launch Action &#8220;cmd.exe&#8221; Bypass</title>
		<link>http://blog.didierstevens.com/2010/07/04/quickpost-preventing-the-launch-action-cmd-exe-bypass/</link>
		<comments>http://blog.didierstevens.com/2010/07/04/quickpost-preventing-the-launch-action-cmd-exe-bypass/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 21:20:01 +0000</pubDate>
		<dc:creator>Didier Stevens</dc:creator>
				<category><![CDATA[PDF]]></category>
		<category><![CDATA[Quickpost]]></category>

		<guid isPermaLink="false">http://blog.didierstevens.com/?p=2183</guid>
		<description><![CDATA[Adobe has released a new Adobe Reader version that contains functionality to block my /Launch action PoC, but Bkis found a bypass: just put double quotes around cmd.exe, like this:  &#8220;cmd.exe&#8221;. I did some research and discovered that Adobe implemented a blacklist of extensions for the launch action, but that the blacklisting functionality identifies the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2183&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Adobe has released a new Adobe Reader version that contains functionality to <a href="http://blog.didierstevens.com/2010/06/29/quickpost-no-escape-from-pdf/">block my /Launch action PoC</a>, but <a href="http://blog.bkis.com/en/adobe-fix-still-allows-escape-from-pdf/">Bkis found a bypass</a>: just put double quotes around cmd.exe, like this:  &#8220;cmd.exe&#8221;.</p>
<p><img class="alignnone size-full wp-image-2184" title="20100704-224412" src="http://didierstevens.files.wordpress.com/2010/07/20100704-224412.png?w=478&#038;h=269" alt="" width="478" height="269" /></p>
<p>I did some research and discovered that Adobe implemented a blacklist of extensions for the launch action, but that the blacklisting functionality identifies the file type of &#8220;cmd.exe&#8221; as .exe&#8221;, and not .exe</p>
<p><a href="http://blogs.adobe.com/asset/2010/07/update_on_functionality_change.html">Adobe is aware of the issue</a>, and will evaluate the need to fix the blacklisting functionality.</p>
<p>But meanwhile, you can apply my fix to block launching &#8220;cmd.exe&#8221;.</p>
<p>You can configure the blacklist of extensions via the registry. Go to HKLM\SOFTWARE\Policies\Adobe\<em>product</em>\<em>version</em>\FeatureLockDown\cDefaultLaunchAttachmentPerms and open registry value tBuiltInPermList.</p>
<p><img class="alignnone size-full wp-image-2185" title="20100704-224329" src="http://didierstevens.files.wordpress.com/2010/07/20100704-224329.png?w=544&#038;h=285" alt="" width="544" height="285" /></p>
<p>This is a list of |-separated extensions, together with the action Adobe Reader should take (3 means block the extension). Add .exe&#8221;:3 to block &#8220;cmd.exe&#8221;:</p>
<p><img class="alignnone size-full wp-image-2186" title="20100704-224524" src="http://didierstevens.files.wordpress.com/2010/07/20100704-224524.png?w=400&#038;h=185" alt="" width="400" height="185" /></p>
<p>With this addition, Bkis&#8217; bypass will not work anymore:</p>
<p><img class="alignnone size-full wp-image-2187" title="29-06-2010 20-27-37" src="http://didierstevens.files.wordpress.com/2010/07/29-06-2010-20-27-37.png?w=478&#038;h=223" alt="" width="478" height="223" /></p>
<p>Some further testing shows that adding 2 double quotes is also a way to bypass the blacklist: &#8220;&#8221;cmd.exe&#8221;":</p>
<p><img class="alignnone size-full wp-image-2188" title="20100704-224912" src="http://didierstevens.files.wordpress.com/2010/07/20100704-224912.png?w=478&#038;h=269" alt="" width="478" height="269" /></p>
<p>So we need to block this too:</p>
<p><img class="alignnone size-full wp-image-2189" title="20100704-225019" src="http://didierstevens.files.wordpress.com/2010/07/20100704-225019.png?w=400&#038;h=185" alt="" width="400" height="185" /></p>
<p><img class="alignnone size-full wp-image-2190" title="20100704-225040" src="http://didierstevens.files.wordpress.com/2010/07/20100704-225040.png?w=478&#038;h=223" alt="" width="478" height="223" /></p>
<p>I tested 3 and 4 quotes too, but this is not accepted by Adobe Reader. But should there still be other valid characters to append to the extension, you can block them in the same way as I showed here, until Adobe fixes the blacklist functionality.</p>
<hr /><a href="http://blog.didierstevens.com/2007/11/01/announcing-quickposts/">Quickpost info</a></p>
<hr />
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/didierstevens.wordpress.com/2183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/didierstevens.wordpress.com/2183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/didierstevens.wordpress.com/2183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/didierstevens.wordpress.com/2183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/didierstevens.wordpress.com/2183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/didierstevens.wordpress.com/2183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/didierstevens.wordpress.com/2183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/didierstevens.wordpress.com/2183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/didierstevens.wordpress.com/2183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/didierstevens.wordpress.com/2183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/didierstevens.wordpress.com/2183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/didierstevens.wordpress.com/2183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/didierstevens.wordpress.com/2183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/didierstevens.wordpress.com/2183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2183&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.didierstevens.com/2010/07/04/quickpost-preventing-the-launch-action-cmd-exe-bypass/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">didierstevens</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100704-224412.png" medium="image">
			<media:title type="html">20100704-224412</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100704-224329.png" medium="image">
			<media:title type="html">20100704-224329</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100704-224524.png" medium="image">
			<media:title type="html">20100704-224524</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/29-06-2010-20-27-37.png" medium="image">
			<media:title type="html">29-06-2010 20-27-37</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100704-224912.png" medium="image">
			<media:title type="html">20100704-224912</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100704-225019.png" medium="image">
			<media:title type="html">20100704-225019</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/07/20100704-225040.png" medium="image">
			<media:title type="html">20100704-225040</media:title>
		</media:content>
	</item>
		<item>
		<title>Quickpost: No Escape From PDF</title>
		<link>http://blog.didierstevens.com/2010/06/29/quickpost-no-escape-from-pdf/</link>
		<comments>http://blog.didierstevens.com/2010/06/29/quickpost-no-escape-from-pdf/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 18:41:31 +0000</pubDate>
		<dc:creator>Didier Stevens</dc:creator>
				<category><![CDATA[PDF]]></category>
		<category><![CDATA[Quickpost]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://blog.didierstevens.com/?p=2178</guid>
		<description><![CDATA[Adobe has released a new Adobe Reader version with a fix for my /Launch action PoC PDF. Before version 9.3.3: Since version 9.3.3: Not only is the dialog box fixed, but the /Launch action is also disabled by default. Quickpost info<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2178&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Adobe has released a new Adobe Reader version with a fix for <a href="http://blog.didierstevens.com/2010/03/29/escape-from-pdf/">my /Launch action PoC PDF</a>.</p>
<p>Before version 9.3.3:</p>
<p><img class="alignnone size-full wp-image-2099" title="20100329-211313" src="http://didierstevens.files.wordpress.com/2010/03/20100329-211313.png?w=478&#038;h=262" alt="" width="478" height="262" /></p>
<p>Since version 9.3.3:</p>
<p><img class="alignnone size-full wp-image-2179" title="29-06-2010 20-27-37" src="http://didierstevens.files.wordpress.com/2010/06/29-06-2010-20-27-37.png?w=478&#038;h=223" alt="" width="478" height="223" /></p>
<p>Not only is the dialog box fixed, but the /Launch action is also disabled by default.</p>
<hr /><a href="http://blog.didierstevens.com/2007/11/01/announcing-quickposts/">Quickpost info</a></p>
<hr />
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/didierstevens.wordpress.com/2178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/didierstevens.wordpress.com/2178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/didierstevens.wordpress.com/2178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/didierstevens.wordpress.com/2178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/didierstevens.wordpress.com/2178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/didierstevens.wordpress.com/2178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/didierstevens.wordpress.com/2178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/didierstevens.wordpress.com/2178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/didierstevens.wordpress.com/2178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/didierstevens.wordpress.com/2178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/didierstevens.wordpress.com/2178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/didierstevens.wordpress.com/2178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/didierstevens.wordpress.com/2178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/didierstevens.wordpress.com/2178/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2178&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.didierstevens.com/2010/06/29/quickpost-no-escape-from-pdf/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">didierstevens</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/03/20100329-211313.png" medium="image">
			<media:title type="html">20100329-211313</media:title>
		</media:content>

		<media:content url="http://didierstevens.files.wordpress.com/2010/06/29-06-2010-20-27-37.png" medium="image">
			<media:title type="html">29-06-2010 20-27-37</media:title>
		</media:content>
	</item>
		<item>
		<title>Solving the Win7 Puzzle</title>
		<link>http://blog.didierstevens.com/2010/06/25/solving-the-win7-puzzle/</link>
		<comments>http://blog.didierstevens.com/2010/06/25/solving-the-win7-puzzle/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 09:39:10 +0000</pubDate>
		<dc:creator>Didier Stevens</dc:creator>
				<category><![CDATA[PDF]]></category>
		<category><![CDATA[Puzzle]]></category>

		<guid isPermaLink="false">http://blog.didierstevens.com/?p=2169</guid>
		<description><![CDATA[The Win7 puzzle is actually a &#8220;PDF bomb&#8221;, something I&#8217;ve hinted at long ago but I hadn&#8217;t published a sample. The PDF contains a doubly compressed object stream, which is around 100 MB large when uncompressed. Some of you might have experienced problems opening this PDF file in your favorite PDF reader, this is because [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2169&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://blog.didierstevens.com/2010/06/03/a-win7-puzzle/">Win7 puzzle</a> is actually a &#8220;PDF bomb&#8221;, something I&#8217;ve hinted at long ago but I hadn&#8217;t published a sample.</p>
<p>The PDF contains a doubly compressed object stream, which is around 100 MB large when uncompressed. Some of you might have experienced problems opening this PDF file in your favorite PDF reader, this is because it couldn&#8217;t handle an uncompressed stream of 100 MB. Which isn&#8217;t actually that large, a PDF bomb of 1 GB or 10 GB isn&#8217;t that much larger in compressed form&#8230;</p>
<p>If you used my <a href="http://blog.didierstevens.com/programs/pdf-tools/">pdf-parser</a>, you&#8217;ve also encountered a problem. The objects <a href="http://blog.didierstevens.com/2010/05/18/quickpost-more-malformed-pdfs/">lack the endobj keyword</a>. A simple solution: add the missing keyword and extract the stream with my parser. The stream is 100 MB of spaces, with a small text in the middle: &#8220;De Ultieme Hallucinatie&#8221;. One way to extract this text is to trim the spaces of the 100 MB string.</p>
<p>If you&#8217;re interested in different solutions, be sure to read the comments of the <a href="http://blog.didierstevens.com/2010/06/03/a-win7-puzzle/">Win7 Puzzl</a>e.</p>
<p><a href="http://www.ultiemehallucinatie.be/">De Ultieme Hallucinatie</a> (The Ultimate Hallucination) was a nice <a href="http://en.wikipedia.org/wiki/Art_Nouveau">Art Nouveau</a> cafe/restaurant in Brussels. But the Windows 7 Ultimate license won by Vincent is no ultimate hallucination <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/didierstevens.wordpress.com/2169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/didierstevens.wordpress.com/2169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/didierstevens.wordpress.com/2169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/didierstevens.wordpress.com/2169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/didierstevens.wordpress.com/2169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/didierstevens.wordpress.com/2169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/didierstevens.wordpress.com/2169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/didierstevens.wordpress.com/2169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/didierstevens.wordpress.com/2169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/didierstevens.wordpress.com/2169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/didierstevens.wordpress.com/2169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/didierstevens.wordpress.com/2169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/didierstevens.wordpress.com/2169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/didierstevens.wordpress.com/2169/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2169&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.didierstevens.com/2010/06/25/solving-the-win7-puzzle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">didierstevens</media:title>
		</media:content>
	</item>
		<item>
		<title>A Win7 Puzzle&#8230;</title>
		<link>http://blog.didierstevens.com/2010/06/03/a-win7-puzzle/</link>
		<comments>http://blog.didierstevens.com/2010/06/03/a-win7-puzzle/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 20:15:37 +0000</pubDate>
		<dc:creator>Didier Stevens</dc:creator>
				<category><![CDATA[Puzzle]]></category>

		<guid isPermaLink="false">http://blog.didierstevens.com/?p=2164</guid>
		<description><![CDATA[I&#8217;m presenting you a little puzzle&#8230; The prize is a Windows 7 Ultimate license. Unless you don&#8217;t care for Windows, then you get a sticker The puzzle contains a text. Find it and post it in a comment to this post. You don&#8217;t have to be the first with the correct text to win. This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2164&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m presenting you a little puzzle&#8230;</p>
<p>The prize is a Windows 7 Ultimate license. Unless you don&#8217;t care for Windows, then you get a sticker <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>The puzzle contains a text. Find it and post it in a comment to this post. You don&#8217;t have to be the first with the correct text to win. This challenge will run for a week, and I&#8217;m randomly selecting a winner from all the correct entries.</p>
<p>Comments are moderated and will not appear as long as the challenge is on.</p>
<p>Download the <a href="http://didierstevens.com/files/data/win7-puzzle.zip">puzzle</a> and find the text.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/didierstevens.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/didierstevens.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/didierstevens.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/didierstevens.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/didierstevens.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/didierstevens.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/didierstevens.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/didierstevens.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/didierstevens.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/didierstevens.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/didierstevens.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/didierstevens.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/didierstevens.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/didierstevens.wordpress.com/2164/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.didierstevens.com&blog=264765&post=2164&subd=didierstevens&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.didierstevens.com/2010/06/03/a-win7-puzzle/feed/</wfw:commentRss>
		<slash:comments>116</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">didierstevens</media:title>
		</media:content>
	</item>
	</channel>
</rss>