Hitag2
NXP's 48-bit RFID stream cipher used in car immobilisers; practically broken
Overview
Hitag2 is a proprietary stream cipher used by NXP in RFID transponders, notably in vehicle immobilisers and remote keyless entry systems. Its 48-bit key and simple structure have been comprehensively broken.
Hitag2 uses a 48-bit linear feedback shift register filtered through a two-level non-linear Boolean function that combines 20 register bits into one output bit. During authentication the tag's identifier and a reader nonce are loaded into the register together with the secret key. The algorithm was reverse-engineered from the transponders.
NextSSL includes Hitag2 for security research and analysis of existing systems. Many vehicles that rely on Hitag2-based immobilisers remain in service, which is why tools for analysing it remain relevant to security research. Hitag2 is a standard example of why proprietary ciphers with short keys fail once their design is reverse-engineered.
Security notes
Hitag2 is broken: published attacks recover the 48-bit key from a small number of authentication traces in minutes, and have been demonstrated against real vehicle immobilisers. It must not be used to protect anything.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Hitag2 hitag2 |
unverified | key 6 · nonce 8 | — | root |
Frequently asked questions
Which Hitag2 variants does NextSSL include?
NextSSL registers 1 Hitag2 variant: hitag2.