PM3 Commands Reference (Iceman Firmware):

Updated: January 2025

Main Help


Up One Level


Current command:
lf em 4x70 autorecover --help


This command will perform automatic recovery of the key from a writable tag.
All steps are possible to do manually.  The corresponding sequence, if done
manually, is as follows:
1. Verify passed parameters authenticate with the tag (safety check)
   lf em 4x70 auth --rnd <rnd_1> --frn <frn_1>
2. Brute force the key bits in block 9
   lf em 4x70 write -b 9 -d 0000
   lf em 4x70 recover -b 9 --rnd <rnd_1> --frn <frn_1>
   lf em 4x70 write -b 9 -d <key_block_9>
3. Brute force the key bits in block 8
   lf em 4x70 write -b 8 -d 0000
   lf em 4x70 recover -b 8 --rnd <rnd_1> --frn <frn_1>
   lf em 4x70 write -b 8 -d <key_block_8>
4. Brute force the key bits in block 7
   lf em 4x70 write -b 7 -d 0000)
   lf em 4x70 recover -b 7 --rnd <rnd_1> --frn <frn_1>
   lf em 4x70 write -b 7 -d <key_block_7>
5. Recover potential values of the lower 48 bits of the key
   lf em 4x70 recover --key <key_block_9><key_block_8><key_block_7> --rnd <rnd_1> --frn <frn_1>
6. Verify which potential key is actually on the tag (using a different rnd/frn combination)
   lf em 4x70 auth --rnd <rnd_2> --frn <frn_N>
7. Print the validated key

This command simply requires the rnd/frn/grn from a single known-good authentication.


usage:
    lf em 4x70 autorecover [--par] --rnd <hex> --frn <hex> --grn <hex>

options:
    -h, --help                     This help
    --par                          Add parity bit when sending commands
    --rnd <hex>                    Random 56-bit from known-good authentication
    --frn <hex>                    F(RN) 28-bit as 4 hex bytes from known-good authentication
    --grn <hex>                    G(RN) 20-bit as 3 hex bytes from known-good authentication

examples/notes:
    lf em 4x70 autorecover --rnd 45F54ADA252AAC --frn 4866BB70 --grn 9BD180   (pm3 test key)
    lf em 4x70 autorecover --rnd 3FFE1FB6CC513F --frn F355F1A0 --grn 609D60   (research paper key)
    lf em 4x70 autorecover --rnd 7D5167003571F8 --frn 982DBCC0 --grn 36C0E0   (autorecovery test key)