1 / 15

Timing Attacks on Elliptic Curve Cryptosystems (ECC)

Timing Attacks on Elliptic Curve Cryptosystems (ECC). Zhijian Lu Matthew Mah Michael Neve Eric Peeters. Side Channel Attack Use known texts to measure timings Use statistical methods to guess key from timings. Input. Protocol, smartcard. Time. Output. Timing Attacks.

chaz
Download Presentation

Timing Attacks on Elliptic Curve Cryptosystems (ECC)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Timing Attacks on Elliptic Curve Cryptosystems (ECC) Zhijian Lu Matthew Mah Michael Neve Eric Peeters

  2. Side Channel Attack Use known texts to measure timings Use statistical methods to guess key from timings Input Protocol, smartcard Time Output Timing Attacks

  3. How to Guess a Key Bit 1:00 1:00 1:00 2:00

  4. m? or Timing Attack on RSA Montgomery Algorithm to perform (md): x = m for i = n – 2 downto 0 x = x2 if (dj == 1) then x = x * m // modular reduction? end return x

  5. ECC

  6. ECC Public Key Cryptosystem Y=y P Public Key Private Key Security: Difficult to solve for y by calculating P, 2P, ...,yP =Y But there is efficient algorithm for computing kP

  7. ? Timing Attack On ECC Montgomery Algorithm for ECC Output: kP Q = 0 for i from t –1 downto 0 do Q = 2Q if ki == 1 then Q = Q + P Return Q

  8. ? Steps Examined P + Q = R s = (yP + yQ) / (xP + xQ) xR = s2 + s + xP + xQ + a (parameter of curve) yR = s(xP + xR) + xR + yP 1/(xP + xQ) s2

  9. ? For implementation we found Timing Attack On ECC Montgomery Algorithm for ECC Output: kP Q = 0 for i from t –1 downto 0 do Q = 2Q if ki == 1 then Q = Q + P Return Q

  10. Timing Attack on ECC (cont) A vulnerable implementation if ki == 1 then if sleep(1000) else sleep (100) Q = Q + P

  11. Conclusions Timing attacks depend on implementation Timing attacks possible on many systems (RSA, ECC, etc.) Never let your advisor choose your topic for you...

  12. El Gamal Known: Elliptic Curve, P (Base Point), Y (public key) Alice m, k a=kP G=kY b=m+G c=(a,b) Bob G'=ya m'=b-G'=m proof m'=b-G'=b-ya=b-ykP=b-kY=m+G-kY=m+kY-kY=m

More Related