<?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: cipher]]></title>
    <link>http://securityratty.com/tag/cipher</link>
    <description></description>
    <pubDate>Wed, 07 Nov 2007 02:37:47 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[America's Next Top Hash Function Begins]]></title>
      <link>http://securityratty.com/article/782d55dd167bb0c5193cd7724d7e2313</link>
      <guid>http://securityratty.com/article/782d55dd167bb0c5193cd7724d7e2313</guid>
      <description><![CDATA[You might not have realized it, but the next great battle of cryptography began this month. It's not a political battle over export laws or key escrow or NSA eavesdropping, but an academic battle over...]]></description>
      <content:encoded><![CDATA[<p>You might not have realized it, but the next great battle of cryptography began this month. It's not a political battle over export laws or key escrow or NSA eavesdropping, but an academic battle over who gets to be the creator of the next hash standard.</p>

<p>Hash functions are the most commonly used cryptographic primitive, and the most poorly understood. You can think of them as fingerprint functions: They take an arbitrary long data stream and return a fixed length, and effectively unique, string. The security comes from the fact that while it's easy to generate the fingerprint from a file, it's infeasible to go the other way and generate a file given a fingerprint. </p>

<p>Originally created to make digital signatures more efficient, hashes are now used to secure the very fundamentals of our information infrastructure: in password logins, secure web connections, encryption key management, virus and malware scanning, and almost every cryptographic protocol in current use. Without cryptographic hash functions, the internet would simply not work. At the same time, there isn't a good theory of hash functions. Unlike encryption algorithms, there are no secret keys involved; this makes it harder to mathematically define exactly what hash functions are.
</p>

<p>
The National Institute of Standards and Technology, NIST, is <a href="http://csrc.nist.gov/groups/ST/hash/sha-3/index.html">holding a competition</a> to replace the SHA family of hash functions. "SHA" stands for "Secure Hash Algorithm." It was developed by the NSA in 1993 to replace the commercial MD4 and MD5 algorithms, and has been updated several times since then. All the SHA algorithms are very similar, and have been <a href="http://www.schneier.com/blog/archives/2005/02/cryptanalysis_o.html">increasingly under attack</a>, so NIST <a href="http://www.schneier.com/blog/archives/2005/10/nist_hash_works_1.html">wants to replace them</a>.</p>

<p>The competition is important because, unlike other technological standards, committee design &#151; balancing the interests of diverse constituents &#151; isn't conducive to good security. Security is best when it's designed by expert teams and then subjected to public review. And cryptography is best when it's chosen by competition.</p>

<p>In 1997, NIST held a <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard_process">competition</a> for a <a href="http://csrc.nist.gov/archive/aes/index.html">block cipher</a> to replace DES. Fifteen candidates and three-and-a-half years later, Rijndael became the new Advanced Encryption Standard &#151; AES. NIST is doing the same thing for what it's calling SHA-3 (not, for some unexplained reason, the Advanced Hash Standard or AHS).</p>

<p>The deadline was October 31, and NIST received 64 submissions. This isn't surprising &#151; I <a href="http://www.schneier.com/blog/archives/2008/10/the_skein_hash.html">predicted</a> 80 &#151; as most of the 15 AES submitters were professors, whose students at the time have become professors themselves, with their own students. (If NIST does a stream cipher competition in another ten years, they should expect about 256 submissions.) These submissions came from academia, from industry, and from hobbyists. <cite><a href="http://www.cio.com/article/461164/Amateurs_and_Pros_Vie_to_Build_New_Crypto_Standard">CIO magazine</a></cite> recently interviewed one of the submitters, who is 15. Twenty-eight submissions have been made <a href="http://ehash.iaik.tugraz.at/wiki/The_SHA-3_Zoo">public</a> by the submitters, and six of those have been broken.  </p>

<p>NIST is going through all the submissions right now, making sure they are complete and proper. Their goal is to publish all accepted submissions by the end of November, in advance of the <a href="http://csrc.nist.gov/groups/ST/hash/timeline.html">First Hash Function Candidate Conference</a>, to be held in Belgium right after the <a href="https://www.cosic.esat.kuleuven.be/fse2009/index.shtml">Fast Software Encryption workshop</a> in February.  </p>

<p>The group expects to quickly make a first cut of algorithms &#151; hopefully to about a dozen &#151; and give the community a year of cryptanalysis before making a second cut in 2010. After another year of cryptanalysis, NIST will choose a winner in 2011. Expect a final standard by 2012.</p>

<p>My advice for software developers is to let the process run its course. While it's tempting to use the new cool algorithms in your designs, it's far too soon to trust any of them. This process is likely to result in all sorts of new research results in hash function security, and some real cryptanalytic surprises.  Give the community a few years to figure out which ones are good and which aren't.</p>

<p>I've previously called this sort of thing a cryptographic demolition derby: The last one left standing wins. But that's only partially true. Certainly all the groups will spend the next few years trying to cryptanalyze each other, but in the end there will be a bunch of unbroken algorithms. NIST will select one based on performance and features.</p>

<p>NIST has stated that the goal of this process is not to choose the best standard but to choose a good standard. I think that's smart; in this process, the best is the enemy of the good. While there's no rush to choose a new standard &#151; the SHA-2 algorithms will remain secure for the foreseeable future &#151; we don't want to analyze the candidates forever.</p>

<p>Personally, I was part of a group of eight cryptographers that submitted <a href="http://www.schneier.com/skein.html">Skein</a> to the competition. A decade ago, writing <a href="http://www.schneier.com/twofish.html">Twofish</a> and participating in the AES process was the most fun I had ever had in cryptography. These next few years promise to be even more fun.</p>

<p>---</p>

<p><i>Bruce Schneier is chief security technology officer of BT. His new book is </i>Schneier on Security<i>.</i></p><br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=3fb55453a3600c210940457d550e67ec" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=3fb55453a3600c210940457d550e67ec" style="display: none;" border="0" height="1" width="1" alt=""/><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=AfuoN"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=AfuoN" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=1WcCn"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=1WcCn" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=dcuSn"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=dcuSn" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=6jt5N"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=6jt5N" border="0"></img></a>
 <a href="http://feeds.wired.com/~f/wired/politics/security?a=yYWDN"><img src="http://feeds.wired.com/~f/wired/politics/security?i=yYWDN" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=yrdIn"><img src="http://feeds.wired.com/~f/wired/politics/security?i=yrdIn" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=CF0Rn"><img src="http://feeds.wired.com/~f/wired/politics/security?i=CF0Rn" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=l83kN"><img src="http://feeds.wired.com/~f/wired/politics/security?i=l83kN" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/wired/politics/privacy/~4/459059854" height="1" width="1"/><img src="http://feeds.wired.com/~r/wired/politics/security/~4/459059855" height="1" width="1"/>]]></content:encoded>
      <pubDate>Wed, 19 Nov 2008 23:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/hash function">hash function</category>
      <category domain="http://securityratty.com/tag/sha">sha</category>
      <category domain="http://securityratty.com/tag/sha-3">sha-3</category>
      <category domain="http://securityratty.com/tag/algorithms">algorithms</category>
      <category domain="http://securityratty.com/tag/cool algorithms">cool algorithms</category>
      <category domain="http://securityratty.com/tag/sha family">sha family</category>
      <category domain="http://securityratty.com/tag/nist held">nist held</category>
      <category domain="http://securityratty.com/tag/unlike encryption algorithms">unlike encryption algorithms</category>
      <category domain="http://securityratty.com/tag/nist">nist</category>
      <source url="http://feeds.wired.com/~r/wired/politics/security/~3/459059855/securitymatters_1120">America's Next Top Hash Function Begins</source>
    </item>
    <item>
      <title><![CDATA[The Skein Hash Function]]></title>
      <link>http://securityratty.com/article/c65ce3834e7790e113fa9e1fd1504568</link>
      <guid>http://securityratty.com/article/c65ce3834e7790e113fa9e1fd1504568</guid>
      <description><![CDATA[NIST is holding a competition to replace the SHA family of hash functions, which have been increasingly under attack . (I wrote about an early NIST hash workshop here
Skein is our submission (myself...]]></description>
      <content:encoded><![CDATA[<p>NIST is <a href="http://csrc.nist.gov/groups/ST/hash/sha-3/index.html">holding a competition</a> to replace the SHA family of hash functions, which have been <a href="http://www.schneier.com/blog/archives/2005/02/cryptanalysis_o.html">increasingly under attack</a>.  (I wrote about an early NIST hash workshop <a href="http://www.schneier.com/blog/archives/2005/10/nist_hash_works_1.html">here</a>.)</p>

<p>Skein is our submission (myself and seven others: <a href="http://en.wikipedia.org/wiki/Niels_Ferguson">Niels Ferguson</a>, <a href="http://th.informatik.uni-mannheim.de/People/Lucks/">Stefan Lucks</a>, <a href="http://www.hifn.com/executiveTeam.aspx?id=182">Doug Whiting</a>, <a href="http://www-cse.ucsd.edu/~mihir/">Mihir Bellare</a>, <a href="http://www.cs.washington.edu/homes/yoshi/">Tadayoshi Kohno</a>, <a href="http://www.pgp.com/about_pgp_corporation/management.html">Jon Callas</a>, and Jesse Walker).  <a href="http://www.schneier.com/skein.pdf">Here's</a> the paper:</p>

<blockquote><strong>Executive Summary</strong>

<p>Skein is a new family of cryptographic hash functions.  Its design combines speed, security, simplicity, and a great deal of flexibility in a modular package that is easy to analyze.</p>

<p>Skein is fast.  Skein-512 -- our primary proposal -- hashes data at 6.1 clock cycles per byte on a 64-bit CPU.  This means that on a 3.1 GHz x64 Core 2 Duo CPU, Skein hashes data at 500 MBytes/second per core -- almost twice as fast as SHA-512 and three times faster than SHA-256.  An optional hash-tree mode speeds up parallelizable implementations even more.  Skein is fast for short messages, too; Skein-512 hashes short messages in about 1000 clock cycles.</p>

<p>Skein is secure.  Its conservative design is based on the Threefish block cipher.  Our current best attack on Threefish-512 is on 25 of 72 rounds, for a safety factor of 2.9. For comparison, at a similar stage in the standardization process, the AES encryption algorithm had an attack on 6 of 10 rounds, for a safety factor of only 1.7.  Additionally, Skein has a number of provably secure properties, greatly increasing confidence in the algorithm.</p>

<p>Skein is simple.  Using only three primitive operations, the Skein compression function can be easily understood and remembered.  The rest of the algorithm is a straightforward iteration of this function.</p>

<p>Skein is flexible.  Skein is defined for three different internal state sizes -- 256 bits, 512 bits, and 1024 bits -- and any output size.  This allows Skein to be a drop-in replacement for the entire SHA family of hash functions.  A completely optional and extendable argument system makes Skein an efficient tool to use for a very large number of functions: a PRNG, a stream cipher, a key derivation function, authentication without the overhead of HMAC, and a personalization capability.  All these features can be implemented with very low overhead.  Together with the Threefish large-block cipher at Skein core, this design provides a full set of symmetric cryptographic primitives suitable for most modern applications.</p>

<p>Skein is efficient on a variety of platforms, both hardware and software.  Skein-512 can be implemented in about 200 bytes of state.  Small devices, such as 8-bit smart cards, can implement Skein-256 using about 100 bytes of memory.  Larger devices can implement the larger versions of Skein to achieve faster speeds.</p>

<p>Skein was designed by a team of highly experienced cryptographic experts from academia and industry, with expertise in cryptography, security analysis, software, chip design, and implementation of real-world cryptographic systems.  This breadth of knowledge allowed them to create a balanced design that works well in all environments.</blockquote></p>

<p><a href="http://www.schneier.com/code/skein_NIST_CD_101308.zip">Here's</a> source code, text vectors, and the like for Skein.  Watch the <a href="http://www.schneier.com/skein.html">Skein website</a> for any updates -- new code, new results, new implementations, the proofs.</p>

<p>NIST's deadline is Friday.  It seems as if everyone -- including many amateurs -- is working on a hash function, and I predict that NIST will receive at least 80 submissions.  (Compare this to the 21 submissions NIST received -- five were rejected as not being complete --  for the AES competition in 1998.)  I expect people to start posting their submissions over the weekend.  (Ron Rivest already <a href="http://people.csail.mit.edu/rivest/Rivest-TheMD6HashFunction.ppt">presented</a> MD6 at Crypto in August.)  Probably the best place to watch for new hash functions is <a href="http://planeta.terra.com.br/informatica/paulobarreto/hflounge.html">here</a>; I'll try to keep a listing of the submissions myself.</p>

<p>The selection process will take around four years.  I've previously called this sort of thing a cryptographic demolition derby -- last one left standing wins -- but that's only half true.  Certainly all the groups will spend the next couple of years trying to cryptanalyze each other, but in the end there will be a bunch of unbroken algorithms; NIST will select one based on performance and features.</p>

<p>NIST has stated that the goal of this process is not to choose the best standard but to choose a good standard.  I think that's smart of them; in this process, "best" is the enemy of "good."  My advice is this: immediately sort them based on performance and features.  Ask the cryptographic community to focus its attention on the top dozen, rather than spread its attention across all 80 -- although I also expect that most of the amateur submissions will be rejected by NIST for not being "complete and proper."  Otherwise, people will break the easy ones and the better ones will go unanalyzed.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=RsFiM"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=RsFiM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=VuObM"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=VuObM" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Wed, 29 Oct 2008 01:35:29 +0000</pubDate>
      <category domain="http://securityratty.com/tag/skein">skein</category>
      <category domain="http://securityratty.com/tag/hash function">hash function</category>
      <category domain="http://securityratty.com/tag/function">function</category>
      <category domain="http://securityratty.com/tag/implement skein-256">implement skein-256</category>
      <category domain="http://securityratty.com/tag/implement">implement</category>
      <category domain="http://securityratty.com/tag/skein hashes data">skein hashes data</category>
      <category domain="http://securityratty.com/tag/skein website">skein website</category>
      <category domain="http://securityratty.com/tag/hashes data">hashes data</category>
      <category domain="http://securityratty.com/tag/key derivation function">key derivation function</category>
      <source url="http://www.schneier.com/blog/archives/2008/10/the_skein_hash.html">The Skein Hash Function</source>
    </item>
    <item>
      <title><![CDATA["New Attack" Against Encrypted Images]]></title>
      <link>http://securityratty.com/article/d53a9071459b26f731fbd3ec643dbde8</link>
      <guid>http://securityratty.com/article/d53a9071459b26f731fbd3ec643dbde8</guid>
      <description><![CDATA[In a blatant attempt to get some PR : In a new paper, Bernd Roellgen of Munich-based encryption outfit PMC Ciphers, explains how it is possible to compare an encrypted backup image file made with...]]></description>
      <content:encoded><![CDATA[<p>In a blatant attempt to get some <a href="http://www.techworld.com/security/news/index.cfm?newsid=105263">PR</a>:</p>

<blockquote>In a new paper, Bernd Roellgen of Munich-based encryption outfit PMC Ciphers, explains how it is possible to compare an encrypted backup image file made with almost any commercial encryption program or algorithm to an original that has subsequently changed so that small but telling quantities of data 'leaks'.</blockquote>

<p><a href="http://www.turbocrypt.com/vpics/9a8f098c615a425eab6d17c804dd67ae/whitepapers/backup_attack.pdf">Here's</a> the paper.  Turns out that if you use a block cipher in Electronic Codebook Mode, identical plaintexts encrypt to identical ciphertexts.</p>

<p>Yeah, we already knew that.</p>

<p>And -1 point for a security company requiring the use of Javascript, and not failing gracefully for a browser that doesn't have it enabled.</p>

<p>And -- ahem -- what is it with that photograph in the paper?  Couldn't the researchers have found something a little less adolescent?</p>

<p>For the record, I <a href="http://www.schneier.com/crypto-gram-0303.html#4">doghoused</a> PMC Ciphers back in 2003:</p>

<blockquote>PMC Ciphers. The theory description is so filled with pseudo-cryptography that it's funny to read. Hypotheses are presented as conclusions. Current research is misstated or ignored. The first link is a technical paper with four references, three of them written before 1975. Who needs thirty years of cryptographic research when you have polymorphic cipher theory?</blockquote>

<p>EDITED TO ADD (10/9):  I didn't realize it, but last year PMC Ciphers <a href="http://www.ciphers.de/eng/content/Backround-Info/Bruce-Schneiers-comments.html">responded</a> to my doghousing them.  Funny stuff.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=oYuwM"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=oYuwM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=jkURM"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=jkURM" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Thu, 09 Oct 2008 02:44:14 +0000</pubDate>
      <category domain="http://securityratty.com/tag/pmc ciphers">pmc ciphers</category>
      <category domain="http://securityratty.com/tag/paper">paper</category>
      <category domain="http://securityratty.com/tag/technical paper">technical paper</category>
      <category domain="http://securityratty.com/tag/commercial encryption program">commercial encryption program</category>
      <category domain="http://securityratty.com/tag/polymorphic cipher theory">polymorphic cipher theory</category>
      <category domain="http://securityratty.com/tag/funny">funny</category>
      <category domain="http://securityratty.com/tag/backup image file">backup image file</category>
      <category domain="http://securityratty.com/tag/identical plaintexts encrypt">identical plaintexts encrypt</category>
      <category domain="http://securityratty.com/tag/funny stuff">funny stuff</category>
      <source url="http://www.schneier.com/blog/archives/2008/10/new_attack_agai.html">"New Attack" Against Encrypted Images</source>
    </item>
    <item>
      <title><![CDATA[Contest: Cory Doctorow's Cipher Wheel Rings]]></title>
      <link>http://securityratty.com/article/5bf9715088e83f021dd3a8a86d47bb52</link>
      <guid>http://securityratty.com/article/5bf9715088e83f021dd3a8a86d47bb52</guid>
      <description><![CDATA[Cory Doctorow wanted a secret decoder wedding ring, and he asked me to help design it. I wanted something more than the standard secret decoder ring , so this is what I asked for: &quot;I want each wheel...]]></description>
      <content:encoded><![CDATA[<p>Cory Doctorow wanted a secret decoder wedding ring, and he asked me to help design it.  I wanted something more than the standard <a href="http://en.wikipedia.org/wiki/Secret_decoder_ring">secret decoder ring</a>, so this is what I asked for: "I want each wheel to be the alphabet, with each letter having either a dot above, a dot below, or no dot at all.  The first wheel should have alternating above, none, below.  The second wheel should be the repeating sequence of above, above, none, none, below, below.  The third wheel should be the repeating sequence of above, above, above, none, none, none, below, below, below."  (I know it sounds confusing, but <a href="http://www.flickr.com/photos/doctorow/2816467273/">here's</a> a chart.)</p>

<p>So that's what he asked for, and that's what <a href="http://www.flickr.com/photos/doctorow/2817314740/">he got</a>.  And now it's time to create some cryptographic applications for the rings.  Cory and I are holding an open contest for the cleverest application.</p>

<p>I don't think we can invent any encryption algorithms that will survive computer analysis -- there's just not enough entropy in the system -- but we can come up with some clever pencil-and-paper ciphers that will serve them well if they're ever stuck back in time.  And there are certainly other  cryptographic uses for the rings.</p>

<p>Here's a way to use the rings as a password mnemonic:  First, choose a two-letter key.  Align the three wheels according to the key.  For example, if the key is "EB" for eBay, align the three wheels AEB.  Take the common password "PASSWORD" and encrypt it.  For each letter, find it on the top wheel.  Count one letter to the left if there is a dot over the letter, and one letter to the right if there is a dot under it.  Take that new letter and look at the letter below it (in the middle wheel).  Count two letters to the left if there is a dot over it, and two letters to the right if there is a dot under it.  Take that new letter (in the middle wheel), and look at the letter below it (in the lower wheel).  Count three letters to the left if there is a dot over it, and three letters to the right if there is a dot under it.  That's your encrypted letter.  Do that with every letter to get your password.</p>

<p>"PASSWORD" and the key "EB" becomes "NXPPVVOF."</p>

<p>It's not very good; can anyone see why?  (Ignore for now whether or not publishing this on a blog makes it no longer secure.)</p>

<p>How can I do that better?  What else can we do with the rings?  Can we incorporate other elements -- a deck of playing cards as in <a href="http://www.schneier.com/solitaire.html">Solitaire</a>, different-sized coins to make the system more secure?</p>

<p>Post your contest entries as comments to <a href="http://www.boingboing.net/2008/09/05/help_design_a_cipher.html">Cory's blog post</a> -- you can post them here, but they're not going to count as contest submissions --  or send them to <a href="mailto:cryptocontest@craphound.com">cryptocontest@craphound.com</a>.  Deadline is October 1st.  </p>

<p>Good luck, and have fun with this. </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=XHAZL"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=XHAZL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=vFg0L"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=vFg0L" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Fri, 05 Sep 2008 08:01:09 +0000</pubDate>
      <category domain="http://securityratty.com/tag/wheel">wheel</category>
      <category domain="http://securityratty.com/tag/letter">letter</category>
      <category domain="http://securityratty.com/tag/two-letter key">two-letter key</category>
      <category domain="http://securityratty.com/tag/middle wheel">middle wheel</category>
      <category domain="http://securityratty.com/tag/dot">dot</category>
      <category domain="http://securityratty.com/tag/cory doctorow">cory doctorow</category>
      <category domain="http://securityratty.com/tag/cory">cory</category>
      <category domain="http://securityratty.com/tag/rings">rings</category>
      <category domain="http://securityratty.com/tag/top wheel">top wheel</category>
      <source url="http://www.schneier.com/blog/archives/2008/09/contest_cory_do.html">Contest: Cory Doctorow's Cipher Wheel Rings</source>
    </item>
    <item>
      <title><![CDATA[Keyczar: Safe and Simple Cryptography]]></title>
      <link>http://securityratty.com/article/d7aad095f44d95efad0e3a3210dc4625</link>
      <guid>http://securityratty.com/article/d7aad095f44d95efad0e3a3210dc4625</guid>
      <description><![CDATA[Written by Steve Weis

Cryptography is notoriously hard to get right and if improperly used, can create serious security holes. Common mistakes include using the wrong cipher modes or obsolete...]]></description>
      <content:encoded><![CDATA[<span class="byline-author">Written by Steve Weis</span><br /><br /><img style="margin: 0pt 0pt 10px 10px; float: right;" src="http://2.bp.blogspot.com/_LMSk7hTEaIE/SKCABPuzeVI/AAAAAAAAhXc/nyKwkCyDdwQ/s200/keyczar_logo.jpg" alt="" id="BLOGGER_PHOTO_ID_5233323525895584082" border="0" />Cryptography is notoriously hard to get right and if improperly used, can create serious security holes. Common mistakes include using the wrong cipher modes or obsolete algorithms, composing primitives in an unsafe manner, hard-coding keys in source code, or failing to anticipate the need for future key rotation. With these risks in mind, we're pleased to announce the open-source release of <a href="http://www.keyczar.org/">Keyczar</a>.<br /><br />Keyczar is a cryptographic toolkit that supports encryption and authentication for both symmetric and public-key algorithms. It addresses some of the aforementioned issues by choosing safe defaults, tagging outputs with key version information, and providing a simple application programming interface. Keyczar's key versioning system makes it easy to rotate and revoke keys, without worrying about backward compatibility or making any changes to source code.<br /><br />We look forward to working with the open source community and continuing to make cryptography safer and easier to use. To download Keyczar or for more information, please visit our <a href="http://code.google.com/p/keyczar">Google Code project</a> and <a href="http://groups.google.com/group/keyczar-discuss">discussion group</a>.<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=Xmjn2K"><img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=Xmjn2K" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=G4qbKk"><img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=G4qbKk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/362162234" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 11 Aug 2008 07:06:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/keyczar">keyczar</category>
      <category domain="http://securityratty.com/tag/key">key</category>
      <category domain="http://securityratty.com/tag/future key rotation">future key rotation</category>
      <category domain="http://securityratty.com/tag/information">information</category>
      <category domain="http://securityratty.com/tag/key version information">key version information</category>
      <category domain="http://securityratty.com/tag/cryptography">cryptography</category>
      <category domain="http://securityratty.com/tag/download keyczar">download keyczar</category>
      <category domain="http://securityratty.com/tag/source code">source code</category>
      <category domain="http://securityratty.com/tag/cryptography safer">cryptography safer</category>
      <source url="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~3/362162234/keyczar-safe-and-simple-cryptography.html">Keyczar: Safe and Simple Cryptography</source>
    </item>
    <item>
      <title><![CDATA[Keyczar: Safe and Simple Cryptography]]></title>
      <link>http://securityratty.com/article/fc4cc2f3a00f05e285c35e9511665c7c</link>
      <guid>http://securityratty.com/article/fc4cc2f3a00f05e285c35e9511665c7c</guid>
      <description><![CDATA[Written by Steve Weis

Cryptography is notoriously hard to get right and if improperly used, can create serious security holes. Common mistakes include using the wrong cipher modes or obsolete...]]></description>
      <content:encoded><![CDATA[<span class="byline-author">Written by Steve Weis</span><br /><br /><img style="margin: 0pt 0pt 10px 10px; float: right;" src="http://2.bp.blogspot.com/_LMSk7hTEaIE/SKCABPuzeVI/AAAAAAAAhXc/nyKwkCyDdwQ/s200/keyczar_logo.jpg" alt="" id="BLOGGER_PHOTO_ID_5233323525895584082" border="0" />Cryptography is notoriously hard to get right and if improperly used, can create serious security holes. Common mistakes include using the wrong cipher modes or obsolete algorithms, composing primitives in an unsafe manner, hard-coding keys in source code, or failing to anticipate the need for future key rotation. With these risks in mind, we're pleased to announce the open-source release of <a href="http://www.keyczar.org/">Keyczar</a>.<br /><br />Keyczar is a cryptographic toolkit that supports encryption and authentication for both symmetric and public-key algorithms. It addresses some of the aforementioned issues by choosing safe defaults, tagging outputs with key version information, and providing a simple application programming interface. Keyczar's key versioning system makes it easy to rotate and revoke keys, without worrying about backward compatibility or making any changes to source code.<br /><br />We look forward to working with the open source community and continuing to make cryptography safer and easier to use. To download Keyczar or for more information, please visit our <a href="http://code.google.com/p/keyczar">Google Code project</a> and <a href="http://groups.google.com/group/keyczar-discuss">discussion group</a>.<div class="feedflare">
<a href="http://feedproxy.google.com/~f/GoogleOnlineSecurityBlog?a=6ODRtEpO"><img src="http://feedproxy.google.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/GoogleOnlineSecurityBlog?a=agNjL0Me"><img src="http://feedproxy.google.com/~f/GoogleOnlineSecurityBlog?i=agNjL0Me" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~4/iXt3UNU0ZIg" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 11 Aug 2008 07:06:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/keyczar">keyczar</category>
      <category domain="http://securityratty.com/tag/key">key</category>
      <category domain="http://securityratty.com/tag/future key rotation">future key rotation</category>
      <category domain="http://securityratty.com/tag/information">information</category>
      <category domain="http://securityratty.com/tag/key version information">key version information</category>
      <category domain="http://securityratty.com/tag/cryptography">cryptography</category>
      <category domain="http://securityratty.com/tag/download keyczar">download keyczar</category>
      <category domain="http://securityratty.com/tag/source code">source code</category>
      <category domain="http://securityratty.com/tag/cryptography safer">cryptography safer</category>
      <source url="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/iXt3UNU0ZIg/keyczar-safe-and-simple-cryptography.html">Keyczar: Safe and Simple Cryptography</source>
    </item>
    <item>
      <title><![CDATA[Who's Behind the GPcode Ransomware?]]></title>
      <link>http://securityratty.com/article/ca714951a7f0ed968deff599e2b3b644</link>
      <guid>http://securityratty.com/article/ca714951a7f0ed968deff599e2b3b644</guid>
      <description><![CDATA[So, the ultimate question - who's behind the GPcode ransomware? It's Russian teens with pimples, using E-gold and Liberty Reserve accounts, running three different GPcode campaigns, two of which...]]></description>
      <content:encoded><![CDATA[<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_wICHhTiQmrA/SE495ZBcN4I/AAAAAAAABx4/M-eDO1J91xY/s1600-h/GPcode_decryptor.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_wICHhTiQmrA/SE495ZBcN4I/AAAAAAAABx4/M-eDO1J91xY/s200/GPcode_decryptor.JPG" alt="" id="BLOGGER_PHOTO_ID_5210169875093010306" border="0" /></a>So, the ultimate question - <a href="http://blogs.zdnet.com/security/?p=1259">who's behind the GPcode ransomware?</a> It's Russian teens with pimples, using E-gold and Liberty Reserve accounts, running three different GPcode campaigns, two of which request either $100 or $200 for the decryptor, and communicating from Chinese IPs. Here are all the details regarding the emails they use, the email responses they sent back, the currency accounts, as well their most recent IPs used in the communication :<br /><br /><span style="font-weight: bold;">Emails used by the GPcode authors where the infected victims are supposed to contact them :</span><br />content715@yahoo.com<br />saveinfo89@yahoo.com<br />cipher4000@yahoo.com<br />decrypt482@yahoo.com<br /><br /><span style="font-weight: bold;">Virtual currency accounts used by the malware authors :</span><br />Liberty Reserve - account U6890784<br />E-Gold - account - 5431725<br />E-Gold - account - 5437838<br /><br /><span style="font-weight: bold;">Sample response email :</span><br />"<span style="font-style: italic;">Next, you should send $100 to Liberty Reserve account U6890784 or E-Gold account 5431725 (www.e-gold.com) To buy E-currency you may use exchange service, see or any other.</span><span style="font-style: italic;"> In the transfer description specify your e-mail. After receive your payment, we send decryptor to your e-mail. For check our guarantee you may send us one any encrypted file (with cipher key, specified in any !_READ_ME_!.txt file, being in the  directorys with the encrypted files). We decrypt it and send to you originally decrypted file.</span><span style="font-style: italic;"> Best Regards,</span><span style="font-style: italic;"> Daniel Robertson</span>"<br /><br /><span style="font-weight: bold;">Second sample response email this time requesting $200 :</span><br />"<span style="font-style: italic;">The price of decryptor is 200 USD. For  payment you may use one of following variants: 1. Payment  to E-Gold account 5437838 (www.e-gold.com). 2. Payment  to  Liberty Reserve account U6890784 (www.libertyreserve.com). 3. If you do not make one of this variants, contact us for decision it. For check our guarantee you may send us ONE any encrypted file. We decrypt it and send to you originally decrypted file. For any questions contact us via e-mail.</span><span style="font-style: italic;"> Best regards.</span><span style="font-style: italic;"> Paul Dyke</span>"<br /><br />So, you've got two people responding back with copy and paste emails, each of them seeking a different amount of money? Weird. The John Dow-ish Daniel Robertson is emailing from <span style="font-weight: bold;">58.38.8.211 </span>(<span style="font-style: italic;">Liaoning Province Network China Network Communications Group Corporation No.156,Fu-Xing-Men-Nei Street, Beijing 100031</span>), and Paul Dyke from <span style="font-weight: bold;">221.201.2.227</span>(<span style="font-style: italic;">Liaoning Province Network China Network Communications Group Corporation No.156,Fu-Xing-Men-Nei Street, Beijing 100031</span>), both Chinese IPs, despite that these campaigners are Russians.<br /><br />Here are some comments I made regarding cryptoviral extortion two years ago - <a href="http://packetstormsecurity.org/papers/general/malware-trends.pdf">Future Trends of Malware</a> (on page 11; and page 21), worth going through.<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=GmnlTI"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=GmnlTI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=EA8UEI"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=EA8UEI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=ntMnXi"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=ntMnXi" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=IBBYUi"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=IBBYUi" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=p04dRI"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=p04dRI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=InZL2I"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=InZL2I" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=wUefAi"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=wUefAi" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~4/308816792" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 10 Jun 2008 05:44:53 +0000</pubDate>
      <category domain="http://securityratty.com/tag/account">account</category>
      <category domain="http://securityratty.com/tag/e-gold account">e-gold account</category>
      <category domain="http://securityratty.com/tag/e-gold">e-gold</category>
      <category domain="http://securityratty.com/tag/file">file</category>
      <category domain="http://securityratty.com/tag/sample response email">sample response email</category>
      <category domain="http://securityratty.com/tag/txt file">txt file</category>
      <category domain="http://securityratty.com/tag/virtual currency accounts">virtual currency accounts</category>
      <category domain="http://securityratty.com/tag/liberty reserve accounts">liberty reserve accounts</category>
      <category domain="http://securityratty.com/tag/liberty reserve">liberty reserve</category>
      <source url="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~3/308816792/whos-behind-gpcode-ransomware.html">Who's Behind the GPcode Ransomware?</source>
    </item>
    <item>
      <title><![CDATA[Mujahideen Secrets 2 Encryption Tool Released]]></title>
      <link>http://securityratty.com/article/d753bcc92c8fb0a05912bca4be019b2b</link>
      <guid>http://securityratty.com/article/d753bcc92c8fb0a05912bca4be019b2b</guid>
      <description><![CDATA[Originally introduced by the Global Islamic Media Front (GIMF), the second version of the Mujahideen Secrets encryption tool was released online approximately two days ago, on behalf of the Al-Ekhlaas...]]></description>
      <content:encoded><![CDATA[<a href="http://bp3.blogger.com/_wICHhTiQmrA/R5Skxz8-M3I/AAAAAAAABUw/06l41em141w/s1600-h/mujahideen_secrets_002.jpg"><img id="BLOGGER_PHOTO_ID_5157928648912548722" style="margin: 0px 10px 10px 0px; float: left;" alt="" src="http://bp3.blogger.com/_wICHhTiQmrA/R5Skxz8-M3I/AAAAAAAABUw/06l41em141w/s200/mujahideen_secrets_002.jpg" border="0" /></a>Originally introduced by the <a href="http://ddanchev.blogspot.com/2007/12/inshallahshaheed-come-out-come-out.html">Global</a> <a href="http://ddanchev.blogspot.com/2007/08/gimf-we-will-remain.html">Islamic</a> <a href="http://ddanchev.blogspot.com/2007/08/gimf-now-permanently-shut-down.html">Media</a> <a href="http://ddanchev.blogspot.com/2007/07/gimf-switching-blogs.html">Front</a> (GIMF), the second version of the <a href="http://ddanchev.blogspot.com/2007/04/mujahideen-secrets-encryption-tool.html">Mujahideen Secrets encryption tool</a> was released online approximately two days ago, on behalf of the Al-Ekhlaas Islamic Network. Original and translated press release : <div><div><br />"<em>Is the first program of the Islamic multicast security across networks. It represents the highest level of technical multicast encrypted but far superior. All communications software, which are manufactured by major companies in the world so that integrates all services communications encrypted in the small-sized portable. Release I of the "secrets of the mujahideen" the bulletin brothers in the International Islamic Front and the media have registered so scoop qualitatively in the field of information and jihadist exploit the opportunity to thank them for their wonderful and distinctive. And the continuing support of a media jihadist group loyalty in the technical development of a network of Islamic loyalty program and the issuance of this version, in support of the mujahideen general and the Islamic State of Iraq in particular.</em>"</div><div><br /><a href="http://bp3.blogger.com/_wICHhTiQmrA/R5Ssdz8-M5I/AAAAAAAABVA/a8TRpX8iKf0/s1600-h/mujahid_encryption_2.jpg"><img id="BLOGGER_PHOTO_ID_5157937101408187282" style="margin: 0px 10px 10px 0px; float: left;" alt="" src="http://bp3.blogger.com/_wICHhTiQmrA/R5Ssdz8-M5I/AAAAAAAABVA/a8TRpX8iKf0/s200/mujahid_encryption_2.jpg" border="0" /></a><strong>Key features in the first version :</strong><br /><br />-- Encryption algorithms using the best five in cryptography. (AES finalist algorithms)</div><p>-- Symmetrical encryption keys along the 256-bit (Ultra Strong Symmetric Encryption)</p><div>-- Encryption keys for symmetric length of 2048-bit RSA (husband of a public key and private)</div><div><br /></div><div>-- Pressure data ROM (the highest levels of pressure)</div><div><br /></div><p>-- Keys and encryption algorithms changing technology ghost (Stealthy Cipher)</p><div>-- Automatic identification algorithm encryption during decoding (Cipher Auto-detection)</div><div><br /></div><p>-- Program consisting of one file Facility file does not need assistance to install and can run from the memory portable</p><div>-- Scanning technology security for the files to be cleared with the impossibility of retrieving files (Files Shredder)</div><div><br /><a href="http://bp2.blogger.com/_wICHhTiQmrA/R5SrEj8-M4I/AAAAAAAABU4/ZWGjg24VPcI/s1600-h/mujahideen_secrets_03.jpg"><img id="BLOGGER_PHOTO_ID_5157935568104862594" style="margin: 0px 10px 10px 0px; float: left;" alt="" src="http://bp2.blogger.com/_wICHhTiQmrA/R5SrEj8-M4I/AAAAAAAABU4/ZWGjg24VPcI/s200/mujahideen_secrets_03.jpg" border="0" /></a><strong>New features introduced in the second version :</strong><br /></div><div></div><div> </div><div><br />-- Multicast encrypted via text messages supporting the immediate use forums (Secure Messaging)</div><div></div><div> </div><div><br />-- Transfer files of all kinds to be shared across texts forums (Files to Text Encoding)</div><div></div><div> </div><div><br />-- Production of digital signature files and make sure it is correct</div><div></div><div> </div><div><br />-- Digital signature of messages and files and to ensure the authenticity of messages and files<br /><br /></div><div> </div><div></div><div><a href="http://bp2.blogger.com/_wICHhTiQmrA/R5TEYj8-M6I/AAAAAAAABVI/w9TTk__VteQ/s1600-h/mujahideen_secrets_04.jpg"><img id="BLOGGER_PHOTO_ID_5157963399492940706" style="margin: 0px 10px 10px 0px; float: left;" alt="" src="http://bp2.blogger.com/_wICHhTiQmrA/R5TEYj8-M6I/AAAAAAAABVI/w9TTk__VteQ/s200/mujahideen_secrets_04.jpg" border="0" /></a><br />So far, Reuters picked up the topic - <a href="http://www.reuters.com/article/internetNews/idUSL1885793320080118">Jihadi software promises secure Web contacts</a> :</div><div><br />"<em>The efficacy of the new Arabic-language software to ensure secure e-mail and other communications could not be immediately gauged. But some security experts had warned that the wide distribution of its earlier version among Islamists and Arabic-speaking hackers could prove significant. Al Qaeda supporters widely use the Internet to spread the group's statements through hundreds of Islamist sites where anyone can post messages. Al Qaeda-linked groups also set up their own sites, which frequently have to move after being shut by Internet service providers.</em>"</div><div><br /></div><div><a href="http://bp2.blogger.com/_wICHhTiQmrA/R5TGlj8-M8I/AAAAAAAABVY/2N2Dv4BpKM4/s1600-h/mujahideen_secrets_05.jpg"><img id="BLOGGER_PHOTO_ID_5157965821854495682" style="margin: 0px 10px 10px 0px; float: left;" alt="" src="http://bp2.blogger.com/_wICHhTiQmrA/R5TGlj8-M8I/AAAAAAAABVY/2N2Dv4BpKM4/s200/mujahideen_secrets_05.jpg" border="0" /></a>Needless to say that the new features, even the fact that they've updated the program has to be discussed from a strategic perspective. The improved GUI and the introduction of digital signing makes the program a handy tool for the desktop of the average cyber jihadist, average in respect to more advanced data hiding techniques, ones already discussed in <a href="http://ddanchev.blogspot.com/2006/12/analysis-of-technical-mujahid-issue-one.html">previous issues</a> of the <a href="http://ddanchev.blogspot.com/2007/06/analysis-of-technical-mujahid-issue-two.html">Technical Mujahid E-zine</a>. With the tempting feature to embedd the encrypted message on a web page instead of sending it, a possibility that's always been there namely to use the Dark Web for secure communication tool is getting closer to reality. Knowing that trying to directly break the encryption is impractical, coming up with <a href="http://ddanchev.blogspot.com/2007/11/botnet-of-infected-terrorists.html">pragmatic ways</a> to obtain the passphrase is what <a href="http://ddanchev.blogspot.com/2007/09/infecting-terrorist-suspects-with.html">government funded malware</a> coders are trying to figure out. Screenshots courtesy of the tool's tutorial.</div></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=bzfrzaD"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=bzfrzaD" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=HVrBOYD"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=HVrBOYD" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=ViIlgPd"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=ViIlgPd" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=yhOxRJd"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=yhOxRJd" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=hXWyExD"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=hXWyExD" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=YSWWGqD"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=YSWWGqD" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=OgG2PPd"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=OgG2PPd" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~4/220585811" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 21 Jan 2008 12:37:17 +0000</pubDate>
      <category domain="http://securityratty.com/tag/secrets">secrets</category>
      <category domain="http://securityratty.com/tag/tool">tool</category>
      <category domain="http://securityratty.com/tag/encryption">encryption</category>
      <category domain="http://securityratty.com/tag/secrets encryption tool">secrets encryption tool</category>
      <category domain="http://securityratty.com/tag/encryption keys">encryption keys</category>
      <category domain="http://securityratty.com/tag/keys">keys</category>
      <category domain="http://securityratty.com/tag/digital">digital</category>
      <category domain="http://securityratty.com/tag/digital signature files">digital signature files</category>
      <category domain="http://securityratty.com/tag/islamic">islamic</category>
      <source url="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~3/220585811/mujahideen-secrets-2-encryption-tool.html">Mujahideen Secrets 2 Encryption Tool Released</source>
    </item>
    <item>
      <title><![CDATA[A cryptographic hash function reading guide]]></title>
      <link>http://securityratty.com/article/64ad6ef3f573e23a9d75817308a7f704</link>
      <guid>http://securityratty.com/article/64ad6ef3f573e23a9d75817308a7f704</guid>
      <description><![CDATA[After a few years of spectacular advances in breaking cryptographic hash function NIST has announced a competition to determine the next Secure Hash Algorithm, SHA-3. SHA-0 is considered broken, SHA-1...]]></description>
      <content:encoded><![CDATA[<p>After a few years of <a href="http://www.infosec.sdu.edu.cn/people/wangxiaoyun.htm">spectacular advances </a>in breaking cryptographic hash function <a href="http://csrc.nist.gov/groups/ST/hash/sha-3/index.html">NIST has announced </a>a competition to determine the next Secure Hash Algorithm, SHA-3. SHA-0 is considered broken, SHA-1 is still secure but no one knows for how long, and the SHA-2 family are desperately slow. (Do not even think about using MD5, or MD4 for which Prof. Wang can find collisions by hand, but RIPEMD-160 still stands.) Cryptographers are ecstatic about this development: as if they were a bit bored since the last NIST AES competition and depressed by the prospect of not having to design another significant block cipher for the next few years. </p>
<p>The rest of us should expect the next four years to be filled with news, first about advances in the design, then advances in the attacks against Hash functions, as teams with candidate hash algorithms will bitterly try to find flaws in each other&#8217;s proposals to ensure that their function becomes SHA-3. To fully appreciate the details of this competition, some of us may want a quick refresher on how to build secure hash function.</p>
<p>Here is a list of on-line resources for catching up with the state of the art:</p>
<ol>
<li><a href="http://research.microsoft.com/users/mironov/papers/hash_survey.pdf">A very quick overview of hash functions</a> and their applications is provided by Ilya Mironov. This is very introductory material, and does not go into the deeper details of what makes these functions secure, or how to break them.</li>
<li>Chapter 9 on <a href="http://www.cacr.math.uwaterloo.ca/hac/about/chap9.pdf">Hash Functions and Data Integrity</a> of the Handbook of Applied Cryptography (Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone) provides a very good first overview of the properties expected from collision resistant hash function. It also presents the basic constructions for such functions from block ciphers (too slow for SHA-3), as well as from dedicated compression functions. <a href="http://www.cacr.math.uwaterloo.ca/hac/about/chap3.pdf">Chapter 3</a> also quickly presents Floyd&#8217;s cycle finding algorithm to find collisions with negligible storage requirements.</li>
<li>If your curiosity has not been satisfied, the second stop is Prof. Bart Preneel&#8217;s thesis entitled &#8220;<a href="http://homes.esat.kuleuven.be/~preneel/phd_preneel_feb1993.pdf">Analysis and Design of Cryptographic Hash Functions</a>&#8220;. This work provides a very good overview of the state of the art in hash function design up to the middle of the nineties (before SHA-1 was commissioned.) The back to the basics approach is very instructive, and frankly the thesis could be entitled &#8220;everything you wanted to know about hash functions and never dared ask.&#8221; Bart is one of the authors of <a href="http://homes.esat.kuleuven.be/~bosselae/ripemd160.html">RIPEMD-160</a> that is still considered secure, an algorithm worth studying.</li>
<li>Hash functions do look like block ciphers under the hood, and an obvious idea might be to adapt aspects of AES and turn it into such a function. <a href="http://paginas.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html">Whirlpool</a> does exactly this, and is worth reading about. One of its authors, Paulo Barreto, also maintains a very thorough <a href="http://paginas.terra.com.br/informatica/paulobarreto/hflounge.html">bibliography of hash function proposals</a> along with all known cryptanalytic results against them (and a cute health status indicating their security.)</li>
<li><a href="http://www.infosec.sdu.edu.cn/people/wangxiaoyun.htm">Prof. Wang&#8217;s attacks</a> that forced NIST to look for better functions are a must-read, even though they get very technical very soon. A gentler introduction to these attacks is provided in <a href="http://www.iaik.tugraz.at/aboutus/people/schlaeffer/MasterThesis_Schlaeffer.pdf">Martin Schlaffer&#8217;s Master’s thesis</a> describing how the attacks are applied to MD4.</li>
<li>Finally it is no fun observing a game without knowing the rules: the <a href="http://csrc.nist.gov/groups/ST/hash/documents/FR_Notice_Nov07.pdf">NIST SHA-3 requirements</a> provide detailed descriptions of what the algorithm should look like, as well as the families of attacks it should resist. After reading it you might even be tempted to submit your own candidate!</li>
</ol>
]]></content:encoded>
      <pubDate>Fri, 23 Nov 2007 13:01:18 +0000</pubDate>
      <category domain="http://securityratty.com/tag/function">function</category>
      <category domain="http://securityratty.com/tag/hash functions">hash functions</category>
      <category domain="http://securityratty.com/tag/cryptographic hash functions">cryptographic hash functions</category>
      <category domain="http://securityratty.com/tag/functions">functions</category>
      <category domain="http://securityratty.com/tag/functions secure">functions secure</category>
      <category domain="http://securityratty.com/tag/design">design</category>
      <category domain="http://securityratty.com/tag/hash function design">hash function design</category>
      <category domain="http://securityratty.com/tag/compression functions">compression functions</category>
      <category domain="http://securityratty.com/tag/secure hash function">secure hash function</category>
      <source url="http://www.lightbluetouchpaper.org/2007/11/23/a-cryptographic-hash-function-reading-guide/">A cryptographic hash function reading guide</source>
    </item>
    <item>
      <title><![CDATA[Changing the SSL cipher order in Internet Explorer 7 on Windows Vista]]></title>
      <link>http://securityratty.com/article/8dcae041db8c41664d643027b8c6437d</link>
      <guid>http://securityratty.com/article/8dcae041db8c41664d643027b8c6437d</guid>
      <description><![CDATA[Recently, the question of using AES for SSL has come up in the newsgroups and at some conferences. When IE makes an HTTPS connection to a web server, it offers a list of cipher supported cipher...]]></description>
      <content:encoded><![CDATA[<p>Recently, the question of using AES for SSL has come up in the newsgroups and at some conferences. When IE makes an HTTPS connection to a web server, it offers a list of cipher supported cipher suites. The server then selects the first one from the list that it can match. The default order that IE follows is this:</p> <blockquote> <p>TLS_RSA_WITH_AES_128_CBC_SHA<br>TLS_RSA_WITH_AES_256_CBC_SHA<br>TLS_RSA_WITH_RC4_128_SHA<br>TLS_RSA_WITH_3DES_EDE_CBC_SHA<br>TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P256<br>TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P384<br>TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P521<br>TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P256<br>TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P384<br>TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P521<br>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256<br>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P384<br>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P521<br>TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256<br>TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384<br>TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P521<br>TLS_DHE_DSS_WITH_AES_128_CBC_SHA<br>TLS_DHE_DSS_WITH_AES_256_CBC_SHA<br>TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA<br>TLS_RSA_WITH_RC4_128_MD5<br>SSL_CK_RC4_128_WITH_MD5<br>SSL_CK_DES_192_EDE3_CBC_WITH_MD5<br>TLS_RSA_WITH_NULL_MD5<br>TLS_RSA_WITH_NULL_SHA</p></blockquote> <p>When you study the list, you'll see that IE presents the algorithms in decreasing order of strength, but places the shorter bit-lengths first. Why? If longer bit lengths are more secure, shouldn't they be listed first?</p> <p>Remember, encryption is the thing that buys you time against <a href="http://www.microsoft.com/technet/archive/community/columns/security/essays/10imlaws.mspx?mfr=true" target="_blank">Immutable Law #3</a>. But performing encryption itself takes time. So when choosing an algorithm and a bit length, one important consideration is to ask yourself this question: "How long do I need for my secrets to remain secret?"</p> <p>We configure IE to use shorter bit lengths -- but never shorter than 128 bits, except for the last two that use no encryption -- because it gives you better performance than the longer bit lengths. In almost all cases, a 128-bit key is more than sufficient to protect the information you're exchanging over HTTPS.</p> <p>However, if you require something longer, and want to change the default, you can. Here's how.</p> <ol> <li>Open your group policy editor by entering <strong>gpedit.msc</strong> at a command prompt.</li> <li>Choose <strong>Computer Configuration | Administrative Templates | Network | SSL Configuration Settings</strong>.</li> <li>There's only one item here: <strong>SSL Cipher Suite Order</strong>. Open it.</li> <li>Select <strong>Enabled</strong>.</li> <li>Now here's where you need to tread carefully. You'll see that the list is the same as above, but rather than formatted nicely with carriage returns, they're simply separated with commas. The first item in the list is:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>TLS_RSA_WITH_AES_128_CBC_SHA</strong><br>And the second item is:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>TLS_RSA_WITH_AES_256_CBC_SHA</strong><br>Cursor your way through the list. Change that first <strong>128</strong> to <strong>256</strong>. Then cursor forward a bit more and change the <strong>256</strong> to <strong>128</strong>.</li> <li>Feel free to change other orders, too, but keep your changes within algorithm types.</li> <li><strong>OK</strong> your way out, close the group policy editor, and reboot.</li></ol> <p>Most of you probably won't need to do this -- I haven't. But for those who have regulatory requirements for using 256-bit AES, follow these steps and you'll be compliant.</p><img src="http://blogs.technet.com/aggbug.aspx?PostID=2354495" width="1" height="1">]]></content:encoded>
      <pubDate>Wed, 07 Nov 2007 02:37:47 +0000</pubDate>
      <category domain="http://securityratty.com/tag/sha">sha</category>
      <category domain="http://securityratty.com/tag/null sha">null sha</category>
      <category domain="http://securityratty.com/tag/cbc sha p384">cbc sha p384</category>
      <category domain="http://securityratty.com/tag/cbc sha">cbc sha</category>
      <category domain="http://securityratty.com/tag/cbc sha p521">cbc sha p521</category>
      <category domain="http://securityratty.com/tag/shorter bit lengths">shorter bit lengths</category>
      <category domain="http://securityratty.com/tag/bit lengths">bit lengths</category>
      <category domain="http://securityratty.com/tag/cbc sha p256">cbc sha p256</category>
      <category domain="http://securityratty.com/tag/256-bit aes">256-bit aes</category>
      <source url="http://blogs.technet.com/steriley/archive/2007/11/06/changing-the-ssl-cipher-order-in-internet-explorer-7-on-windows-vista.aspx">Changing the SSL cipher order in Internet Explorer 7 on Windows Vista</source>
    </item>
  </channel>
</rss>
