doc/standalone/hf_emvpng.md
Author: Davi Mikael (Penegui) Frequency: HF (13.56 MHz) Hardware: RDV4 (flash memory)
Back to Standalone Modes Index | Source Code | Development Guide
Reads Visa EMV contactless payment cards and emulates the captured transaction data with a fixed ARQC (Authorization Request Cryptogram). For educational and lab use only.
Demonstrates the theoretical vulnerability of contactless payment cards to replay attacks when terminals don't properly validate cryptograms. This mode is designed for controlled lab environments to:
⚠ Warning: This mode uses a fixed ARQC. Modern payment terminals will reject these transactions. This is for educational purposes only.
| LED | Meaning |
|---|---|
| A (solid) | Reading mode |
| B (solid) | Activity indicator |
| C (solid) | Emulation mode |
| Action | Effect |
|---|---|
| Single click | Toggle between READ and EMULATE modes |
| Long hold | Exit standalone mode |
stateDiagram-v2
[*] --> READ : Startup
READ --> EMULATE : Card read\n+ button click
EMULATE --> READ : Button click
READ --> READ : Waiting for Visa card
EMULATE --> EMULATE : Emulating with fixed ARQC
READ --> [*] : Long hold / USB data
EMULATE --> [*] : Long hold / USB data
make clean
make STANDALONE=HF_EMVPNG -j
./pm3-flash-fullimage