LinuxCommandLibrary

mfoc

TLDR

Recover keys

$ mfoc -O [output.mfd]
copy
Use known keys
$ mfoc -f [keys.txt] -O [output.mfd]
copy
Specify reader
$ mfoc -r [0] -O [output.mfd]
copy
Verbose output
$ mfoc -v -O [output.mfd]
copy
Set probe key
$ mfoc -k [FFFFFFFFFFFF] -O [output.mfd]
copy

SYNOPSIS

mfoc [options] -O output

DESCRIPTION

mfoc cracks MIFARE Classic cards. It recovers encryption keys using the nested authentication attack.
The tool is for security research. It dumps card contents after key recovery.
mfoc recovers MIFARE keys.

PARAMETERS

-O FILE

Output dump file.
-f FILE
Key file to use.
-k KEY
Try specific key.
-r NUM
Reader number.
-v
Verbose output.
--help
Display help information.

CAVEATS

Security research tool. Legal use only. Requires NFC reader.

HISTORY

mfoc (MIFARE Classic Offline Cracker) exploits cryptographic weaknesses in MIFARE Classic cards.

SEE ALSO

mfterm(1), nfc-list(1), libnfc(1)

Copied to clipboard