Automic VaultAutomic Vault

brew

Install mfoc with Homebrew, apt, Nix, pacman, zypper

Implementation of 'offline nested' attack by Nethemba. Version 0.10.7 via Homebrew; verified 2026-05-14.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mfoc

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install mfoc

Debian stable package indexes · mfoc · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#mfoc

nixpkgs package indexes · pkgs/by-name/mf/mfoc/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S mfoc

Arch Linux sync databases · mfoc · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install mfoc

openSUSE Tumbleweed package metadata · mfoc · source: download.opensuse.org

overview

Package summary

Implementation of 'offline nested' attack by Nethemba

Commands and aliases

  • mfoc

history

Project history and usage

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.

Project history

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.

How it is used

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

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mfoccliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.10.7
manager updated2026-05-14
local dataok
upstreamcurrent
latest detectedmfoc-0.10.7

https://github.com/nfc-tools/mfoc

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mfoc
Version0.10.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mfoc
Homepagehttps://github.com/nfc-tools/mfoc
Repositoryhttps://github.com/nfc-tools/mfoc
Upstream docshttps://github.com/nfc-tools/mfoc#readme
LicenseGPL-2.0-or-later AND BSD-2-Clause
Source archivehttps://github.com/nfc-tools/mfoc/archive/refs/tags/mfoc-0.10.7.tar.gz
Last updated2026-05-14T17:23:49-04:00
Pulseupdated
Dependencieslibnfc, libusb-compat
Build dependenciesautoconf, automake, pkgconf
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemfoc
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

mfoc 0.10.7+git20180724-2

MIFARE Classic offline cracker

https://github.com/nfc-tools/mfoc

sudo apt install mfoc
  • Section: utils
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Mfoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mfoc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mfoc

nix profile install nixpkgs#mfoc
  • normalized package name match
  • Matched by: Mfoc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/mf/mfoc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

mfoc 0.10.7+git20180724-2

MIFARE Classic offline cracker

https://github.com/nfc-tools/mfoc

sudo apt install mfoc
  • Section: universe/utils
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Mfoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mfoc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

mfoc 0.10.7+38+gba072f1-2

MiFare Classic Universal toolKit

http://nfc-tools.org/

sudo pacman -S mfoc
  • License: GPL2
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Mfoc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mfoc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

mfoc 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 mfoc
  • License: GPL-2.0-or-later
  • Category: Hardware/Other
  • Architecture: x86_64
  • Source Package: mfoc
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Mfoc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mfoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment