doc/standalone/hf_reblay.md
Author: Salvador Mendoza Frequency: HF (13.56 MHz) Hardware: RDV4 with Bluetooth module (required)
Back to Standalone Modes Index | Source Code | Development Guide
Relays ISO 14443-A NFC communications between a real card and a remote reader over Bluetooth. One Proxmark3 RDV4 acts as the reader (captures card responses), the other as the emulator (presents them to a terminal), with Bluetooth bridging the two.
Relay attacks demonstrate a fundamental weakness in proximity-based authentication: the assumption that the card is physically near the reader. By relaying messages in real-time, an attacker can use a card that is far away — for example, performing a contactless payment using a card in someone else's pocket. This mode is an educational tool for understanding relay attack mechanics.
⚠ Security Research Only: This tool demonstrates a known class of NFC vulnerability for research purposes.
0xAA, length, data, postamble 0xBB).| LED | Meaning |
|---|---|
| A (solid) | Reader mode active (proximate to card) |
| C (solid) | Emulation mode active (proximate to terminal) |
| A+C (blink) | BT data exchange in progress |
| B+D (blink) | Error / timeout |
| Action | Effect |
|---|---|
| Button press | Exit standalone mode |
stateDiagram-v2
[*] --> Init : Startup
Init --> ReaderMode : BT connected\n(reader side)
Init --> EmulatorMode : BT connected\n(emulator side)
state ReaderMode {
WaitBT_Cmd --> SendToCard : Receive APDU via BT
SendToCard --> WaitCard_Resp : ISO14443A transceive
WaitCard_Resp --> SendBT_Resp : Card responds
SendBT_Resp --> WaitBT_Cmd : Response sent over BT
}
state EmulatorMode {
WaitTerminal_Cmd --> SendBT_Relay : Terminal sends APDU
SendBT_Relay --> WaitBT_Reply : Relay to reader via BT
WaitBT_Reply --> RespondTerminal : Card response received
RespondTerminal --> WaitTerminal_Cmd : Response sent to terminal
}
ReaderMode --> [*] : Button / disconnect
EmulatorMode --> [*] : Button / disconnect
HF_REBLAY standalone firmwaremake clean
make STANDALONE=HF_REBLAY -j
./pm3-flash-fullimage