<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: hashes]]></title>
    <link>http://securityratty.com/tag/hashes</link>
    <description></description>
    <pubDate>Mon, 02 Apr 2007 02:46:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[John Strand - "Advanced Hacking Techniques and Defenses" (and demos of evilgrade/passing the hash/msfpayload) from Louisville Infosec 2008]]></title>
      <link>http://securityratty.com/article/e6411fe452b9021fd4b58bf9559f9797</link>
      <guid>http://securityratty.com/article/e6411fe452b9021fd4b58bf9559f9797</guid>
      <description><![CDATA[John Strand - &quot;Advanced Hacking Techniques and Defenses&quot; (and demos of evilgrade/passing the hash/msfpayload) from Louisville Infosec 2008 John Strand gave this presentation for the Kentuckiana ISSA...]]></description>
      <content:encoded><![CDATA[<a href="http://www.irongeek.com/i.php?page=videos/john-strand-advanced-hacking-techniques-and-defenses-and-demos-of-evilgrade-passing-the-hash-msfpayload-from-louisville-infosec-2008">John Strand - "Advanced Hacking Techniques and Defenses" (and demos of evilgrade/passing the hash/msfpayload) from Louisville Infosec 2008</a><br/>John Strand gave this presentation for the <a href="http://www.issa-kentuckiana.org/">Kentuckiana ISSA</a> at the Louisville Infosec 2008 conference. He gives a fascinating talk about why "security in depth" is dead, and lives again. John then goes on to demo Evilgrade, using msfpayload and obscuring it against signature based malware detection, dumping SAM hashes with the Metasploit Meterpreter and using a patched Samba client to pass the hash and compromise a system. I'd like to thank John for letting me record his talk.
<p><a href="http://feedads.googleadservices.com/~a/0LzHo_0DHLsCQY7GkitmfnbS7Zg/a"><img src="http://feedads.googleadservices.com/~a/0LzHo_0DHLsCQY7GkitmfnbS7Zg/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/IrongeeksSecuritySite/~4/WiXcZ3wY5Ls" height="1" width="1"/>]]></content:encoded>
      <pubDate>Sat, 11 Oct 2008 12:08:29 +0000</pubDate>
      <category domain="http://securityratty.com/tag/john strand">john strand</category>
      <category domain="http://securityratty.com/tag/john">john</category>
      <category domain="http://securityratty.com/tag/louisville infosec">louisville infosec</category>
      <category domain="http://securityratty.com/tag/msfpayload">msfpayload</category>
      <category domain="http://securityratty.com/tag/demo evilgrade">demo evilgrade</category>
      <category domain="http://securityratty.com/tag/defenses">defenses</category>
      <category domain="http://securityratty.com/tag/samba client">samba client</category>
      <category domain="http://securityratty.com/tag/demos">demos</category>
      <category domain="http://securityratty.com/tag/sam hashes">sam hashes</category>
      <source url="http://feedproxy.google.com/~r/IrongeeksSecuritySite/~3/WiXcZ3wY5Ls/i.php">John Strand - "Advanced Hacking Techniques and Defenses" (and demos of evilgrade/passing the hash/msfpayload) from Louisville Infosec 2008</source>
    </item>
    <item>
      <title><![CDATA[Weak Hashing Algorithms: Outlook PST file CRC32 password cracking example]]></title>
      <link>http://securityratty.com/article/41557eac24091743b5c3bae52439c7e1</link>
      <guid>http://securityratty.com/article/41557eac24091743b5c3bae52439c7e1</guid>
      <description><![CDATA[New Video: Weak Hashing Algorithms: Outlook PST file CRC32 password cracking example
In a previous video I explained the basics of cryptographic hashes. Go watch &quot; A Brief Intro To Cryptographic...]]></description>
      <content:encoded><![CDATA[New Video: <a href="http://www.irongeek.com/i.php?page=videos/weak-hashing-algorithms-outlook-pst-file-crc32-password-cracking-example">Weak Hashing Algorithms: Outlook PST file CRC32 password cracking example</a>
<br>
In a previous video I explained the basics of cryptographic hashes. Go watch "<a href="http://www.irongeek.com/i.php?page=videos/cryptographic-hash-md5">A Brief Intro To Cryptographic Hashes/MD5</a>&quot; 
before this video. In this tutorial, I’ll be giving an example of why weak 
hashes are bad. The example I'll be using is the CRC32 hash that Outlook uses to store a PST archive’s password with. The CRC32 algorithm as implemented by 
Microsoft Outlook is easy to generate hash collisions for, so even if you can’t 
find the original password you can find an alternate one that works just as 
well.
<p><a href="http://feedads.googleadservices.com/~a/IN8Z9LKNN91IRh9EO3k6Tk2ZQGs/a"><img src="http://feedads.googleadservices.com/~a/IN8Z9LKNN91IRh9EO3k6Tk2ZQGs/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/IrongeeksSecuritySite/~4/eWNtHYTPMiQ" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 30 Sep 2008 20:18:44 +0000</pubDate>
      <category domain="http://securityratty.com/tag/weak">weak</category>
      <category domain="http://securityratty.com/tag/outlook">outlook</category>
      <category domain="http://securityratty.com/tag/video">video</category>
      <category domain="http://securityratty.com/tag/previous video">previous video</category>
      <category domain="http://securityratty.com/tag/weak hashes">weak hashes</category>
      <category domain="http://securityratty.com/tag/pst archives password">pst archives password</category>
      <category domain="http://securityratty.com/tag/microsoft outlook">microsoft outlook</category>
      <category domain="http://securityratty.com/tag/algorithms">algorithms</category>
      <category domain="http://securityratty.com/tag/crc32 hash">crc32 hash</category>
      <source url="http://feedproxy.google.com/~r/IrongeeksSecuritySite/~3/eWNtHYTPMiQ/i.php">Weak Hashing Algorithms: Outlook PST file CRC32 password cracking example</source>
    </item>
    <item>
      <title><![CDATA[Blamestorming]]></title>
      <link>http://securityratty.com/article/95618fa2d7ec7b889e72d37343245d7a</link>
      <guid>http://securityratty.com/article/95618fa2d7ec7b889e72d37343245d7a</guid>
      <description><![CDATA[So, let's recap the sequence of events
The Sun-Sentinel newspaper in Fort Lauderdale accidentally republishes a six-year-old news story about the bankruptcy of UAL. It wasn't on the home page, but...]]></description>
      <content:encoded><![CDATA[<p>So, let's recap the sequence of events:</p>  <ol>   <li>The <em>Sun-Sentinel</em> newspaper in Fort Lauderdale accidentally republishes a six-year-old news story about the bankruptcy of UAL. It wasn't on the home page, but instead buried somewhere inside the web site. </li>    <li>Google's news crawler (an automated thing, remember) finds the story and incorporates it as part of its news feed. </li>    <li>Investors see the story, and immediately react. When UAL's stock <a href="http://money.cnn.com/2008/09/08/news/companies/united_airlines/index.htm" target="_blank">plunged 76% to a low of $3</a>, Nasdaq shut down trading. Eventually trading resumed, and the stock closed at just under $11, losing about 11%. </li>    <li>United blamed Tribune Company (the owner of the <em>Sun-Sentinel</em>) for <a href="http://www.cnbc.com/id/26608126" target="_blank">&quot;irresponsibly&quot; changing the date</a> on the story and <a href="http://media.corporate-ir.net/media_files/irol/83/83680/articles/bankruptcy_statementFINAL2.pdf" target="_blank">demanded a retraction</a>. </li>    <li>Tribune Company blamed Google, claiming they've <a href="http://www.eweek.com/c/a/Search-Engines/Tribune-Blames-Google-for-UAL-Bankruptcy-Story/?kc=rss" target="_blank">had issues</a> with Google's crawler &quot;for months.&quot; </li> </ol>  <p>Who will blame be shifted to next?</p>  <p>Look -- if people haven't realized by now that the Internet pretty much <a href="http://www.archive.org/index.php" target="_blank">lacks a delete function</a>, then (IMNSHO) it becomes the requirement of <em>each and every one of us</em> to pay close attention to what we're reading, to use our own big brains and fine-tuned bullshit detectors to suss out whether something makes sense.</p>  <p>Since this is my blog, I'm going to parcel out blame the way I see it:</p>  <ul>   <li><strong>United: 0%.</strong> If the concept of &quot;negative blame&quot; made any sense, then I'd actually write <strong>&#8722;&#8734;</strong> (that's a negative infinity, in case your character set is different than mine). </li>    <li><strong>Google: 5%.</strong> How can an automated crawler know that a newly-dated story isn't really new? Well, those folks over there at Google are smart. Certainly it shouldn't be that difficult to compare a &quot;new&quot; article against existing ones. Content hashes won't work as a comparison tool, because the date would be included in the hash computation, thus making the hashes different anyway. Full-text comparisons? Sure, it would take a lot of horsepower. Perhaps not every &quot;new&quot; story needs comparison, but at least the crawler could submit to the comparator any stories that ought to be verified (say those with the word &quot;bankruptcy&quot; in them). </li>    <li><strong>Tribune Company: 30%.</strong> Hey guys, <em>you changed the date on the article.</em> Don't go blaming someone else for your screw-up. </li>    <li><strong>Investors: 65%.</strong> If you're using an automated news aggregator (remember, an aggregator is not a <em>source</em> of news) to make major financial decisions -- decisions that affect the livelihoods of thousands (maybe millions) of people -- well, you're a moron. You should know that incorrect information can be just as instantly available as correct information. Verify potentially damaging claims before engaging in reckless behavior. </li> </ul>  <p>What's this got to do with security? I don't know, maybe nothing directly related. But it certainly raises the question -- what if someone intentionally wanted to cause nearly permanent damage to a person or a corporation? Malicious content, disguised as &quot;news,&quot; certainly seems to have become a potentially successful attack vector this week.</p>  <p>Worried about a social engineering attack on a massive scale? I suspect that what happened Monday (8 September) <em>was</em> the largest social engineering attack in history -- although I wouldn't classify it as intentionally malicious. Just you wait until the <a href="http://en.wikipedia.org/wiki/Meme" target="_blank">idea spreads</a>.</p><img src="http://blogs.technet.com/aggbug.aspx?PostID=3122810" width="1" height="1">]]></content:encoded>
      <pubDate>Fri, 12 Sep 2008 02:03:42 +0000</pubDate>
      <category domain="http://securityratty.com/tag/news">news</category>
      <category domain="http://securityratty.com/tag/news aggregator">news aggregator</category>
      <category domain="http://securityratty.com/tag/news feed">news feed</category>
      <category domain="http://securityratty.com/tag/six-year-old news story">six-year-old news story</category>
      <category domain="http://securityratty.com/tag/story">story</category>
      <category domain="http://securityratty.com/tag/news crawler">news crawler</category>
      <category domain="http://securityratty.com/tag/tribune company">tribune company</category>
      <category domain="http://securityratty.com/tag/google">google</category>
      <category domain="http://securityratty.com/tag/successful attack vector">successful attack vector</category>
      <source url="http://blogs.technet.com/steriley/archive/2008/09/11/blamestorming.aspx">Blamestorming</source>
    </item>
    <item>
      <title><![CDATA[Stealing Password Hashes with Java and IE]]></title>
      <link>http://securityratty.com/article/8194d6ab09a249e970bed5125521056a</link>
      <guid>http://securityratty.com/article/8194d6ab09a249e970bed5125521056a</guid>
      <description><![CDATA[OK, I read a lot, I mean a lot on a regular basis. There is a lot of tripe floating about the tubes of the internet and Im always pleased to read a new posting from several folks who buck that trend....]]></description>
      <content:encoded><![CDATA[<p>OK, I read a lot, I mean <b>a lot</b> on a regular basis. There is a lot of tripe floating about the tubes of the internet and I&#8217;m always pleased to read a new posting from several folks who buck that trend. Among which I count John Heasman. He has a great new post on his site about stealing password hashes with Java and Internet Exploder.</p>
<p>From Aut Disce, Aut Discede:</p>
<blockquote><p>Consider for a moment the state of client-side bugs 5 or 6 years ago. Attacks such as this, a multi-stage miscellany of IE and Mediaplayer bugs that resulted in the &#8220;silent delivery and installation of an executable on the target computer, no client input other than viewing a web page&#8221; were reported with regularity. Gradually these type of attack gave way to exploitation of direct browser implementation flaws such as the IFRAME overflow and DHTML memory corruption flaws. So what has become of the multi-stage attacks - have they become redundant? The answer to this, which I&#8217;m sure you can guess, is a resounding &#8220;no&#8221; and will be emphatically demonstrated in my upcoming Black Hat talk &#8220;The Internet is Broken: Beyond Document.Cookie - Extreme Client Side Exploitation&#8221;, a joint double session presentation co-presented by Billy Rios, Nate McFeters and Rob Carter.</p>
<p>As a teaser for that, I&#8217;m going to revisit an old attack - pre-computed dictionary attacks on NTLM - and discuss how we can steal domain credentials from the Internet with a bit of help from Java. I&#8217;m going to split it into two posts. In this post we&#8217;ll apply the attack to Windows XP (a fully patched SP3 with IE7). In my next post we&#8217;ll consider its impact on Windows Vista.</p></blockquote>
<p>For the full article read on.</p>
<p>Why are you still here? Go read it. </p>
<p> <img src='http://www.liquidmatrix.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://heasman.blogspot.com/2008/06/stealing-password-hashes-with-java-and.html">Article Link</a></p>

<p><a href="http://feeds.feedburner.com/~a/Liquidmatrix?a=kFHS3D"><img src="http://feeds.feedburner.com/~a/Liquidmatrix?i=kFHS3D" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Liquidmatrix?a=jii6HI"><img src="http://feeds.feedburner.com/~f/Liquidmatrix?i=jii6HI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Liquidmatrix?a=fcDSai"><img src="http://feeds.feedburner.com/~f/Liquidmatrix?i=fcDSai" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Liquidmatrix?a=h9BNei"><img src="http://feeds.feedburner.com/~f/Liquidmatrix?i=h9BNei" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Liquidmatrix?a=zcteYi"><img src="http://feeds.feedburner.com/~f/Liquidmatrix?i=zcteYi" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Liquidmatrix?a=1UYjFi"><img src="http://feeds.feedburner.com/~f/Liquidmatrix?i=1UYjFi" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Liquidmatrix/~4/307957636" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 09 Jun 2008 07:34:54 +0000</pubDate>
      <category domain="http://securityratty.com/tag/attacks">attacks</category>
      <category domain="http://securityratty.com/tag/internet exploder">internet exploder</category>
      <category domain="http://securityratty.com/tag/internet">internet</category>
      <category domain="http://securityratty.com/tag/dictionary attacks">dictionary attacks</category>
      <category domain="http://securityratty.com/tag/password hashes">password hashes</category>
      <category domain="http://securityratty.com/tag/java">java</category>
      <category domain="http://securityratty.com/tag/windows">windows</category>
      <category domain="http://securityratty.com/tag/post">post</category>
      <category domain="http://securityratty.com/tag/article link">article link</category>
      <source url="http://feeds.feedburner.com/~r/Liquidmatrix/~3/307957636/">Stealing Password Hashes with Java and IE</source>
    </item>
    <item>
      <title><![CDATA[A Brief Intro To Cryptographic Hashes/MD5]]></title>
      <link>http://securityratty.com/article/acf1f762820b5cf2109040052e884e8f</link>
      <guid>http://securityratty.com/article/acf1f762820b5cf2109040052e884e8f</guid>
      <description><![CDATA[New Video: A Brief Intro To Cryptographic Hashes/MD5
A cryptographic hash function takes an input and returns a fixed size string that corresponds to it, called a hash. Cryptographic hashes have a lot...]]></description>
      <content:encoded><![CDATA[<b>New Video:</b>
<a href="http://irongeek.com/i.php?page=videos/cryptographic-hash-md5">A Brief Intro To Cryptographic Hashes/MD5</a><br>
A cryptographic hash function takes an input and returns a fixed size string 
that corresponds to it, called a hash. Cryptographic hashes have a lot of uses, 
some of which are: detecting data changes, storing or generating passwords, 
making unique keys in databases and ensuring message integrity. This video will 
mostly cover detecting file changes, but I hope it gets your mind going in the 
right direction for how hashes can be used. Specifically covered will be tools 
for creating MD5 hashes in Windows and Linux.]]></content:encoded>
      <pubDate>Sat, 10 May 2008 16:33:02 +0000</pubDate>
      <category domain="http://securityratty.com/tag/cryptographic hashes">cryptographic hashes</category>
      <category domain="http://securityratty.com/tag/hashes">hashes</category>
      <category domain="http://securityratty.com/tag/md5 hashes">md5 hashes</category>
      <category domain="http://securityratty.com/tag/message integrity">message integrity</category>
      <category domain="http://securityratty.com/tag/video">video</category>
      <category domain="http://securityratty.com/tag/unique keys">unique keys</category>
      <category domain="http://securityratty.com/tag/intro">intro</category>
      <category domain="http://securityratty.com/tag/cryptographic hashesmd5">cryptographic hashesmd5</category>
      <category domain="http://securityratty.com/tag/lot">lot</category>
      <source url="http://irongeek.com/i.php?page=videos/cryptographic-hash-md5">A Brief Intro To Cryptographic Hashes/MD5</source>
    </item>
    <item>
      <title><![CDATA[A Brief Intro To Cryptographic Hashes/MD5]]></title>
      <link>http://securityratty.com/article/784d96d99e3dc7dfceca234114b24228</link>
      <guid>http://securityratty.com/article/784d96d99e3dc7dfceca234114b24228</guid>
      <description><![CDATA[New Video: A Brief Intro To Cryptographic Hashes/MD5
A cryptographic hash function takes an input and returns a fixed size string that corresponds to it, called a hash. Cryptographic hashes have a lot...]]></description>
      <content:encoded><![CDATA[<b>New Video:</b>
<a href="http://irongeek.com/i.php?page=videos/cryptographic-hash-md5">A Brief Intro To Cryptographic Hashes/MD5</a><br>
A cryptographic hash function takes an input and returns a fixed size string 
that corresponds to it, called a hash. Cryptographic hashes have a lot of uses, 
some of which are: detecting data changes, storing or generating passwords, 
making unique keys in databases and ensuring message integrity. This video will 
mostly cover detecting file changes, but I hope it gets your mind going in the 
right direction for how hashes can be used. Specifically covered will be tools 
for creating MD5 hashes in Windows and Linux.
<p><a href="http://feeds.feedburner.com/~a/IrongeeksSecuritySite?a=xcUm34"><img src="http://feeds.feedburner.com/~a/IrongeeksSecuritySite?i=xcUm34" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/IrongeeksSecuritySite/~4/297640136" height="1" width="1"/>]]></content:encoded>
      <pubDate>Sat, 10 May 2008 16:33:02 +0000</pubDate>
      <category domain="http://securityratty.com/tag/cryptographic hashes">cryptographic hashes</category>
      <category domain="http://securityratty.com/tag/hashes">hashes</category>
      <category domain="http://securityratty.com/tag/md5 hashes">md5 hashes</category>
      <category domain="http://securityratty.com/tag/message integrity">message integrity</category>
      <category domain="http://securityratty.com/tag/video">video</category>
      <category domain="http://securityratty.com/tag/unique keys">unique keys</category>
      <category domain="http://securityratty.com/tag/intro">intro</category>
      <category domain="http://securityratty.com/tag/cryptographic hashesmd5">cryptographic hashesmd5</category>
      <category domain="http://securityratty.com/tag/lot">lot</category>
      <source url="http://feeds.feedburner.com/~r/IrongeeksSecuritySite/~3/297640136/i.php">A Brief Intro To Cryptographic Hashes/MD5</source>
    </item>
    <item>
      <title><![CDATA[A Brief Intro To Cryptographic Hashes/MD5]]></title>
      <link>http://securityratty.com/article/877a9c237d794fd0e197ee69c1fc2a9c</link>
      <guid>http://securityratty.com/article/877a9c237d794fd0e197ee69c1fc2a9c</guid>
      <description><![CDATA[New Video: A Brief Intro To Cryptographic Hashes/MD5
A cryptographic hash function takes an input and returns a fixed size string that corresponds to it, called a hash. Cryptographic hashes have a lot...]]></description>
      <content:encoded><![CDATA[<b>New Video:</b>
<a href="http://irongeek.com/i.php?page=videos/cryptographic-hash-md5">A Brief Intro To Cryptographic Hashes/MD5</a><br>
A cryptographic hash function takes an input and returns a fixed size string 
that corresponds to it, called a hash. Cryptographic hashes have a lot of uses, 
some of which are: detecting data changes, storing or generating passwords, 
making unique keys in databases and ensuring message integrity. This video will 
mostly cover detecting file changes, but I hope it gets your mind going in the 
right direction for how hashes can be used. Specifically covered will be tools 
for creating MD5 hashes in Windows and Linux.<img src="http://feedproxy.google.com/~r/IrongeeksSecuritySite/~4/FL5rzttBlW4" height="1" width="1"/>]]></content:encoded>
      <pubDate>Sat, 10 May 2008 16:33:02 +0000</pubDate>
      <category domain="http://securityratty.com/tag/cryptographic hashes">cryptographic hashes</category>
      <category domain="http://securityratty.com/tag/hashes">hashes</category>
      <category domain="http://securityratty.com/tag/md5 hashes">md5 hashes</category>
      <category domain="http://securityratty.com/tag/message integrity">message integrity</category>
      <category domain="http://securityratty.com/tag/video">video</category>
      <category domain="http://securityratty.com/tag/unique keys">unique keys</category>
      <category domain="http://securityratty.com/tag/intro">intro</category>
      <category domain="http://securityratty.com/tag/cryptographic hashesmd5">cryptographic hashesmd5</category>
      <category domain="http://securityratty.com/tag/lot">lot</category>
      <source url="http://feedproxy.google.com/~r/IrongeeksSecuritySite/~3/FL5rzttBlW4/i.php">A Brief Intro To Cryptographic Hashes/MD5</source>
    </item>
    <item>
      <title><![CDATA[Squirreling Backdoors Into Distribution Points]]></title>
      <link>http://securityratty.com/article/d8ef44e03fe98fc6621007c7b84ad026</link>
      <guid>http://securityratty.com/article/d8ef44e03fe98fc6621007c7b84ad026</guid>
      <description><![CDATA[So it seems that SquirrelMail 1.4.11 and 1.4.12 were recently backdoored. Similar to some high-profile backdoors in the past, this was done by modifying the distribution tarball on rather than...]]></description>
      <content:encoded><![CDATA[<p>So it seems that <a href="http://www.squirrelmail.org/">SquirrelMail</a> 1.4.11 and 1.4.12 were recently backdoored.  Similar to some high-profile backdoors in the past, this was done by modifying the distribution tarball on rather than infiltrating the source code repository <a href="#_ftnref1">[1]</a>.  In this case, the backdoor was detected when a user noticed that the MD5 published on SquirrelMail&#8217;s website didn&#8217;t match the calculated MD5 from the SourceForge distribution.  </p>
<p>Since the SVN repository remained intact, we can&#8217;t go back and examine the backdoor in detail.  However, we do have a <a href="http://article.gmane.org/gmane.mail.squirrelmail.user/33501">newsgroup posting</a> that sheds a little light on the situation:</p>
<blockquote><p>
> What diff do you see between the compromised version and<br />
> the one that is there now? I see only a comment diff in one file.</p>
<p>it was a small block of code that checks for a $_SERVER var.  If that var was present, it would redefine SM_PATH.  Under normal circumstances, this would never be executed, but we have since learned how to make it execute.
</p></blockquote>
<p>In PHP, $_SERVER is an array populated by the web server that contains information such as headers, paths, and script locations.  This includes some user-supplied input such as the URL query string and the HTTP headers.  SM_PATH is the filesystem path where SquirrelMail is configured to be run from.  So once an attacker controls SM_PATH, it&#8217;s likely that a subsequent call to <a href="http://us2.php.net/manual/en/function.include.php">include()</a> can be exploited to fetch and execute PHP code from a remote server.  This is a typical example of a <a href="http://www.owasp.org/index.php/Top_10_2007-A3">Remote File Include</a> vulnerability.</p>
<p>Note that the attacker <a href="http://article.gmane.org/gmane.mail.squirrelmail.user/33519">backdoored the 1.5.1 distribution</a> as well, with the same type of vulnerability but at a different location in the codebase.</p>
<p>I think what&#8217;s most interesting to me about this is that so many open source projects still rely on MD5 hashes for integrity checking.  The minute the <a href="http://eprint.iacr.org/2004/199">Xiaoyun Wang paper on MD5 collisions</a> was released, every security practitioner in the world considered MD5 unsafe from that point forward.  Even though practical attacks had not yet been formulated, the writing was on the wall.  Unfortunately, the rest of the world either didn&#8217;t notice or didn&#8217;t care.</p>
<p>Cryptographers have since developed increasingly sophisticated attacks stemming from Wang&#8217;s original work.  Recently, researchers in the Netherlands demonstrated two examples of <a href="http://www.win.tue.nl/hashclash/SoftIntCodeSign/">chosen-prefix</a> <a href="http://www.win.tue.nl/hashclash/Nostradamus/">attacks</a> which would make it possible for an attacker to take two tarballs (one original, one backdoored) and append a series of bytes to each that result in both files having the same MD5 hash.  This proves beyond a shadow of a doubt that MD5 is not an effective method for verifying software integrity.  There was hardly any doubt that this attack would surface eventually, so why is MD5 still in such widespread usage?</p>
<p>Cryptographic weaknesses aside, a lot of people completely miss the mark with hashes.  MD5 or SHA-1 (or any hash function) are not very effective if the only way a user can verify them is on the same website where the download is hosted.  If the download point is compromised, chances are the attacker can modify the hashes printed on the website too.  Even when it&#8217;s done correctly, hashes only help identify when the distribution point is compromised.  It does nothing to protect against source code compromise or vulnerabilities in the development tool chain.</p>
<hr width="33%" size="1" align="left" /><a name="_ftnref1"></a>[1] <a href="http://www.veracode.com/images/stories/static-detection-of-backdoors-1.0.pdf">Static Detection of Backdoors</a>, Chris Wysopal and Chris Eng, 2007.</p>
<p><a name="_ftnref2"></a></p>
]]></content:encoded>
      <pubDate>Wed, 19 Dec 2007 19:16:35 +0000</pubDate>
      <category domain="http://securityratty.com/tag/md5 collisions">md5 collisions</category>
      <category domain="http://securityratty.com/tag/md5">md5</category>
      <category domain="http://securityratty.com/tag/md5 hashes">md5 hashes</category>
      <category domain="http://securityratty.com/tag/distribution">distribution</category>
      <category domain="http://securityratty.com/tag/php">php</category>
      <category domain="http://securityratty.com/tag/execute php code">execute php code</category>
      <category domain="http://securityratty.com/tag/execute">execute</category>
      <category domain="http://securityratty.com/tag/code">code</category>
      <category domain="http://securityratty.com/tag/md5 unsafe">md5 unsafe</category>
      <source url="http://www.veracode.com/blog/?p=73">Squirreling Backdoors Into Distribution Points</source>
    </item>
    <item>
      <title><![CDATA[Encryption Presentation - .NET Developers Group - NYC Microsoft Offices - June 21st]]></title>
      <link>http://securityratty.com/article/94656caed39af9829462fd075056cb72</link>
      <guid>http://securityratty.com/article/94656caed39af9829462fd075056cb72</guid>
      <description><![CDATA[For those of you in NYC or the surrounding area, I will be doing a presentation on encryption at the .NET Developers Group on Thursday, June 21, 2007 . Its a similar presentation to the one Ive done...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial">For those of you in NYC or the surrounding area, I will be doing a presentation on encryption at the <A href="http://www.nycdotnetdev.com/EventDetail.aspx?f=list&amp;event=6/21/2007"><FONT color=#800080>.NET Developers Group on Thursday, June 21, 2007</FONT></A>. <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>It&#8217;s a similar presentation to the one I&#8217;ve done for a number of user groups in the Southeast.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>I made this presentation as a response to the flood of online code snippets for encrypting data.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>While they are all fairly easy to use, they don&#8217;t explain what they do and often developers think their data is more secure than it actually is.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial">During the presentation, we&#8217;ll quickly cover some high level encryption basics (asymmetric, symmetric, and one way hashes), but will spend most of our time dealing with symmetric encryption; namely how and why you configure a symmetric algorithm to encrypt the data (ECB vs. CBC).<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>By the end of the session, you&#8217;ll finally understand what an initialization vector (IV) is used for and the proper way to create and store it.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial">Don&#8217;t worry if you don&#8217;t understand what half of that meant.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>I&#8217;ll be sure to explain everything as we go along.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial">You can also find a fair amount of the content from the presentation <A href="http://marvets.com/blog/archive/2005/06/10/193.aspx">here</A> in an article I wrote a while back.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial"><SPAN style="mso-spacerun: yes"></SPAN><o:p></o:p></SPAN>&nbsp;</P><img src ="http://marvets.com/blog/aggbug/2010.aspx" width = "1" height = "1" />]]></content:encoded>
      <pubDate>Mon, 02 Apr 2007 02:46:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/encryption">encryption</category>
      <category domain="http://securityratty.com/tag/presentation">presentation</category>
      <category domain="http://securityratty.com/tag/level encryption basics">level encryption basics</category>
      <category domain="http://securityratty.com/tag/similar presentation">similar presentation</category>
      <category domain="http://securityratty.com/tag/net developers">net developers</category>
      <category domain="http://securityratty.com/tag/developers">developers</category>
      <category domain="http://securityratty.com/tag/symmetric">symmetric</category>
      <category domain="http://securityratty.com/tag/symmetric algorithm">symmetric algorithm</category>
      <category domain="http://securityratty.com/tag/symmetric encryption">symmetric encryption</category>
      <source url="http://marvets.com/blog/archive/2007/04/02/2010.aspx">Encryption Presentation - .NET Developers Group - NYC Microsoft Offices - June 21st</source>
    </item>
  </channel>
</rss>
