operating libnfc and cracking mifare classic

install

see mifare-install

dump & crack tags

apt install mfoc

WATCH THE STANDARD OUTPUT and verify that all (default) keys where found

mkdir -p ~/dev/mifare/
cd ~/dev/mifare/

mfoc -O guest.card
mfoc -O unknown.card
mfoc -O chinese.card
mfoc -O home.badge

now you can look closer to the content

hexdump -vC guest.card | less
hexdump -vC unknown.card | less
hexdump -vC chinese.card | less
hexdump -vC home.badge | less

clone the uid

place original card or badge

nfc-list -v

place chinese card or writable badge, clone and re-check

nfc-list -v
nfc-mfsetuid xxxxxxxx
nfc-list

further ado

nfc-mfclassic -h

TBD

resources

alternative

A simple tool to read/write Mifare RFID tags with an ACR122U device https://github.com/mdeverdelhan/ACR122U-reader-writer

dump & crack

nfc-tools/mfoc https://github.com/nfc-tools/mfoc

jellyjellyrobot/osx_mifare_install.sh https://gist.github.com/jellyjellyrobot/313b99f9f6534f10dafd9fa9d9a9984f

ACR122U, mfcuk, and mfoc: Cracking MIFARE Classic on Arch Linux https://linuskarlsson.se/blog/acr122u-mfcuk-and-mfoc-cracking-mifare-classic-on-arch-linux/

Cracking Mifare Classic NFC cards using the hardnested attack https://medium.com/@decrocksam/cracking-mifare-classic-nfc-cards-using-the-hardnested-attack-506aab3ea305

How to hack Mifare Classic NFC cards https://medium.com/@lp1/how-to-hack-mifare-classic-nfc-cards-69c8edcbe1e7

How to Crack Mifare Classic Cards https://firefart.at/post/how-to-crack-mifare-classic-cards/

Cloning a MIFARE Classic 1k https://mathieu.daitauha.fr/nfc-mifare-classic-1k/

gistfile1.md https://gist.github.com/alphazo/3303282

cards

Know your magic cards https://lab401.com/blogs/academy/know-your-magic-cards

[WIP] List of uid changeable cards http://www.proxmark.org/forum/viewtopic.php?id=6545

HOME | GUIDES | PLAYBOOKS | LECTURES | LAB | CONTACT | HTML | CSS
Licensed as MIT