PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf mf chk --help


Check keys on MIFARE Classic card

usage:
    hf mf chk [-hab*] [-k <hex>]... [--tblk <dec>] [--mini] [--1k] [--2k] [--4k] [--emu] [--dump] [-f <fn>]

options:
    -h, --help                     This help
    -k, --key <hex>                Key specified as 12 hex symbols
    --tblk <dec>                   Target block number
    -a                             Target Key A
    -b                             Target Key B
    -*, --all                      Target both key A & B (default)
    --mini                         MIFARE Classic Mini / S20
    --1k                           MIFARE Classic 1k / S50 (default)
    --2k                           MIFARE Classic/Plus 2k
    --4k                           MIFARE Classic 4k / S70
    --emu                          Fill simulator keys from found keys
    --dump                         Dump found keys to binary file
    -f, --file <fn>                Filename of dictionary

examples/notes:
    hf mf chk --mini -k FFFFFFFFFFFF                    -> Check all sectors, all keys against MIFARE Mini
    hf mf chk --1k -k FFFFFFFFFFFF                      -> Check all sectors, all keys against MIFARE Classic 1k
    hf mf chk --2k -k FFFFFFFFFFFF                      -> Check all sectors, all keys against MIFARE 2k
    hf mf chk --4k -k FFFFFFFFFFFF                      -> Check all sectors, all keys against MIFARE 4k
    hf mf chk --1k --emu                                -> Check all sectors, all keys, 1K, and write to emulator memory
    hf mf chk --1k --dump                               -> Check all sectors, all keys, 1K, and write to file
    hf mf chk -a --tblk 0 -f mfc_default_keys.dic       -> Check dictionary against block 0, key A