NODE d73bca18Re: Timing Cryptanalysis Attack
hoz@univel.telescan.com (rick hoselton)Fri, 15 Dec 1995 01:32:22 +0800
At 03:42 PM 12/14/95 +0100, Lars Johansson wrote:
>>Does the attack work for existing smartcards?
>At first glance, smart cards would seem to be the most critical target
>to Kocher's timing attack since they usually operate in on-line
>environments.
Not just on-line, they also operate in untrusted (hostile?)
environments.
>...the terminal could get a (noisy) measure of the time by
> repeatingly use this command to see when the result is available.
Might a terminal also be able to monitor power consumption or
electromagnetic emissions to obtain a more precise time estimate?
>Most smart cards does nevertheless require that the user must first
>specify a PIN code before the RSA algorithms are operationable.
If I used my RSA card every day, (at a toll booth, for instance), and
the "bad guys" pilfered an "exact" timing upon each use, how long before
they could forge a signature?
>This implies that even if the card gets stolen can't it be attacked
>with Kocher's method.
That is useful, but if I know my card is stolen, I can presumably limit
my liability by reporting it. If I still have my card, but my secret
key is stolen, then damage might be greater.
On another note, timing attacks would not seem to work against
most DES implementations, hardware or software. The time to execute
each round does not seem to depend on the plaintext or the key. It could
be made to, of course, but unless I'm missing something, the "natural" way to
code it, or to construct hardware for it, is not time dependent.
Rick F. Hoselton (who doesn't claim to present opinions for others)
NODE faab8719Re: Timing Cryptanalysis Attack
Andreas Bogk <andreas@artcom.de>Fri, 15 Dec 1995 06:06:32 +0800
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "rick" == rick hoselton <hoz@univel.telescan.com> writes:
rick> On another note, timing attacks would not seem to work
rick> against most DES implementations, hardware or software. The
rick> time to execute each round does not seem to depend on the
rick> plaintext or the key. It could be made to, of course, but
rick> unless I'm missing something, the "natural" way to code it,
rick> or to construct hardware for it, is not time dependent.
Someone mentioned measuring power consumption instead of execution
time. I think the same statistics should apply in that case.
Of course this attack requires knowledge of the chip design, but that
should be possible to gain. It's certainly easier than reading
information from a protected EEPROM.
Andreas
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
iQCVAgUBMNCQGEyjTSyISdw9AQEt6wP+LWttWh2i9S8G/zvjU0cM0Rcw4uA/JGRo
Qb0QrTfEZ6NI/oCWe4JTZCEQCgGZJ9ApoZMERHTGi4568dD3Cn3jZCkGVYfbeYxq
ShOij0DaxkrjaRTsRgmhHVainB1bv5JE3heXYYRgGTLIDkclGtayz8VON3Yr7Oop
mSBr/Fot5B4=
=YOEs
-----END PGP SIGNATURE-----