mfoc-hardnested icon indicating copy to clipboard operation
mfoc-hardnested copied to clipboard

Install not working

Open Dutchy-79 opened this issue 3 years ago • 3 comments

Hi,

I came here because miLazyCracker did not work when installing and this has almost the same issue. I must be doing something wrong, please help me out.

┌──(root💀kali)-[/home/kali/mfoc-hardnested-master] └─# autoreconf -vis autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf configure.ac:19: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: error: /usr/bin/autoconf failed with exit status: 1

Dutchy-79 avatar Feb 23 '22 08:02 Dutchy-79

┌──(root💀kali)-[/home/kali/mfoc-hardnested-master] └─# autoreconf -vis autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf configure.ac:19: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: error: /usr/bin/autoconf failed with exit status: 1

Dutchy-79 avatar Feb 23 '22 08:02 Dutchy-79

Update: I used docker file to manually install on Kali.

Now I can read a card just like I could in miLazyCracker but after 13 default keys it stops and does not crack the card.

┌──(root💀kali)-[/home/kali/mfoc-hardnested-master] └─# ./src/mfoc-hardnested -F 1 ⨯ ATS len = -20 Found Mifare Classic 1k tag ISO/IEC 14443A (106 kbps) target: ATQA (SENS_RES): 00 04

  • UID size: single
  • bit frame anticollision supported UID (NFCID1): 96 47 5b 1e
    SAK (SEL_RES): 08
  • Not compliant with ISO/IEC 14443-4
  • Not compliant with ISO/IEC 18092

Fingerprinting based on MIFARE type Identification Procedure:

  • MIFARE Classic 1K
  • MIFARE Plus (4 Byte UID or 4 Byte RID) 2K, Security level 1
  • SmartMX with MIFARE 1K emulation Other possible matches based on ATQA & SAK values:

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 - Unknown Key A Unknown Key B Sector 01 - Unknown Key A Unknown Key B Sector 02 - Unknown Key A Unknown Key B Sector 03 - Unknown Key A Unknown Key B Sector 04 - Unknown Key A Unknown Key B Sector 05 - Unknown Key A Unknown Key B Sector 06 - Unknown Key A Unknown Key B Sector 07 - Unknown Key A Unknown Key B Sector 08 - Unknown Key A Unknown Key B Sector 09 - Unknown Key A Unknown Key B Sector 10 - Unknown Key A Unknown Key B Sector 11 - Unknown Key A Unknown Key B Sector 12 - Unknown Key A Unknown Key B Sector 13 - Unknown Key A Unknown Key B Sector 14 - Unknown Key A Unknown Key B Sector 15 - Unknown Key A Unknown Key B mfoc-hardnested: ERROR:

No sector encrypted with the default key has been found, exiting..

Dutchy-79 avatar Feb 23 '22 08:02 Dutchy-79

To use this kind of attack, you need to know at least one key on the card. You can try mfcuk to get the first one and then use this tool. I believe it should be included in Kali or at least available in the package manager.

willem640 avatar Jan 08 '23 04:01 willem640