mfoc
« Back to VersTracker
Description:
Implementation of 'offline nested' attack by Nethemba
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: rfid security pentesting nfc mifare
Install: brew install mfoc
About:
Mfoc is a command-line utility that implements the 'offline nested' attack against MIFARE Classic RFID cards. It exploits weaknesses in the card's authentication protocol to recover secret keys from a reader. This allows security professionals to audit and clone cards for penetration testing purposes.
Key Features:
  • Recovers secret keys from MIFARE Classic cards
  • Supports multiple card attack scenarios
  • Works with common RFID hardware readers
  • Command-line interface for automation
Use Cases:
  • RFID security auditing and penetration testing
  • Recovering lost keys from MIFARE Classic implementations
  • Researching MIFARE Classic cryptographic vulnerabilities
Alternatives:
  • mfoc-hardnested – Faster implementation with improved attack strategies
  • nfc-tools – Broader suite of NFC tools including mfoc
Version History
Detected Version Rev Change Commit
Sep 16, 2025 2:44am 2 VERSION_BUMP bb76ccde
Sep 14, 2024 3:25am 2 VERSION_BUMP 41ade8b3