<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Matasano Chargen - Latest Comments in Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://matasanochargen.disqus.com/</link><description></description><language>en</language><lastBuildDate>Tue, 23 Oct 2007 12:43:34 -0000</lastBuildDate><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320486</link><description>Suppose Fred sees your RSA signature on m1 and m2 (i.e. he sees m1d mod m and m2d mod n). How does he compute the signature on each of m1j mod n &lt;br&gt;(Positive integer j), m1-1 mod n, m1.m2 mod n, and in general m1j.m2k mod n (for arbitrary integers j and k)?&lt;br&gt;need the solution to this question plzzz</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">swapniel</dc:creator><pubDate>Tue, 23 Oct 2007 12:43:34 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320484</link><description>&lt;a href="http://www.matasano.com/log/531/rsa-signature-forgery-explained-with-nate-lawson-wrapup/" rel="nofollow"&gt;http://www.matasano.com/log/531/rsa-signature-f...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Thu, 19 Apr 2007 00:15:39 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320485</link><description>Elobrate more in follwing please:&lt;br&gt; &lt;br&gt;Suppose Fred sees your RSA signaure on m1 and m2, (i.e., he sees (m1d mod n) and (m2d mod n)).&lt;br&gt;How does he compute the signature on each of m1j mod n (for positive integer j), m1-1 mod n, m1 x m2 mod n, and&lt;br&gt;in general m1j m2k mod n (for arbitrary j and k)?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hiba</dc:creator><pubDate>Wed, 18 Apr 2007 14:52:58 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320483</link><description>Hi Guys, please email this solution to me quickly. thanks...that is today please, esperate &lt;br&gt;Suppose Fred sees your RSA signaure on m1 and m2, (i.e., he sees (m1d mod n) and (m2d mod n)).&lt;br&gt;How does he compute the signature on each of  m1j mod n (for positive integer j), m1-1 mod n, m1 x m2 mod n, and &lt;br&gt;in general m1j m2k mod n (for arbitrary j and k)?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jan</dc:creator><pubDate>Wed, 15 Nov 2006 09:59:48 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320482</link><description>Also: grep -c? Gross.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Sat, 16 Sep 2006 11:33:28 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320481</link><description>Yeah, yeah, yeah.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Sat, 16 Sep 2006 11:32:38 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320480</link><description>cat curl-ca-bundle.crt | grep Exponent | grep ": 3" | wc -l&lt;br&gt;&lt;br&gt;!?!!??&lt;br&gt;&lt;br&gt;&lt;br&gt;grep -c "Exponent: 3" curl-ca-bundle.crt</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sour grep:s</dc:creator><pubDate>Sat, 16 Sep 2006 04:05:22 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320479</link><description>Google employs security enabled engineers in various teams. They like mucking around with this stuff.&lt;br&gt;&lt;br&gt;There's more subtle flavors too:&lt;br&gt;padding|asn1((HASHALGO_ID,random[xx]),hash), so the noise to make for a nice cube is hidden inside an ignored, large parameter. Rinse, repeat. Many variants, different implementations fail different ways.&lt;br&gt;If you care about others' code verifying your signatures less error prone, don't use 3. And don't delegate powers to keys that use 3 either ;-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">marius</dc:creator><pubDate>Tue, 12 Sep 2006 20:47:21 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320478</link><description>... Safari also depends on OpenSSL&lt;br&gt;&lt;br&gt;Actually Safari uses Apple's "Security Framework", which is based on the OpenGroup CDSA codebase. Apple's code does not have the above bug; it makes use of the fact that PKCS#1 signatures are deterministic, constructs the correct value for the cleartext of the signature and check that this is exactly the same as the decryption of the signature.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicko</dc:creator><pubDate>Mon, 11 Sep 2006 06:55:32 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320477</link><description>Jesus "tapdancing" Christ!!!(expletive deleted)&lt;br&gt;&lt;br&gt;&lt;br&gt;    and thanx&lt;br&gt;&lt;br&gt;    nuff said</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anonymous former SunSoft/IR  P</dc:creator><pubDate>Sat, 09 Sep 2006 01:20:42 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320476</link><description>Nate:&lt;br&gt;&lt;br&gt;I like that you can simultaneously break crypto and not be able to use a web application with one button :)  This is why you need to stop using your c64 for web browsing.&lt;br&gt;&lt;br&gt;Much love,&lt;br&gt;&lt;br&gt;Dave G.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave G.</dc:creator><pubDate>Fri, 08 Sep 2006 13:44:18 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320475</link><description>... LESS THAN OR EQUAL TO size_bits(n) / 3, means the exponentiation won't wrap.  This means it's easy to find a value, s_evil, where the cube root produces a value that matches SHA1(evil).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nate</dc:creator><pubDate>Fri, 08 Sep 2006 12:30:43 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320474</link><description>Uh, great blog comment system.&lt;br&gt;&lt;br&gt;... size_bits(s)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nate</dc:creator><pubDate>Fri, 08 Sep 2006 12:27:06 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320473</link><description>The math is more straightforward if you think about it differently than most people present it.  Instead of:&lt;br&gt;m = s^e mod n&lt;br&gt;&lt;br&gt;Think:&lt;br&gt;m = s * s * s - k * n&lt;br&gt;&lt;br&gt;This iterative process is actually how modular exponentiation is implemented in computers.  Each loop, you multiply by s and occasionally subtract off an n, based on the value of some bits of s.  "k" is just an unimportant constant (how many times you subtract off n).&lt;br&gt;&lt;br&gt;So, the question is "how big is 's'?"  Normally, size_bits(s) = size_bits(n), i.e. 2048 commonly.  This means that every time you multiply by "s", your accumulator wraps around quite a few times.  This makes it hard for an attacker to guess how many times it wrapped, just by observing the final result (discrete log problem).  Strict enforcement of padding is intended to keep this property.&lt;br&gt;&lt;br&gt;But Bleichenbacher's attack (and a similar one we found previously in a shipping product) involves making "s" much smaller than n.  If you can make size_bits(s)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nate</dc:creator><pubDate>Fri, 08 Sep 2006 12:22:21 -0000</pubDate></item><item><title>Re: Many RSA Signatures May Be Forgeable In OpenSSL and Elsewhere</title><link>http://www.matasano.com/log/469/many-rsa-signatures-may-be-forgeable-in-openssl-and-elsewhere/#comment-2320472</link><description>who or what is Google Security?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anonymous</dc:creator><pubDate>Fri, 08 Sep 2006 02:14:14 -0000</pubDate></item></channel></rss>