<?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>Hack a Day &#187; CA</title>
	<atom:link href="http://hackaday.com/tag/ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackaday.com</link>
	<description>Fresh hacks every day</description>
	<lastBuildDate>Fri, 10 Feb 2012 06:18:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hackaday.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/5560f98f805877b0e332f191cb9e0af3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Hack a Day &#187; CA</title>
		<link>http://hackaday.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hackaday.com/osd.xml" title="Hack a Day" />
	<atom:link rel='hub' href='http://hackaday.com/?pushpress=hub'/>
		<item>
		<title>Black Hat 2009: Breaking SSL with null characters</title>
		<link>http://hackaday.com/2009/07/29/black-hat-2009-breaking-ssl-with-null-characters/</link>
		<comments>http://hackaday.com/2009/07/29/black-hat-2009-breaking-ssl-with-null-characters/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 21:56:18 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[cons]]></category>
		<category><![CDATA[downloads hacks]]></category>
		<category><![CDATA[security hacks]]></category>
		<category><![CDATA[Black Hat]]></category>
		<category><![CDATA[black hat 2009]]></category>
		<category><![CDATA[CA]]></category>
		<category><![CDATA[certificate authority]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[moxie marlinspike]]></category>
		<category><![CDATA[nss]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[sslsniff]]></category>
		<category><![CDATA[sslstrip]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=13053</guid>
		<description><![CDATA[Update: The video of [Moxie]&#8216;s presentation is now online. [Moxie Marlinspike] appeared on our radar back in February when he showed sslstrip at Black Hat DC. It was an amazing piece of software that could hijack and rewrite all SSL connections. The differences between a legitimate site and the hijacked ones were very hard to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=13053&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://hackadaycom.files.wordpress.com/2008/08/had-fuzzing-v-statcodeanalysis.jpg?w=450&#038;h=159" border="0" alt="" hspace="4" vspace="4" width="450" height="159" /></p>
<p><strong>Update:</strong> The video of [Moxie]&#8216;s presentation <a href="https://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike">is now online</a>.</p>
<p>[Moxie Marlinspike] appeared on our radar back in February when he showed <a title="sslstrip, hijacking SSL in network  - Hack a Day" href="http://hackaday.com/2009/02/23/sslstrip-hijacking-ssl-in-network/">sslstrip at Black Hat DC</a>. It was an amazing piece of software that could hijack and rewrite all SSL connections. The differences between a legitimate site and the hijacked ones were very hard to notice. He recently stumbled across something thing that makes the attack even more effective.</p>
<p><span id="more-13053"></span></p>
<p>If you apply for a certificate, the certificate authority looks at the common name on the form and contacts the domain owner. The CA ignores the subdomain. The trick is to drop in a null character in the subdomain. If you register, www.paypal.com[null character].thoughtcrime.org, the CA will contact the owner of thoughtcrime.org and issue the cert. When clients like Firefox use NSS to verify the cert, the null character causes them to think the certficate is valid for www.paypal.com because they stop at the null character. Even if the person examines the cert in their browser, it will show www.paypal.com.</p>
<p>Wildcards work as well. You could get a certificate for *[null character].thoughtcrime.org and appear as any site you want. [Moxie] has worked out ways to prevent certificate revocation and browser updates too. This new code will be part of <a title="Moxie Marlinspike &gt;&gt; software &gt;&gt; sslsniff" href="http://www.thoughtcrime.org/software/sslsniff/">sslsniff</a> 0.6.</p>
<p>[Apologies for the odd notation. WordPress apparently strips null characters...]</p>
<br />Posted in cons, downloads hacks, security hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/13053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/13053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/13053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/13053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/13053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/13053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/13053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/13053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/13053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/13053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/13053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/13053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/13053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/13053/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=13053&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/07/29/black-hat-2009-breaking-ssl-with-null-characters/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">RobotSkirts</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/08/had-fuzzing-v-statcodeanalysis.jpg" medium="image" />
	</item>
		<item>
		<title>25C3: Hackers completely break SSL using 200 PS3s</title>
		<link>http://hackaday.com/2008/12/30/25c3-hackers-completely-break-ssl-using-200-ps3s/</link>
		<comments>http://hackaday.com/2008/12/30/25c3-hackers-completely-break-ssl-using-200-ps3s/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 17:40:41 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[cons]]></category>
		<category><![CDATA[security hacks]]></category>
		<category><![CDATA[25c3]]></category>
		<category><![CDATA[alex soritov]]></category>
		<category><![CDATA[berlin]]></category>
		<category><![CDATA[CA]]></category>
		<category><![CDATA[ccc]]></category>
		<category><![CDATA[certificate authority]]></category>
		<category><![CDATA[collision]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[hacker conference]]></category>
		<category><![CDATA[hype]]></category>
		<category><![CDATA[jake apelbaum]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[playstation]]></category>
		<category><![CDATA[playstation 3]]></category>
		<category><![CDATA[rapidssl]]></category>
		<category><![CDATA[sha]]></category>
		<category><![CDATA[sha-1]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=7367</guid>
		<description><![CDATA[A team of security researchers and academics has broken a core piece of internet technology. They made their work public at the 25th Chaos Communication Congress in Berlin today. The team was able to create a rogue certificate authority and use it to issue valid SSL certificates for any site they want. The user would [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=7367&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><img class="size-full wp-image-7368 aligncenter" title="ps31" src="http://hackadaycom.files.wordpress.com/2008/12/ps31.jpg" alt="ps31" width="300" height="400" /></p>
<p>A team of security researchers and academics has broken a core piece of internet technology. They made their work public at the <a title="25c3  - Hack a Day" href="http://hackaday.com/tag/25c3">25th Chaos Communication Congress</a> in Berlin today. The team was able to create a <a title="Creating a rogue CA certificate" href="http://phreedom.org/research/rogue-ca/">rogue certificate authority and use it to issue valid SSL certificates</a> for any site they want. The user would have no indication that their HTTPS connection was being monitored/modified.</p>
<p><span id="more-7367"></span></p>
<p>This attack is possible because of a flaw in MD5. MD5 is a hashing algorithm; each unique file has a unique hash. In 2004, a team of Chinese researchers demonstrated creating two different files that had the same MD5 hash. In 2007, another team showed theoretical attacks that took advantage of these collisions. The team focused on SSL certificates signed with MD5 for their exploit.</p>
<p>The first step was doing some broad scans to see what <a title="Certificate authority - Wikipedia, the free encyclopedia" href="http://en.wikipedia.org/wiki/Certificate_Authority">certificate authorities</a> (CA) were issuing MD5 signed certs. They collected 30K certs from Firefox trusted CAs. 9K of them were MD5 signed. 97% of those came from <a title="SSL Certificate Free SSL Certificates RapidSSL Certificate Authority" href="http://www.rapidssl.com/">RapidSSL</a>.</p>
<p>Having selected their target, the team needed to generate their rogue certificate to transfer the signature to. They employed the processing power of 200 Playstation 3s to get the job done. For this task, it&#8217;s the equivalent of 8000 standard CPU cores or $20K of Amazon EC2 time. The task takes ~1-2 days to calculate. The tricky part was knowing the content of the certificate that would be issued by RapidSSL. They needed to predict two variables: the serial number and the timestamp. RapidSSL&#8217;s serial numbers were all sequential. From testing, they knew that RapidSSL would always sign six seconds after the order was acknowledged. Knowing these two facts they were able to generate a certificate in advance and then purchase the exact certificate they wanted. They&#8217;d purchase certificates to advance the serial number and then buy on the exact time they calculated.</p>
<p>The cert was issued to their particular domain, but since they controlled the content, they changed the flags to make themselves an intermediate certificate authority. That gave them authority to issue any certificate they wanted. All of these &#8216;valid&#8217; certs were signed using SHA-1.</p>
<p>If you set your clock back to before August 2004, you can <a href="http://i.broke.the.internet.and.all.i.got.was.this.t-shirt.phreedom.org/">try out their live demo site</a>. This time is just a security measure for the example and this would work identically with a certificate that hasn&#8217;t expired. There&#8217;s a <a title="Creating a rogue CA certificate" href="http://phreedom.org/research/rogue-ca/">project site</a> and a much <a title="MD5 considered harmful today" href="http://www.win.tue.nl/hashclash/rogue-ca/">more detailed writeup than this</a>.</p>
<p>To fix this vulnerability, all CAs are now using SHA-1 for signing and Microsoft and Firefox will be blacklisting the team&#8217;s rogue CA in their browser products.</p>
<br />Posted in cons, security hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/7367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/7367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/7367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/7367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/7367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/7367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/7367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/7367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/7367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/7367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/7367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/7367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/7367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/7367/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=7367&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/12/30/25c3-hackers-completely-break-ssl-using-200-ps3s/feed/</wfw:commentRss>
		<slash:comments>76</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">RobotSkirts</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/12/ps31.jpg" medium="image">
			<media:title type="html">ps31</media:title>
		</media:content>
	</item>
	</channel>
</rss>
