hb increasing the security
play

HB # : increasing the security and effjciency of HB + Henri Gilbert, - PowerPoint PPT Presentation

HB # : increasing the security and effjciency of HB + Henri Gilbert, Matt Robshaw, and Yannick Seurin Eurocrypt 2008 April 16, 2008 intro HB+ random-HB # HB # general MIM attacks conclusion the context pervasive computing (RFID tags . .


  1. HB # : increasing the security and effjciency of HB + Henri Gilbert, Matt Robshaw, and Yannick Seurin Eurocrypt 2008 – April 16, 2008

  2. intro HB+ random-HB # HB # general MIM attacks conclusion the context pervasive computing (RFID tags . . . ) the issue: protection against duplication and counterfeiting = ⇒ authen- tication pervasive = very low cost = ⇒ very few gates for security current proposed solutions use e.g. light-weight block ciphers ( aes , present . . . ) dedicated asymmetric cryptography (crypto- gps , squash ) protocols based on abstract hash functions and PRFs recent proposal HB + at Crypto ’05 by Juels and Weis: very simple, security proof Eurocrypt 2008 ± Y. Seurin 1/22 Orange Labs

  3. intro HB+ random-HB # HB # general MIM attacks conclusion outline HB + : strengths and weaknesses introducing random -HB # introducing HB # Ouafi et al. ’s MIM attack conclusions Eurocrypt 2008 ± Y. Seurin 2/22 Orange Labs

  4. intro HB+ random-HB # HB # general MIM attacks conclusion the ancestor HB [Hopper and Blum 2001] tag reader k -bit secret vector x k -bit secret vector x draw a random a − − − − − − − − ← k -bit challenge a compute z = a · x ⊕ ν z where ν is a noise bit − − − − − − − − check z = a · x → Pr [ ν = 1 ] = η < 1 2 this is repeated for r rounds the authentication is successful iff at most t rounds have been rejected ( t > ηr ) Eurocrypt 2008 ± Y. Seurin 3/22 Orange Labs

  5. intro HB+ random-HB # HB # general MIM attacks conclusion the protocol HB + [Juels and Weis 2005] tag reader k -bit secret k -bit secret vectors x and y vectors x and y draw a random b − − − − − − − − − → k -bit blinding vector b a draw a random − − − − − − − − ← k -bit challenge a compute z = a · x ⊕ b · y ⊕ ν z − − − − − − − − check z = a · x ⊕ b · y → where Pr [ ν = 1 ] = η < 1 2 this is repeated for r rounds the authentication is successful iff at most t rounds have been rejected ( t > ηr ) Eurocrypt 2008 ± Y. Seurin 4/22 Orange Labs

  6. intro HB+ random-HB # HB # general MIM attacks conclusion the protocol HB + typical parameter values are: k ≃ 250 (length of the secret vectors) η ≃ 0.125 to 0.25 (noise level) r ≃ 80 (number of rounds) t ≃ 30 (acceptance threshold) necessary trade-off between false accep- tance rate, false rejection rate and effi- ciency rounds can be parallelized [Katz, Shin, distribution of the number of errors 2006] practical limitation: transmission costs ( 2kr + r bits, = tens of thousands) Eurocrypt 2008 ± Y. Seurin 5/22 Orange Labs

  7. intro HB+ random-HB # HB # general MIM attacks conclusion the security of HB + HB is provably secure against passive (eavesdropping) attacks HB + is provably secure against active (in some sense) attacks the security relies on the hardness of the Learning from Parity with Noise (LPN) problem: Given q noisy samples ( a i , a i · x ⊕ ν i ) , where x is a secret k -bit vector and Pr [ ν i = 1 ] = η , find x . similar to the problem of decoding a random linear code (NP-complete) best solving algorithms require T, q = 2 Θ ( k/ log ( k )) : BKW [2003] , LF [2006] numerical examples: for k = 512 and η = 0.25 , LF requires q ≃ 2 89 for k = 768 and η = 0.01 , LF requires q ≃ 2 74 Eurocrypt 2008 ± Y. Seurin 6/22 Orange Labs

  8. intro HB+ random-HB # HB # general MIM attacks conclusion security models passive attacks : the adversary can only eavesdrop the conversations be- tween an honest tag and an honest reader, and then tries to impersonate the tag active attacks on the tag only (a.k.a. active attacks in the detection model): the adversary first interacts with an honest tag (actively, but without ac- cess to the reader), and then tries to impersonate the tag man-in-the-middle attacks (a.k.a. active attacks in the prevention model): the adversary can manipulate the tag-reader conversation and observe whether the authentication is successful or not passive active (TAG) active (MIM) HB OK KO KO HB + OK OK KO Eurocrypt 2008 ± Y. Seurin 7/22 Orange Labs

  9. intro HB+ random-HB # HB # general MIM attacks conclusion a MIM attack against HB + [GRS 2005] tag reader k -bit secret k -bit secret vectors x and y vectors x and y draw a random b − − − − − − − − → k -bit blinding vector b draw a random a ′ = a ⊕ δ a − − − − − Adv! − ← ← k -bit challenge a compute z ′ = a ′ · x ⊕ b · y ⊕ ν z ′ = z ⊕ δ · x check z ′ = a · x ⊕ b · y − − − − − − − − − → where Pr [ ν = 1 ] = η < 1 2 accept? → δ · x = 0 reject? → δ · x = 1 at each round, the noise bit ν i is replaced by ν i ⊕ δ · x Eurocrypt 2008 ± Y. Seurin 8/22 Orange Labs

  10. intro HB+ random-HB # HB # general MIM attacks conclusion a MIM attack against HB + [GRS 2005] one authentication enables to retrieve one bit of x repeating the procedure with | x | linearly independent δ ’s enables to derive x impersonating the tag is then easy (use b = 0 ) note that the authentication fails ≃ half of the time: this may raise an alarm (hence the name detection-based model) distribution of the number of errors Eurocrypt 2008 ± Y. Seurin 9/22 Orange Labs

  11. intro HB+ random-HB # HB # general MIM attacks conclusion previous variants of HB + three recent proposals aiming at thwarting MIM attacks: HB-MP [Munilla and Peinado, 2007] HB ∗ [Duc and Kim, 2007] HB ++ [Bringer, Chabanne and Dottax, 2006] these three variants have been cryptanalysed recently [Gilbert, Robshaw and Seurin (FC ’08)] latest proposals . . . Trusted-HB [Bringer, Chabanne, 2008] PUF-HB [Hammouri, Sunar, ACNS 2008] Eurocrypt 2008 ± Y. Seurin 10/22 Orange Labs

  12. intro HB+ random-HB # HB # general MIM attacks conclusion introducing random -HB # tag reader k X × m and k Y × m -bit k X × m and k Y × m -bit secret matrices X and Y secret matrices X and Y draw a random b − − − − − − − − − → k Y -bit blinding vector b draw a random a − − − − − − − − ← k X -bit challenge a compute z = a · X ⊕ b · Y ⊕ ν check z − − − − − − − − → where Pr [ ν [ i ] = 1 ] = η < 1 Hwt ( z ⊕ a · X ⊕ b · Y ) � t 2 one single pass accept iff the number of errors is less than some threshold t > ηm Eurocrypt 2008 ± Y. Seurin 11/22 Orange Labs

  13. intro HB+ random-HB # HB # general MIM attacks conclusion introducing random -HB # HB + = many blinding vector/challenge pairs ( a i , b i ) , one secret pair ( x , y ) random -HB # = one blinding vector/challenge pair ( a , b ) , many secret pairs ( x i , y i ) ⇒ effectively reduces the communication complexity Eurocrypt 2008 ± Y. Seurin 12/22 Orange Labs

  14. intro HB+ random-HB # HB # general MIM attacks conclusion security models: refjnement recall the three models: passive attacks (eavesdropping) TAG attacks (the adversary can actively query an honest tag) MIM attacks (man-in-the-middle attacks, the adversary can manipu- late the tag-reader conversation and observe whether the authentica- tion is successful or not) we refine the MIM model and define the GRS-MIM attacks: the adversary can only manipulate the messages from the reader to the tag HB + is susceptible to linear-time GRS-MIM attacks (hence the name) Eurocrypt 2008 ± Y. Seurin 13/22 Orange Labs

  15. intro HB+ random-HB # HB # general MIM attacks conclusion security proof for random -HB # relies on the MHB-puzzle: Given q noisy samples ( a i , a i · X ⊕ ν i ) , where X is a secret k × m matrix and Pr [ ν i [ j ] = 1 ] = η , and a random challenge a , find a · X . LPN is hard implies that no efficient adversary can guess a · X with 1 probability noticeably greater than 2 m this is proved using results on weakly verifiable puzzles [CHS05] ; see the full version of the paper Eurocrypt 2008 ± Y. Seurin 14/22 Orange Labs

  16. intro HB+ random-HB # HB # general MIM attacks conclusion security proof for random -HB # we reduce the security of random -HB # in the GRS-MIM model to the LPN problem: security against → security against 3 2 1 − → MHB puzzle − − → LPN problem GRS-MIM TAG attacks attacks 1: weakly verifiable puzzles 2: technical . . . (see the paper) 3: if the adversary adds δ to the challenge a , the additional error vector δ · X will have very high Hamming weight (because of the high minimal distance of X) and the reader will always reject general MIM adversaries are not handled by our security proof . . . Eurocrypt 2008 ± Y. Seurin 15/22 Orange Labs

  17. intro HB+ random-HB # HB # general MIM attacks conclusion introducing HB # main drawback of random -HB # is storage: ( k X + k Y ) · m bits, i.e. tens of Kbits HB # is identical to random -HB # except for   t 3 t 2 t 1 the form of the matrices: it uses Toeplitz ma- t 3 t 2 trices   ...   t 3   reduces the storage requirements to t k + m − 1 ( k X + k Y + 2m − 2 ) bits: practical ( ≃ 1.5 Kbits) Toeplitz matrices have good randomization properties: ( x → x · T ) T is a 1/2 m -balanced function family (for any non-zero vector a , a · T is uniformly distributed) Eurocrypt 2008 ± Y. Seurin 16/22 Orange Labs

Recommend


More recommend