macOS
brew install mfoclocal Homebrew formula metadata
brew
Implementation of 'offline nested' attack by Nethemba. Version 0.10.7 via Homebrew; verified 2026-05-14.
install
brew install mfoclocal Homebrew formula metadata
sudo apt install mfocDebian stable package indexes · mfoc · source: deb.debian.org
nix profile install nixpkgs#mfocnixpkgs package indexes · pkgs/by-name/mf/mfoc/package.nix · source: api.github.com
sudo pacman -S mfocArch Linux sync databases · mfoc · source: geo.mirror.pkgbuild.com
sudo zypper install mfocopenSUSE Tumbleweed package metadata · mfoc · source: download.opensuse.org
overview
Implementation of 'offline nested' attack by Nethemba
history
MFOC, the Mifare Classic Offline Cracker, is an open-source implementation of Nethemba's offline nested attack against MIFARE Classic cards. The nfc-tools README states that it recovers authentication keys from MIFARE Classic cards when a default or user-supplied key is known. The AUTHORS file names the Nethemba Core Team, with Norbert Szetei as main coder and Pavol Luptak as project leader, minor coder, tester, and bug reporter.
The project traces back to Nethemba's 2009 public release of an offline nested attack implementation for Mac OS X and Linux. The nfc-tools changelog records the import of MFOC 0.08 from nethemba.com into the nfc-tools repository on September 13, 2010, followed by maintenance work to track libnfc APIs, add packaging, add a manpage, support newer MIFARE Classic UID cases, and clean up the C code through 2013.
MFOC's practical role is narrower than broad NFC libraries: it is a command-line recovery and audit tool for MIFARE Classic deployments, generally used with libnfc-supported readers and known-key attack workflows. In package managers it commonly appears beside MFCUK and libnfc as part of the NFC/RFID security-research toolkit, with MFCUK covering the DarkSide-oriented path and MFOC covering the offline nested attack path.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mfoc | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/nfc-tools/mfoc
install metadata
| Package key | brew:mfoc |
|---|---|
| Version | 0.10.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mfoc |
| Homepage | https://github.com/nfc-tools/mfoc |
| Repository | https://github.com/nfc-tools/mfoc |
| Upstream docs | https://github.com/nfc-tools/mfoc#readme |
| License | GPL-2.0-or-later AND BSD-2-Clause |
| Source archive | https://github.com/nfc-tools/mfoc/archive/refs/tags/mfoc-0.10.7.tar.gz |
| Last updated | 2026-05-14T17:23:49-04:00 |
| Pulse | updated |
| Dependencies | libnfc, libusb-compat |
| Build dependencies | autoconf, automake, pkgconf |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mfoc |
| Version Scheme | 0 |
| Revision | 2 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mfoc 0.10.7+git20180724-2
MIFARE Classic offline cracker
https://github.com/nfc-tools/mfoc
sudo apt install mfocmfoc
nix profile install nixpkgs#mfocmfoc 0.10.7+git20180724-2
MIFARE Classic offline cracker
https://github.com/nfc-tools/mfoc
sudo apt install mfocmfoc 0.10.7+38+gba072f1-2
MiFare Classic Universal toolKit
sudo pacman -S mfocmfoc 0.10.7+git38-1.23
Mifare Classic Offline Cracker: key recovery tool for MC cards
https://github.com/nfc-tools/mfoc
sudo zypper install mfocsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.