PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf iclass decrypt --help


3DES decrypt data
This is a naive implementation, it tries to decrypt every block after block 6.
Correct behaviour would be to decrypt only the application areas where the key is valid,
which is defined by the configuration block.

OBS!
In order to use this function, the file `iclass_decryptionkey.bin` must reside
in the resources directory. The file must be 16 bytes binary data
or...
make sure your cardhelper is placed in the sim module

usage:
    hf iclass decrypt [-hvz] [-f <fn>] [-d <hex>] [-k <hex>] [--d6]

options:
    -h, --help                     This help
    -f, --file <fn>                Specify a filename for dump file
    -d, --data <hex>               3DES encrypted data
    -k, --key <hex>                3DES transport key
    -v, --verbose                  verbose output
    --d6                           decode as block 6
    -z, --dense                    dense dump output style

examples/notes:
    hf iclass decrypt -f hf-iclass-AA162D30F8FF12F1-dump.bin
    hf iclass decrypt -f hf-iclass-AA162D30F8FF12F1-dump.bin -k 000102030405060708090a0b0c0d0e0f
    hf iclass decrypt -d 1122334455667788 -k 000102030405060708090a0b0c0d0e0f