You foot the bill! Attacking NFC with passive relays

Yuyi Sun, Swarun Kumar, Shibo He, Jiming Chen, Zhiguo Shi

TL;DR

ReCoil is a completely passive, wearable relay system that extends the range of NFC attacks from the standard 5 cm to nearly 50 cm—a ten-fold increase. By using optimized copper coil arrays and resonant coupling, it breaks the fundamental proximity assumption of NFC security without requiring batteries or active electronics, making it both low-cost and stealthy.

What Problem Does This Paper Address?

Near-Field Communication (NFC) is the backbone of modern contactless payments and identity cards. Its primary security guarantee is its extremely short range (typically under 5 cm), which theoretically prevents "man-in-the-middle" attacks in crowded spaces. While researchers have previously demonstrated range extension using active relays (like smartphones or custom circuit boards), these solutions are bulky, require power, and are easily detectable because they actively transmit signals.

The authors of this paper set out to prove that a purely passive device—one made only of copper wire and capacitors—can achieve significant range extension. The challenge lies in the physics: NFC tags are batteryless and rely entirely on the reader's magnetic field for power. Relaying this weak energy over a distance of half a meter using only passive components requires extreme efficiency and precise geometric optimization.

Methods

The authors developed ReCoil, a system based on Magnetically Coupled Resonant Wireless Power Transfer (MCR-WPT). Their approach combines rigorous mathematical modeling with a novel optimization algorithm:

  • Coil Shape Optimization: Through High-Frequency Structure Simulator (HFSS) simulations, the team compared various antenna shapes. They discovered that square coils relay a stronger magnetic field than circular, hexagonal, or octagonal designs of the same area.
  • ReCoil-Ant Colony Algorithm (RACA): Finding the perfect combination of coil size, number of turns, and spacing is a complex, non-convex optimization problem. The authors designed RACA to search this space and identify the parameters that maximize power transfer to the victim's card.
  • HaBand (Waist Band) Design: A major hurdle is the human body, which attenuates 13.56 MHz signals. The authors designed a "HaBand"—a large, curved rectangular coil worn around the waist—to reroute the magnetic flux around the body rather than through it.
  • Multi-Coil Array: The final system uses a chain of relays: a small coil to capture the reader's signal, the HaBand to move it to the attacker's back, and a three-coil box hidden in a backpack to project the field toward the victim.
Fig. 4: The attack model.

Datasets

As this is a hardware security paper, the authors did not use standard software datasets. Instead, they built a physical testbed in a 4.5m x 4.5m office environment to evaluate ReCoil under realistic conditions.

Fig. 1: The ReCoil scenario.

Evaluation hardware included:

  • Readers: Adafruit PN532 modules and commercial smartphones (Huawei Mate 9, Xiaomi 6, Samsung Galaxy A9 Star).
  • Measurement: A Universal Software Radio Peripheral (USRP) with a DLP RFID antenna to precisely measure relayed voltage levels.
  • Interference: Real-world objects like iron plates, keys, and mobile phones were used to test the system's robustness.

Key Insights and Ideas

  • Square is Superior: Despite circular coils being common in NFC, square relay coils were found to be more effective at capturing and re-emitting the magnetic field in this specific multi-relay configuration.
  • Resonant "Sweet Spots": Energy transfer isn't linear with distance. There is a specific "sweet spot" for inter-coil spacing (roughly 5-6 cm for their 10 cm coils) where coupling is maximized.
  • The Body as a Surface: Rather than fighting body attenuation, ReCoil treats the human torso as a surface to be skirted. The curved HaBand effectively "flows" the magnetic field around the waist to reach the backpack relays.
  • Stealth through Passivity: Because ReCoil doesn't use active radios or modify NFC protocols, it bypasses security measures that look for timing anomalies or unauthorized active transmissions.
Fig. 5: The magnetic field of the: (a) square coil, (b) circular coil, (c) hexagonal coil, (d) octagonal coil.

Key Results

  • 49.6 cm Attack Range: The system successfully read and authenticated NFC cards at nearly 10x the intended distance.
  • Robustness: Even with metallic interference from keys or phones, the system maintained an attack distance of 48 cm.
  • Smartphone Compatibility: ReCoil successfully relayed signals from commercial smartphones at distances exceeding 40 cm, proving it works against modern mobile payment setups.
  • Multi-Card Success: The system can successfully target a victim even if they carry multiple cards, though the range drops slightly (to ~40.5 cm for three cards) due to mutual interference between the tags.

Limitations and Future Work

  • Orientation Sensitivity: The attack is highly directional. The relay coils and the victim's card must be relatively parallel; if the victim's card is tilted significantly, the coupling drops sharply.
  • Metallic Shielding: If a victim places their phone and NFC card in the same pocket, the phone's metal body can act as a shield, effectively neutralizing the attack.
  • Fixed Geometry: The current coils are relatively inflexible. The authors note that minute shape changes can shift the resonant frequency, requiring manual re-tuning of the capacitors.
  • Future Directions: The team plans to investigate "blind search" algorithms to automatically locate a victim's card position and optimize anti-collision protocols to better handle wallets containing many cards.

Summary updated

Abstract

Imagine when you line up in a store, the person in front of you can make you pay her bill by using a passive wearable device that forces a scan of your credit card without your awareness. An important assumption of today's Near-field Communication (NFC) enabled cards is the limited communication range between the commercial reader and the NFC cards -- a distance below 5~cm. Previous approaches to attacking this assumption effectively use mobile phones and active relays to enlarge the communication range, in order to attack the NFC cards. However, these approaches require a power supply at the adversary side, and can be easily localized when mobile phones or active relays transmit NFC signals. We propose ReCoil, a system that uses wearable passive relays to attack NFC cards by expanding the communication range to 49.6 centimeters, a ten-fold improvement over its intended commercial distance. ReCoil is a magnetically coupled resonant wireless power transfer system, which optimizes the energy transfer by searching the optimal geometry parameters. Specifically, we first narrow down the feasible area reasonably and design the ReCoil-Ant Colony Algorithm such that the relays absorb the maximum energy from the reader. In order to reroute the signal to pass over the surface of human body, we then design a half waist band by carefully analyzing the impact of the distance and orientation between two coils on the mutual inductance. Then, three more coils are added to the system to keep enlarging the communication range. Finally, extensive experiment results validate our analysis, showing that our passive relays composed of common copper wires and tunable capacitors expand the range of NFC attacks to 49.6 centimeters.
BibTeX
@article{sun2021you,
  author = {Yuyi Sun and Swarun Kumar and Shibo He and Jiming Chen and Zhiguo Shi},
  title = {{You foot the bill! Attacking NFC with passive relays}},
  journal = {IEEE Internet of Things Journal},
  year = {2021},
  doi = {10.1109/jiot.2020.3012580},
}
Figure