This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
warehouse/blog/nfc-misconceptions.typ

85 lines
3.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#set page(
paper: "a4",
margin: 1cm,
)
#align(left, text(10pt)[*I made a mistake while writing this blog
post - somehow forgetting that security isnt unambiguous. You can
actually skim NFC chips from a certain distance \(having a limited
distance is still an important factor though!), and though I think some
of what I said below still applies youre better off ignoring it all.*
There are, of course, a whole range of problems with skimming NFC chips
from a distance so my point - dont be so worried - would still stand.
Either way, I recommend you take this with a grain of salt.
])
= Introduction
NFC \(short for Near-Field Communication) is the set of communication
protocols which allow for #emph[near-field communication] between two
electronic devices. One of the most prominent uses of this technology
are contactless transactions - this includes services like Google and
Apple Pay as well as all of your contactless-enabled cards.
Its been a while since my last blog past, but this one will be brief
too - Im writing here for the sake of clearing up some misconceptions
people have about NFC.
= The Misconceptions
== Inspiration
While talking with a friend on a WhatsApp group chat a few days ago
about a program I found on my jailbroken iOS device -
#link("https://github.com/Aemulo")[Aemulo] - I was informed of 'subway
skimmers'; devices that could #emph[supposedly] read data from
contactless-enabled devices \(via NFC) and would be able to emulate
them.
The idea behind the above example was that someone with malicious intent
could place such a device in a public location and take their
contactless devices for their malicious purposes. When I heard of this,
my first thought was:
#link("https://devraza.duckdns.org/blog/hoaxes-overview/")[hoax];, and I
think that it was rightfully so.
== What exactly is wrong with this?
<what-exactly-is-wrong-with-this>
Several things. Im no expert in cybersecurity - everyones a student in
some way, but I was sure that NFC was, as its name implies, for
#strong[near-field communication];. Im repeating myself here, but
thats kind of the point. Various reliable resources, including
Wikipedia, show that NFC has a maximum range of only a few centimetres -
which makes sense, no?
And yet, whatever source my friend had for 'subway skimmers' gave the
impression, or otherwise stated, that it would work within a radius of a
few feet, which is just impossible. Upon voicing my doubts, I was then
told that 'with a powerful enough antenna, its possible'. Hoaxes sure
are convincing, arent they? Unfortunately, I am not able to find the
source of my friends misinformation.
See, NFC only works within a few centimetres anyways. Even if it could
#emph[magically] work within a radius of a few feet, youve got to take
in the electromagnetic interference that the clothes and wallets people
have would bring to any malicious device. The point of electromagnetic
interference is especially true over a #emph[huge] area of a few feet
\(relatively), where youve got several NFC-enabled devices.
== Where its actually an issue
Of course, that isnt to say there arent any issues with NFC and
malicious readers - Im just saying that the word getting around is
horribly unrealistic. For example, a #emph[realistic] example of a
malicious NFC reader would be one placed on the card slots in cash
machines - you get:
- The short range (~20 cm)
- Only one device
- Lots of devices to read!
And so, youve got someone so much more realistic that poses an actual
threat!
= Conclusion
<conclusion>
The information above, which I deem accurate, is there. What I suggest
be taken away from this is pretty much the same as what is was for
#link("https://devraza.duckdns.org/blog/hoaxes-overview/")[my blog post on hoaxes] - #strong[do some fact-checking!]