[Cryptography] Cryptolocker

Max Kington mkington at webhanger.com
Fri Nov 22 06:37:44 EST 2013


On 22 Nov 2013 03:31, "Kelly John Rose" <iam at kjro.se> wrote:
>
> On 11/21/2013 10:18 PM, Paul Wouters wrote:
> > On Thu, 21 Nov 2013, Greg Broiles wrote:
> >
> >> According to Steve Gibson at https://www.grc.com/sn/sn-427.txt, when
> >> CryptoLocker contacts the central server(s), the servers generate a
> >> unique (per victim) 2048-bit RSA keypair; the public key is sent from
> >> the server to the infected machine. The infected machine generates
> >> a random 256 bit AES key, which is then encrypted with the public key
> >> and sent to the server, and used locally to encrypt the ransomed
> >> files. The key stored in the infected machine's registry is the public
> >> half of the RSA key.
> >
> > I'm confused.
> >
> > If the files are encrypted with a symmetric key, that key should still
> > be on the server and can be used to decrypt everything? It would make
> > more sense to encrypt it using the public key received, so nothing on
> > the infected machine could decrypt the data?
> >
> > Paul
> > _______________________________________________
>
> It makes sense, except for the fact that encrypting files with a RSA
> Public key is far slower than encrypting them with a 256-bit AES key.

And the maximum amount of data is 117 bytes using 2048bit rsa. Just about
nothing encrypts anything other than a symmetric key or other nonce with
rsa alone.

Even if you did it's the private key operations which are an order of
magnitude slower than the public key operations which are slower still than
symmetric key operations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.metzdowd.com/pipermail/cryptography/attachments/20131122/e3ff106f/attachment.html>


More information about the cryptography mailing list