MFOC

Description

MFOC is an open source implementation of “offline nested” attack by Nethemba. This program allow to recover authentication keys from MIFARE Classic card.

Usage

Syntax

mfoc [-h] [-k key]... [-P probnum] [-T tolerance] [-O output]

Options

  h     print this help and exit MFOC 
  k     try the specified key in addition to the default keys
  P     number of probes per sector, instead of default of 20
  T     nonce tolerance half-range, instead of default of 20
        (i.e., 40 for the total range, in both directions)
  O     file in which the card contents will be written (REQUIRED) MFOC 

Example

cyborg@cyborg:~$ sudo mfoc -O test.dmp
 ISO/IEC 14443A (106 kbps) target:
 ATQA (SENS_RES): 00 04
  * UID size: single
 * bit frame anticollision supported
 UID (NFCID1): 3e 0c 5a fa
  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:
 [Key: ffffffffffff] -> [xxxxxxxxxxxxxxxx]
 [Key: a0a1a2a3a4a5] -> [xxxxxxxxxxxxxxxx]
 [Key: d3f7d3f7d3f7] -> [xxxxxxxxxxxxxxxx]
 [Key: 000000000000] -> [xxxxxxxxxxxxxxxx]
 [Key: b0b1b2b3b4b5] -> [xxxxxxxxxxxxxxxx]
 [Key: 4d3a99c351dd] -> [xxxxxxxxxxxxxxxx]
 [Key: 1a982c7e459a] -> [xxxxxxxxxxxxxxxx]
 [Key: aabbccddeeff] -> [xxxxxxxxxxxxxxxx]
 [Key: 714c5c886e97] -> [xxxxxxxxxxxxxxxx]
 [Key: 587ee5f9350f] -> [xxxxxxxxxxxxxxxx]
 [Key: a0478cc39091] -> [xxxxxxxxxxxxxxxx]
 [Key: 533cb6c723f6] -> [xxxxxxxxxxxxxxxx]
 [Key: 8fd0a4f256e9] -> [xxxxxxxxxxxxxxxx]

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

   We have all sectors encrypted with the default keys..
  Auth with all sectors succeeded, dumping keys to a file!
 
Block 63, type A, key ffffffffffff :00 00 00 00 00 00 ff 07 80 bc ff ff ff ff ff ff  Block 62, type A, key ffffffffffff :00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
Block 61, type A, key ffffffffffff :00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  Block 60, type A, key ffffffffffff :00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
Block 59, type A, key ffffffffffff :00 00 00 00 00 00 ff 07 80 69 ff ff ff ff ff ff  Block 58, type A, key ffffffffffff :00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
Block 57, type A, key ffffffffffff :00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  Block 56, type A, key ffffffffffff :00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
Block 55, type A, key ffffffffffff :00 00 00 00 00 00 ff 07 80 69 ff ff ff ff ff ff
0 Comments

Leave a reply

CONTACT US

We're are building as a community and a team. Be a part of it.

Sending

©2017 Ztrela Knowledge Solutions Pvt. Ltd

Log in with your credentials

Forgot your details?