project:freakcard:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| project:freakcard:start [2018/11/09 11:39] – [High Frequency (HF) card] Desfire specs, notes about new Desfire EV2 abyssal | project:freakcard:start [2021/06/05 17:28] (current) – [Biometric NFC passport and emulation] abyssal | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| * old [[https:// | * old [[https:// | ||
| * new [[https:// | * new [[https:// | ||
| + | * [[https:// | ||
| The best revision for OS code is rev 838 from old SVN repo. All the stuff that I checked that should work works. | The best revision for OS code is rev 838 from old SVN repo. All the stuff that I checked that should work works. | ||
| Line 31: | Line 32: | ||
| There is also a library available for PC/SC readers that supports many kinds of cards, but you need specific reader for each separate card - https:// | There is also a library available for PC/SC readers that supports many kinds of cards, but you need specific reader for each separate card - https:// | ||
| + | |||
| + | ======= Proxmark new versions - RDV4, EVO and pack with PN532 reader with Chameleon mini ======= | ||
| + | |||
| + | There are new versions of Proxmark, which are more compact, see the comparison table in the links at the bottom of the page | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | ======= PN532-based readers ======= | ||
| + | |||
| + | PN532 based readers: | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * [[http:// | ||
| + | |||
| + | ======= Software for PN532 readers ======= | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * [[https:// | ||
| ====== Decision tree. ====== | ====== Decision tree. ====== | ||
| Line 282: | Line 308: | ||
| Ultralight EV1 and NTAG2/1 can be [[https:// | Ultralight EV1 and NTAG2/1 can be [[https:// | ||
| + | |||
| + | == Magic NTAG2x, magic Ultralight C and magic Desfire == | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | There is a special [[https:// | ||
| + | |||
| + | Information about the cards from proxmark (hf mfu i): | ||
| + | |||
| + | < | ||
| + | proxmark3> | ||
| + | |||
| + | --- Tag Information --------- | ||
| + | ------------------------------------------------------------- | ||
| + | TYPE : MIFARE Ultralight (MF0ICU1) < | ||
| + | UID : 11 22 33 55 66 77 88 | ||
| + | UID[0] : 11, Emosyn-EM Microelectronics USA | ||
| + | BCC0 : 44, crc should be 88 | ||
| + | BCC1 : FF, crc should be CC | ||
| + | Internal : FF, not default | ||
| + | Lock : ff ff - 1111111111111111 | ||
| + | OneTimePad : ff ff ff ff - 11111111111111111111111111111111 | ||
| + | | ||
| + | | ||
| + | proxmark3> | ||
| + | |||
| + | --- Tag Information --------- | ||
| + | ------------------------------------------------------------- | ||
| + | TYPE : MIFARE Ultralight C (MF0ULC) < | ||
| + | UID : 00 00 00 00 00 00 00 | ||
| + | UID[0] : 00, no tag-info available | ||
| + | BCC0 : 00, crc should be 88 | ||
| + | BCC1 : 00, Ok | ||
| + | Internal : 00, not default | ||
| + | Lock : 00 00 - 0000000000000000 | ||
| + | OneTimePad : 00 00 00 00 - 00000000000000000000000000000000 | ||
| + | | ||
| + | --- UL-C Configuration | ||
| + | | ||
| + | | ||
| + | Auth0 [42/0x2A] : 00 00 00 00 default | ||
| + | Auth1 [43/0x2B] : 00 00 00 00 read and write access restricted | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | 3des key : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ||
| + | </ | ||
| + | |||
| + | This shop sells [[https:// | ||
| + | |||
| + | == Magic Desfire == | ||
| + | |||
| + | The "magic Desfire" | ||
| + | |||
| + | * writing NDEF file seems to succeed, but read fails, you get just zeros | ||
| + | * libfreefare segfaults with the magic Desfire | ||
| + | * any SELECT APDU is responded to with OK, but there are no real applications | ||
| + | |||
| + | In short, waste of money. | ||
| + | |||
| + | Setting UID on magic Desfire with Proxmark: | ||
| + | |||
| + | < | ||
| + | hf 14a raw -s -c 02 00 ab 00 00 07 UID | ||
| + | </ | ||
| == other mifare cards == | == other mifare cards == | ||
| Line 337: | Line 430: | ||
| Proxmark can read them and so can some android phones. | Proxmark can read them and so can some android phones. | ||
| - | They contain UID and 64 bytes of data. Reading with proxmark can be done with: | + | They contain UID and 4-byte blocks |
| < | < | ||
| - | hf 15 dumpmemory | + | pm3 --> |
| + | | ||
| + | TYPE : EM-Marin SA (Skidata); EM4233 [IC id = 09] 23,5pF CustomerID-102 | ||
| + | pm3 --> hf 15 dump | ||
| + | [=] Using UID as filename | ||
| + | Reading memory from tag UID E0 16 24 66 1E C1 A5 AD | ||
| + | ....................................................[-] Tag returned Error 15: Unknown error. | ||
| + | |||
| + | |||
| + | block# | ||
| + | ---------+--------------+---+---------- | ||
| + | 0/0x00 | 3F 08 1A 4D | 0 | ?..M | ||
| + | 1/0x01 | 82 18 60 20 | 0 | ..` | ||
| + | 2/0x02 | 00 38 00 50 | 0 | .8.P | ||
| + | 3/0x03 | 1C 48 33 00 | 0 | .H3. | ||
| + | 4/0x04 | 1B 00 00 00 | 0 | .... | ||
| + | 5/0x05 | 00 00 00 00 | 0 | .... | ||
| + | 6/0x06 | 00 00 00 00 | 0 | .... | ||
| + | 7/0x07 | 00 00 00 00 | 0 | .... | ||
| + | 8/0x08 | 00 00 00 00 | 0 | .... | ||
| + | 9/0x09 | 00 00 00 00 | 0 | .... | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| </ | </ | ||
| - | Latest proxmark 2.3.0 has some basic ISO 15693 simulation functionality, but it's not working properly yet. | + | Rfxsecure.com sells magic ISO-15693 cards with changeable UID. Either you need the iso15_magic from RRG repo or "hf 15 csetuid" |
| - | AFAIK there are no " | + | Changing |
| + | < | ||
| + | proxmark3> | ||
| + | #db# 12 octets read from IDENTIFY request: | ||
| + | #db# NoErr CrcOK | ||
| + | #db# 00 00 bf a5 c1 1e 66 24 | ||
| + | #db# 16 e0 56 a3 | ||
| + | #db# UID = E01624661EC1A5BF | ||
| + | proxmark3> | ||
| + | | ||
| + | new UID | e0 16 24 66 1e c1 a5 ca | ||
| + | Using backdoor Magic tag function | ||
| + | received -1 octets | ||
| + | |||
| + | Thread 4 " | ||
| + | |||
| + | </ | ||
| + | |||
| + | With the magic scripts: | ||
| + | |||
| + | < | ||
| + | script run iso15_magic.lua -u E004013344556677 | ||
| + | </ | ||
| + | Neither will work on the first time likely. Retry at least 3 times. Same with "hf 15 dump" and "hf 15 restore" | ||
| + | Note on cloned skipass ISO-15693 cards - they have counter in sector 2, so as soon as your cloned cards will desync, one of them will stop working. | ||
| ==== Low Frequency card ==== | ==== Low Frequency card ==== | ||
| Emulation in general: http:// | Emulation in general: http:// | ||
| Line 446: | Line 626: | ||
| Usage around: building access system | Usage around: building access system | ||
| - | This information pertains to model Paradox C704. Full decoding in proxmark is not implemented, | + | This information pertains to model Paradox C704. Full decoding in proxmark is implemented, |
| < | < | ||
| proxmark3> | proxmark3> | ||
| proxmark3> | proxmark3> | ||
| - | proxmark3> | + | loaded 40000 samples |
| + | proxmark3> | ||
| + | proxmark3> | ||
| + | Paradox TAG ID: 000328176 (Full ID: 0ca05dadf) - FC: 50 - Card: 33142 - Checksum: b7 - RAW: 0f555555a5995566a699a6aa | ||
| </ | </ | ||
| Emulate: | Emulate: | ||
| - | Not implemented in proxmark code, but the HID Prox emulation | + | Latest |
| + | |||
| + | < | ||
| + | pm3 --> lf paradox sim 50 33142 | ||
| + | Simulating Paradox - Facility | ||
| + | </code> | ||
| === T55x7 universal emulation card === | === T55x7 universal emulation card === | ||
| Line 489: | Line 678: | ||
| * [[http:// | * [[http:// | ||
| - | ===== Radio chips XXX ===== | + | ===== Biometric passports with ISO-14443A NFC chip, chip emulation |
| + | |||
| + | Passports can be read with [[http:// | ||
| + | |||
| + | < | ||
| + | python2 mrpkey.py -g -R READER_LIBNFC ' | ||
| + | </ | ||
| + | |||
| + | Note the code is old, you need python2 and some patching to make it run. | ||
| + | |||
| + | There is also attempt at emulation of passport - https:// | ||
| + | |||
| + | Run with in proxmark3 shell (use old client, old bootloader, old fullimage) | ||
| + | |||
| + | < | ||
| + | hf 14a sim 5 01020304 | ||
| + | </ | ||
| + | |||
| + | It is quite difficult to build now, also you will definitely need JTAG adapter as you would otherwise brick Proxmark in process. | ||
| + | |||
| + | Everything on passport chip is plaintext except fingerprint. | ||
| - | * hcs300 | + | Prebuilt image (flash bootloader.elf and fullimage.elf in one session): |
| - | * Can be broken XXX | + | |
| - | * NXP UCODE (passive UHF) | + | |
| - | * NXP ICODE (HF) | + | |
| - | * NXP HITAG (LF) | + | |
| + | {{ : | ||
| ===== RF Theory and antennas ===== | ===== RF Theory and antennas ===== | ||
| [[http:// | [[http:// | ||
| Line 691: | Line 897: | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | |||
project/freakcard/start.1541763567.txt.gz · Last modified: 2018/11/09 11:39 by abyssal