|
|
(7 versions intermédiaires par le même utilisateur non affichées) |
Ligne 1 : |
Ligne 1 : |
| ===Prérequis===
| | * [[Opérations de base sur le NFC]] |
| * Drivers : http://www.scm-pc-card.de/index.php?lang=en&page=download&function=show_downloads&product_id=610 | | * [[NFC Coffee POC]] |
| * Pcsclite : https://alioth.debian.org/frs/?group_id=30105 | | * [[Dump Credit Card]] |
| * libnfc-1.7.0 : http://libnfc.googlecode.com/files/libnfc-1.7.0-rc7.tar.gz
| |
| * Patcher libnfc pour la réécriture du secteur 0 : https://gist.github.com/alphazo/3303282
| |
| * blacklister nfc et pn533 (debian) dans /etc/modprobe.d/blacklist-libnfc.conf
| |
| blacklist pn533
| |
| blacklist nfc
| |
| * mfoc : https://code.google.com/p/mfoc/ | |
| | |
| ===Clone d'une carte NFC===
| |
| ====Lecture de la carte vierge====
| |
| | |
| # nfc-list
| |
| nfc-list uses libnfc 1.5.1 (r1175)
| |
| Connected to NFC device: SCM Micro / SCL3711-NFC&RW - PN533 v2.7 (0x07)
| |
| 1 ISO14443A passive target(s) found:
| |
| ATQA (SENS_RES): 00 04
| |
| UID (NFCID1): 00 00 00 00
| |
| SAK (SEL_RES): 08
| |
| | |
| ====Dump de la carte vierge et obtention des clef (identification)====
| |
| | |
| # mfoc -P 500 -O blank-chinese.dmp
| |
| | |
| ====Lecture de la carte à cloner====
| |
| | |
| # nfc-list
| |
| nfc-list uses libnfc 1.5.1 (r1175)
| |
| Connected to NFC device: SCM Micro / SCL3711-NFC&RW - PN533 v2.7 (0x07)
| |
| 1 ISO14443A passive target(s) found:
| |
| ATQA (SENS_RES): 00 04
| |
| UID (NFCID1): 9b 97 4f 19
| |
| SAK (SEL_RES): 08
| |
| | |
| ====Dump de la carte à cloner====
| |
| | |
| # mfoc -P 500 -O cardtocopy.dmp
| |
| | |
| ====Ecriture du dump sur la carte vierge====
| |
| | |
| # nfc-mfclassic w b cardtocopy.dmp blank-chinese.dmp
| |
| | |
| ou
| |
| | |
| # nfc-mfclassic w a cardtocopy.dmp blank-chinese.dmp
| |
| | |
| ====Vérification que les deux cartes sont les mêmes====
| |
| | |
| # nfc-list
| |
| nfc-list uses libnfc 1.5.1 (r1175)
| |
| Connected to NFC device: SCM Micro / SCL3711-NFC&RW - PN533 v2.7 (0x07)
| |
| 1 ISO14443A passive target(s) found:
| |
| ATQA (SENS_RES): 00 04
| |
| UID (NFCID1): 9b 97 4f 19
| |
| SAK (SEL_RES): 08
| |
| | |
| ====Pour restaurer la carte vierge====
| |
| | |
| # nfc-mfclassic w b blank-chinese.dmp cardtocopy.dmp
| |
| | |
| ou
| |
| | |
| # nfc-mfclassic w a blank-chinese.dmp cardtocopy.dmp
| |