NFC
— Near Field CommunicationNFC operates at 13.56 MHz over distances of 4 centimeters or less. Using magnetic inductive coupling, an active device (like an iPhone or Android phone) can wirelessly power an unpowered passive tag to process Apple Pay / Google Pay transactions, transit passes, or building door access.
Interactive Session: How NFC Works
Step through the packet exchange sequence between nodes.
Interactive Execution Sandbox
Interact with a live or clearly-labelled simulated instance of NFC.
Threat Model & Attack Simulation
How this protocol is attacked in practice, what defenders can see, and which control stops it.
Threat model & attack simulation
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
NFC relay attack
InterceptionTwo devices forward APDUs in real time so a reader believes the card is present when it is far away.
Approach the card
A hidden device reads the victim card in a pocket or bag.
Card use while the owner is not at a reader.
Unauthorised payments or access-control entry.
Defences that matter
- Distance-bounding and relay detection
- Biometric or PIN verification
- Tokenisation and transaction risk scoring
This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.
Protocol Specification & Architecture
Key characteristics, real-world deployment patterns, and trade-offs.
Core Technical Features
- Operating distance: under 4 centimeters (inherent physical proximity security)
- Three modes: Card Emulation (payments), Reader/Writer (tags), and Peer-to-Peer
- Electromagnetic induction powers battery-less passive cards and stickers
- Fast coupling in under 100 milliseconds
Real-World Use Cases
- Contactless tap-to-pay (Apple Pay, Google Pay, Visa payWave)
- Public subway and bus transit smartcards (Oyster, Suica)
- Hotel keycard door access
Advantages & Strengths
- Near-impossible to eavesdrop remotely without physical proximity
- Passive tags require zero battery and cost pennies
Limitations & Vulnerabilities
- Requires contact or close tap (~2–4 cm)
- Maximum transfer speed limited to 424 kbps