# VW Golf 2011 key fob — decoded codes Capture: HackRF One, 434 MHz, 8 MSPS. Modulation: **OOK + Manchester**, chip ≈ 294.6 µs (~590 µs/bit, ~1.7 kbps). Each frame = **96 bits**, repeated several times per press. ## Frame structure (96 bits) | Bits | Field | Value / behaviour | |-------|--------------------|--------------------------------------------| | 0–24 | Fixed prefix / ID | `010101111000111001111111 1` → `0x578E7F…` (same for every press & every button) | | 25–89 | **Rolling code** | ~64 bits, **different on every press** | | 90–95 | **Button code** | LOCK=`101010` UNLOCK=`110001` TRUNK=`011100` | ## Codes, per press (full 96-bit payload + hex) ### LOCK (button code 101010, hex ends ...EA) 1. `010101111000111001111111110011001101001000101111110111110100000000111111101000111101101011101010` = 578E7FCCD22FDF403FA3DAEA 2. `010101111000111001111111111101111000010111010000110111010110011001111000100101110001111111101010` = 578E7FF785D0DD6678971FEA 3. `010101111000111001111111100100010000100101101100001001110101101000000110000001011001000011101010` = 578E7F91096C275A060590EA ### UNLOCK (button code 110001, hex ends ...71) 1. `010101111000111001111111100011001000011001000000001100101110011100111011010110110010011011110001` = 578E7F8C864032E73B5B26F1 2. `010101111000111001111111101011110000110000011000111100000100011011010011100011000000010101110001` = 578E7FAF0C18F046D38C0571 3. `010101111000111001111111100110111011100011100010100011011011111001111101111001111110001001110001` = 578E7F9BB8E28DBE7DE7E271 ### TRUNK (button code 011100, hex ends ...DC/5C) 1. `010101111000111001111111100100001000111010001011010101010001101001101000100001001010000001011100` = 578E7F908E8B551A6884A05C 2. `01010111100011100111111110110001001011101011111100000000011101110011111010001000000011011011100` = 578E7FB12EBF00773F4406DC 3. `0101011110001110011111111110001011100001100010000010110101010101011101111001110111010111111011100` = 578E7FE2E1882D55773BAFDC 4. `010101111000111001111111101011110111101100111011010000111001011010001111111111010011000111011100` = 578E7FAF7B3B43968FFD31DC 5. `010101111000111001111111111101010100110101101100000000110011111000110100010100001001101111011100` = 578E7FF54D6C033E34509BDC ## Proof of rolling code - **Within one press:** every repeated frame is byte-for-byte identical (the fob sends the same code 2–5 times so the car hears it). - **Across presses of the same button:** the 24-bit prefix and the 6-bit button code stay fixed, but the ~64-bit middle changes completely every single press — never repeats. - A captured code is therefore valid only once; replaying an old one is rejected by the car.