dotnfc / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Timeout SCL3711 mfoc #276

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, i have a Problem with libnfc and a mifare classic 1k card:

System:
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux

root@debian:~/mfcuk-read-only# nfc-list
nfc-list uses libnfc libnfc-1.7.1-10-gbd92f74
NFC device: SCM Micro / SCL3711-NFC&RW opened
1 ISO14443A passive target(s) found:
ISO/IEC 14443A (106 kbps) target:
    ATQA (SENS_RES): 00  04
       UID (NFCID1): 77  32  a8  f2
      SAK (SEL_RES): 88

ISO/IEC 14443A (106 kbps) target:
    ATQA (SENS_RES): 00  04
* UID size: single
* bit frame anticollision supported
       UID (NFCID1): 77  32  a8  f2
      SAK (SEL_RES): 88
* Not compliant with ISO/IEC 14443-4
* Not compliant with ISO/IEC 18092

Fingerprinting based on MIFARE type Identification Procedure:
* SmartMX with MIFARE 1K emulation
Other possible matches based on ATQA & SAK values:
* Mifare Classic 1K Infineon

Try to authenticate to all sectors with default keys...
Symbols: '.' no key found, '/' A key found, '\' B key found, 'x' both keys found
[Key: ffffffffffff] -> [................]
[Key: a0a1a2a3a4a5] -> [/...............]
[Key: d3f7d3f7d3f7] -> [/...............]
[Key: 000000000000] -> [/...............]
[Key: b0b1b2b3b4b5] -> [/...............]
[Key: 4d3a99c351dd] -> [/...............]
[Key: 1a982c7e459a] -> [/...............]
[Key: aabbccddeeff] -> [/...............]
[Key: 714c5c886e97] -> [/...............]
[Key: 587ee5f9350f] -> [/...............]
[Key: a0478cc39091] -> [/...............]
[Key: 533cb6c723f6] -> [/...............]
[Key: 8fd0a4f256e9] -> [/...............]

Sector 00 -  FOUND_KEY   [A]  Sector 00 -  UNKNOWN_KEY [B]
Sector 01 -  UNKNOWN_KEY [A]  Sector 01 -  UNKNOWN_KEY [B]
Sector 02 -  UNKNOWN_KEY [A]  Sector 02 -  UNKNOWN_KEY [B]
Sector 03 -  UNKNOWN_KEY [A]  Sector 03 -  UNKNOWN_KEY [B]
Sector 04 -  UNKNOWN_KEY [A]  Sector 04 -  UNKNOWN_KEY [B]
Sector 05 -  UNKNOWN_KEY [A]  Sector 05 -  UNKNOWN_KEY [B]
Sector 06 -  UNKNOWN_KEY [A]  Sector 06 -  UNKNOWN_KEY [B]
Sector 07 -  UNKNOWN_KEY [A]  Sector 07 -  UNKNOWN_KEY [B]
Sector 08 -  UNKNOWN_KEY [A]  Sector 08 -  UNKNOWN_KEY [B]
Sector 09 -  UNKNOWN_KEY [A]  Sector 09 -  UNKNOWN_KEY [B]
Sector 10 -  UNKNOWN_KEY [A]  Sector 10 -  UNKNOWN_KEY [B]
Sector 11 -  UNKNOWN_KEY [A]  Sector 11 -  UNKNOWN_KEY [B]
Sector 12 -  UNKNOWN_KEY [A]  Sector 12 -  UNKNOWN_KEY [B]
Sector 13 -  UNKNOWN_KEY [A]  Sector 13 -  UNKNOWN_KEY [B]
Sector 14 -  UNKNOWN_KEY [A]  Sector 14 -  UNKNOWN_KEY [B]
Sector 15 -  UNKNOWN_KEY [A]  Sector 15 -  UNKNOWN_KEY [B]

Using sector 00 as an exploit sector
Sector: 1, type A, probe 0, distance 19638 .....
Sector: 1, type A, probe 1, distance 19646 .....
Found Key: A [e251a9da734d]
Sector: 2, type A, probe 0, distance 19644 .....
Found Key: A [355c6b0b7418]
Sector: 3, type A, probe 0, distance 19638 .....
Found Key: A [9fbb4e58fb4b]
Sector: 4, type A, probe 0, distance 19640 .....
Found Key: A [49967cda4f17]
Sector: 5, type A
Found Key: A [49967cda4f17]
nfc_initiator_init: Timeout

Original issue reported on code.google.com by pingu5400 on 4 Apr 2014 at 9:10

GoogleCodeExporter commented 9 years ago

Using sector 00 as an exploit sector
Sector: 1, type A, probe 0, distance 19646 .....
Found Key: A [e251a9da734d]
Sector: 2, type A, probe 0, distance 19640 .....
Found Key: A [355c6b0b7418]
Sector: 3, type A, probe 0, distance 19640 .....
Sector: 3, type A, probe 1, distance 18882 .....
Sector: 3, type A, probe 2, distance 19646 ....nfc_initiator_init: Timeout

Original comment by pingu5400 on 4 Apr 2014 at 9:11

GoogleCodeExporter commented 9 years ago
I can confirm this issue.
And also I could confirm pingu5400's solution works!

Thanks

Original comment by changxia...@gmail.com on 30 May 2014 at 5:18