Skip to main content
QUICK REVIEW

[Paper Review] Cryptanalysis of the SASI Ultralightweight RFID Authentication Protocol with Modular Rotations

Julio Hernández-Castro, Juan Tapiador|ArXiv.org|Nov 26, 2008
RFID technology advancementsEngineering9 references46 citations
TL;DR

This paper presents a passive cryptanalysis attack on the SASI ultralightweight RFID protocol using modular rotations, demonstrating that an adversary can recover up to 6 bits of the tag's secret ID through eavesdropped sessions. The attack exploits structural weaknesses in the rotation and modular arithmetic operations, enabling full secret ID recovery with sufficient session observations, and highlights design flaws in the protocol's use of bitwise OR and non-uniform message distributions.

ABSTRACT

In this work we present the first passive attack over the SASI lightweight authentication protocol with modular rotations. This can be used to fully recover the secret $ID$ of the RFID tag, which is the value the protocol is designed to conceal. The attack is described initially for recovering $\lfloor log_2(96) floor=6$ bits of the secret value $ID$, a result that by itself allows to mount traceability attacks on any given tag. However, the proposed scheme can be extended to obtain any amount of bits of the secret $ID$, provided a sufficiently large number of successful consecutive sessions are eavesdropped. We also present results on the attack's efficiency, and some ideas to secure this version of the SASI protocol.

Motivation & Objective

  • To analyze the security of the SASI protocol when modular rotations are used instead of Hamming-weight-based rotations.
  • To identify and exploit structural vulnerabilities in the protocol's message construction that arise from non-triangular operations and biased message distributions.
  • To demonstrate a passive attack that recovers bits of the secret ID through eavesdropping on consecutive authentication sessions.
  • To evaluate the efficiency and scalability of the attack in recovering increasing amounts of secret ID bits.
  • To provide design recommendations for strengthening future versions of the SASI protocol against such cryptanalytic techniques.

Proposed method

  • The attack is based on observing the distribution of the value (IDSnext - IDS) mod 96, derived from eavesdropped protocol messages.
  • It exploits the fact that the protocol's use of modular rotation and bitwise OR creates non-uniform message distributions, particularly in B and D messages.
  • The attack uses statistical analysis of the observed (IDSnext - IDS) mod 96 values to infer the least significant bits of the secret ID.
  • A key insight is that when the rotation amount is zero modulo 96, the rotation function becomes identity, simplifying the recovery of ID bits.
  • The method leverages the distributive-like property of the rotation function over XOR, enabling partial key recovery.
  • The attack is extended to recover more bits by accumulating data over many authenticated sessions, with success probability approaching 100% after ~2^10 sessions for 4 bits.

Experimental results

Research questions

  • RQ1Can a passive adversary recover bits of the secret ID in the SASI protocol when modular rotations are used?
  • RQ2How does the use of modular rotation instead of Hamming-weight-based rotation affect the protocol's security?
  • RQ3What statistical biases in message components (e.g., B and D) can be exploited to infer secret ID bits?
  • RQ4To what extent can the attack be scaled to recover more than 6 bits of the secret ID?
  • RQ5What design changes would make the protocol resilient to such passive cryptanalysis?

Key findings

  • The attack successfully recovers the least significant 6 bits of the secret ID with 100% success probability after observing a sufficient number of sessions.
  • A variant of the attack recovers up to 4 bits of the secret ID with 100% success probability after approximately 2^10 eavesdropped sessions, enabling traceability attacks.
  • The protocol's use of bitwise OR and modular rotation creates strong statistical biases in messages B and D, which are exploited in the attack.
  • The attack is scalable: more bits of the secret ID can be recovered by increasing the number of observed sessions.
  • The attack demonstrates that the use of modular rotation (Rot(A,B) = A << B mod 96) instead of Hamming-weight-based rotation makes the protocol vulnerable to passive cryptanalysis.
  • The attack's success is due to the distributive-like behavior of the rotation function over XOR, which allows partial key recovery from observable message components.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.