nfc-relay(1)
π nfc-relay β bestie's guide to the relay attack tool π
okay so real talk, this is nfc-relay from the libnfc'examples crew, and it's a whole relay attack command line tool based on libnfc. she's niche, she's iconic, and she does exactly one thing. let's get into it β¨
πΈ SYNOPSIS πΈ
nfc-relay
that's it. no flags, no args, no nothing. she just goes π
π¦ DESCRIPTION π¦
okay so nfc-relay is a lil utility that demonstrates a relay attack. not me casually describing a whole attack like it's a study group session π
here's the tea, and you're gonna need two NFC devices for this, no cap:
- one device, configured as the target, is out here emulating an ISO/IEC 14443 type A tag π
- the second device, configured as the initiator, is doing its little reader act π
so the setup is: you put the genuine tag on the second device (the initiator), and you place the tag emulator (that's the target) close to the original reader. and thenβ¦ all communication is now relayed and shown on the screen in real-time. it's giving magic trick, it's giving main character energy, honestly obsessed β¨
lowkey important: this tool has the same issues regarding timing as nfc-emulate-uid has. that's not me being dramatic, that's just true. so the advice is to try it against something like an OmniKey CardMan 5321 reader. iykyk π«
π BUGS π
found a bug? spill it on the libnfc issue tracker, bestie:
https://github.com/nfc-tools/libnfc/issues
they wanna know. fr fr π«Ά
π LICENCE π
libnfc is licensed under the GNU Lesser General Public License (LGPL), version 3.
libnfc-utils and libnfc-examples are covered by the the BSD 2-Clause license.
(yes, the original says "the the", and honestly? we respect the typo. periodt π )
β AUTHORS β
Roel Verdult <roel@libnfc.org> β the legend herself π§
this manual page was written by Romuald Conty <romuald@libnfc.org>. it is licensed under the terms of the GNU GPL (version 2 or later).
and that's the whole page, bestie!! brought to you by libnfc, dated June 26, 2009 β a vintage queen who has been slaying since forever ππ mwah, go relay something (responsibly, ethically, legally, pls π).
π¦ where this page comes from
- alpine 3.24: libnfc-doc 1.8.0-r2 Β· LGPL-3.0-or-later
- arch rolling: libnfc 1.8.0-4 Β· LGPL-3.0-or-later
- debian bookworm: libnfc-examples 1.8.0-2 Β· LGPL-3.0-only
- debian trixie: libnfc-examples 1.8.0-3.1+b1 Β· LGPL-3.0-only
- fedora 43: libnfc-examples 1.8.0-12.fc43 Β· LGPL-3.0-or-later
- fedora 44: libnfc-examples 1.8.0-13.fc44 Β· LGPL-3.0-or-later
- nixos 26.05: libnfc 1.8.0
- nixpkgs unstable: libnfc 1.8.0
- ubuntu jammy: libnfc-examples 1.8.0-2 Β· LGPL-3.0-only
- ubuntu noble: libnfc-examples 1.8.0-3.1build1 Β· LGPL-3.0-only
- ubuntu questing: libnfc-examples 1.8.0-3.1build1
- ubuntu resolute: libnfc-examples 1.8.0-3.1build2 Β· LGPL-3.0-only
- ubuntu stonking: libnfc-examples 1.8.0-3.1build2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms