Air-FI: Generating Covert Wi-Fi Signals from Air-Gapped Computers
arxiv.org
arxiv.org
The bit rate with off the shelf Wi-Fi chipsets as receivers is ~10 bits per second.
This is definitely interesting and clever, but as a security researcher I will say I consider this particular research lab a bit of a paper mill. Their entire schtick is they pick any random emission from a computer that can be picked up remotely, and hype it up as an airgap-defeating measure. The thing is, once you accept that either 1) if your air-gapped computer has malware that can do this, you've already lost, or 2) if you need to be resilient to that, your "air gap" needs to be a sealed vault insulated from sound, EMI, and any other physical transmission medium, then this whole body of research becomes purely academic.
IIRC they've done LEDs, temperature, inductor noise, ultrasound, etc. When I first started looking into this I could come up with a good dozen of their ideas without looking. Of course all this stuff works. It's cute, it's clever, but it's not particularly obscure nor difficult to make work, and it all relies on having malware on the target machine to begin with. Yes, computers are noisy beasts, and you can encode information in the noise; we've known this for decades, picking a new technique and implementing it isn't particularly interesting after the fifth or sixth time.
Personally, I find their techniques primitive and boring. Like here, they set the RAM bus frequency to 2.4GHz (DDR-2400). Yes, of course, if you do that, then RAM traffic generates noise in the Wi-Fi band. Then they just used the most boring and trivial encoding possible on top of that. I don't remember ever reading one of their papers and thinking they'd used a clever technique. It always seems to be "pick a leak vector, then do the least amount of work possible to make it work at a few bits per second and get a paper out".
The interesting side channel papers are those where you can get information from emissions (e.g. crypto keys) without malware on the target computer, during normal operation. Those are real threats. And this is not what this group is researching.
So:
xxd -c 1 -p secret.txt | while read a; do for b in ${a:0:1} ${a:1:1}; do ffmpeg -y -f v4l2 -i /dev/video0 -t $((0x$b)) -f rawvideo /dev/null ; done; done
That leaks a file via the camera LED, PWMing it at 4 bits per pulse (16 different pulse widths), tested on my iMac. Can I get a paper now? :-)
I created one that takes a mere 14 minutes to transmit 'hello' using a cd drive's movement: https://www.anfractuosity.com/projects/cditter/
That might work in a noisy environment, but it draws attention visually, which might not be great. Also, (1) users tend to cover their cameras with tape or post-its, (2) why would a super secure endpoint have a camera if it wouldn't be on the network, (3) slight chance of being noticed on external/detached security webcam.
Using (security) camera LEDs was already done:
* https://arxiv.org/abs/1709.05742
:)
Here's an alternative way to pass the bytes to ffmpeg, using hexdump (does not require vim) and `read -n1` (works in bash, but not in zsh):
hexdump -v -e '1/1 "%02x"' secret.txt | while read -n1 b; do ffmpeg -y -f v4l2 -i /dev/video0 -t $((0x$b)) -f rawvideo /dev/null; done
Yes, the attack is unidirectional, but that is not without value. Time and time again, the airgap has been breached from the outside, from stuxnet to various cryptocurrency heists. Security is about layers and there are many applications where the gap must me breached bidirectionally - this is an example of breaching one of those layers, indeed, the weaker inside-to-outside layer. You might also intentionally run untrusted code on an airgap, that could report back information about the environment or tests you perform on it.
So, yes, predictable and not a danger by itself, but not without value and possibly a key component of an elaborated real world attack.
This guy just puts malware on the airgapped computer to force it to broadcast its secrets in the slowest, simplest, easiest to pick up way through some channel. That is not hard.
His entire clickbait operation is basically predicated on the fact that people confuse these two scenarios, while they are two completely different things.
Not necessarily. There might be scenarios where you're permitted to bring software in, but not take anything out.
The point is "this will work in some scenarios".
My point is that it's unimpressive because it won't work very well for the types of targets that they are intending it for (air gapped systems usually have a lot of other countermeasures as part of their system, especially targeting unknown RF sources).
I guess I'm just trying to say that non-intrusive side channels are more impressive to me since you cut out the need for any form of system access to plant the malware.
My point here is that seemingly innocuous (or previously innocuous) methods can still be utilized. The overall attack is the thing that’s impressive (at least to me). Technical attacks are impressive. So are social ones. Ones that combine the two in novel ways to accomplish audacious goals can only be more so and having a view of “this isn’t a complete attack by itself and is therefore uninteresting” seems myopic to me. I’m more curious about how this could be leveraged to be a piece of an overall attack. For example, with very little time you could “permanently” compromise devices your victim has and spy on them without them knowing about it. Sure you don’t get C&C but if you’re just looking to monitor what’s happening may not be so bad.
I definitely agree with ops point that if this is a basic technique and just a routine transformation to apply to different sensors, academically this is not interesting and a corruption of the principles of scientific publishing. As a proof of concept though it’s still valuable because you are characterizing the bitrate you’re able to get from different sensor types.
I guess it isn't very interesting, for me, compared to passive side channel attacks (interpreting naturally generated RF).
'“this isn’t a complete attack by itself and is therefore uninteresting” seems myopic to me'
I think you are misunderstanding me. I do agree that how attacks are put together and coordinated is interesting. I just don't see much to get excited about for this exploit. So viewing this from a larger perspective... Most of the time if you are attacking air gapped systems for data exfil, the physical site will have security countermeasures, especially for RF. I would be more interested to see an exploit that doesn't use RF (at least not in the known data bands like wifi in this case) to rely data since RF is so scrutinized in the target setting.
So my position isn't that I don't like it because it's not a full attack, it's that I don't like it because the author is basically recycling old ideas and I view this idea, for the intended use (air gapped data exfil), to be lacking when evaluated from a systems thinking perspective. It's like giving someone a knife and telling them to sneak into a secure facility with metal detectors to stab someone. Can it work? Sure, but probably not as well as other options. It isn't very imaginative either.
It may deter the least sophisticated attackers, assuming they are reliant on networking and the only way it's connected to the network is via WiFi. If the least sophisticated hackers just go in physically and steal the PC, then you're correct, though.
> possibly a key component of an elaborated real world attack
Yes, in the sense of key as "required", but the key to Stuxnet was being spread by USB stick, iirc, which could be the same here. The infection would need to start via some sort of direct access, unless it got to it earlier when it was connected, if ever.
Note that this use of an integrated circuit to transmit isn't that innovative either. Oliver Mattos and Oskar Weigl wrote something similar in 2012 called PiFm, though that was a different radio band: https://web.archive.org/web/20121215032057/http://www.icrobo...
It's not without value, no, but they've definitely found a formula and are just cranking out variations of that formula as papers. I'd say calling it a paper mill isn't too harsh.
You'd be surprised how often variations on a formula are all it takes to destroy security. Security is enumeration at the end of the day. If it takes a paper mill to "count all the ways" then I'm grateful.
If he'd at least implement some clever modulations then the papers would at least have value in researching how to cram more data into lossy side channels, but he's not doing that. All his modulations are textbook radio/modulation 101 stuff with very conservative parameters and no attempt to explore the actual theoretical limits of the channel bandwidth.
What is research-worthy in computer security in your opinion? Feel free to list any papers from well-known conferences/journals.
https://www.wired.com/story/air-gap-researcher-mordechai-gur...
See his presentation at BlackHat:
What about using GSM on cell phones to steal data? (2015): https://www.sciencedaily.com/releases/2015/07/150728123634.h...
Also, here's a nifty resource for exfiltration; leakage through DNS would seem like a big one after any airgap is bridged: https://github.com/rmusser01/Infosec_Reference/blob/master/D...
Or maybe you could use one of NYU's robotic geese to insert a USB key into an airgap'd PC and have it use it's webbed foot to hold lower keys down then peck type a command to copy files.
Literally.
DDR3-1600 RAM, 800MHz I/O bus, 800MHz GSM frequencies. Pump out data encoded in bursts of noise by exercising RAM. Receive it with a hacked phone. They built on all the work of OsmocomBB (which already is a completely open source GSM stack on a commercial phone baseband). Even building on such a powerful and well-documented platform, they only got a, quite honestly, pathetic ~1.5 bit/second speed out of it, making excuses about "inadequate access to the DSP's full capabilities" and it being an old phone (which is nonsense, the entire point is that it's an open stack, thus much easier to build powerful software on even with hardware limitations, they just weren't capable).
Then they gave up on OsmocomBB and just used an SDR as a receiver to get 1kbps.
Sorry, this is just sad. Anyone actually experienced in these fields would be able to do orders of magnitude better, guaranteed, with that kind of hardware.
Oh yeah, there's an appendix to the paper where they got it to work with an unmodified Android phone... by putting it 10cm from the motherboard, so the emission jams the cell signal, and you see the bars drop. No actual bitrate attempted, but it looks like you wouldn't get more than 0.5bps out of that from their graph.
And now 5 years later he's rehashing the same exact technique, on a different frequency. Sigh.
Also as a security researcher, this type of research is a real threat. Lots of DoD practice works on knowing exactly how outside and inside threats can exfiltrate data. If a secret facility had locked down networks, and ensured no insider could carry out CDs, but completely ignored threats like this, then insiders (and any outsider that gets something onto such a network) can exfiltrate data without detection.
There's a reason DoD pays lots of groups to do work like this. He even mentions that common DoD practice of leaving phones outside secure facilities is not enough to prevent data from escaping (although some places I've been, but not all, have been smarter in putting phones in Faraday cages to lessen the issue).
As they say, attacks don't get weaker, they only get stronger. Apply some proper modulation and signal processing, even with a custom receiver and antenna, and you can likely extract data at vastly faster rates, and, for some processes, perhaps even without on device malware.
There isn't much more to it. His techniques are not something you block individually. You block entire classes. Block light, there goes all the LEDs. Block sound/vibration, there goes the fan/coil whine stuff. Insulate thermally, that takes care of that. Faraday cage, bye bye RF. Etc.
Either you care about this entire class of channels, and you do all of those things, or you don't, and your air gap just means no Ethernet cable between two adjacent computers. The specific details of each of his attacks are not useful. They do not contribute to the state of the art in any way. It's just pumping out papers.
Indeed, if advanced modulation and processing were used, that would be useful research. That would be science, measuring the true information-carrying capacity of these approaches. But he's not doing that. At all. Not even trying.
This vastly simplistic, binary belief that all such channels are a simple on/off is not at all practical. Every mitigation has costs and tradeoffs. Your argument is as simple as saying "don't have information, voila, no information to steal. Simple!"
In real life, blocking has costs, blocks have leaks and openings.
An excellent example is you write "block sound/vibration" as if that's a simple on/off process.
In real life, there are degrees of vibration, degrees of cost, hindrances and benefits to each possible continuum of solutions, etc.
A really funny example of this is your claim "Faraday cage, bye bye RF. Etc." when this group you mock has papers showing how to escape a Faraday cage. And no Faraday cage is perfect. And it's insanely impractical to put all data in the world in Faraday cages.
And note this: all Faraday cages leak. It's simple physics. Thus it's good to know design parameters for the various modes of possible signals to design the best Faraday cage for a given situation.
If they ever get to using gravitational signals, good luck with shielding :)
>Indeed, if advanced modulation and processing were used, that would be useful research
Then you'd simply say well "that's simply modulation! Where is the real research?"
I think you are vastly oversimplifying the real world and how threats are dealt with in practice.
The DoD doesn't simply spend billions on security research such when they could have simply wrapped themselved in foil and padding to solve security leaking.
>They do not contribute to the state of the art in any way.
I think we have different ideas of what state of the art contribution means. This team has thousands of citations from researchers that I think disagree with you. Someone is citing their work.
> This team has thousands of citations from researchers that I think disagree with you. Someone is citing their work.
It's not like non-research research is a novel problem in academia, so I wouldn't point at citation count as a particularly useful metric. It's not just this guy, the incentives in academia are to publish publish publish, which is why paper mills like this happen.
I'd challenge any hackaday member to create one of these from scratch in a weekend. I've done quite a few over the years for fun, and most involve a significant amount more work than simply saying "measure EM, done!" Some of these do take significant effort to get working, especially if you have a simple understanding of physics, electronics, noise, or measurement.
No comments on all your claims on how simple you think defense is?
I'm guessing that if you really think one simply says "Faraday cage!" and all EM is solved, or one says "Sound proofing!" and all vibration is blocked, then you also may not understand the value in having the detailed nuances of each of these things worked out.
So this stuff seems useless to you. There are plenty of groups getting paid to do stuff that seems trivial to people that honestly don't understand the nuances. And in this space the nuances make a big difference.
And, as others pointed out - this is useful to plenty of people as a starting point for stuff they want to do. Knowing that 1980's CRT emanations were leaking does not give someone new to the field the ability to read RAM noise.
This is just a case of using the simplest possible output peripheral you can find before you can get anything else running. Canon camera firmwares have been dumped via blinking the LEDs. I've debugged low-level bringup by blinking codes out of LEDs too. This has nothing to do with side channels, it's just a case of not having documentation for the hardware so you find the first thing that gives any feedback and use it to dump the rest of the firmware so you can reverse engineer it and figure out how e.g. the screen works.
Wasnt that exactly the side channel that was feared from badBIOS? Dunno if it was WiFi bands as I dont see anyone confirmed it, so may be a diff frequency
(He briefly relapsed a few years later saying his Raspberry Pis had been loaded with implanted Ethernet jacks, and I had to spend some time teaching him about what Ethernet magnetics are... I hope I helped calm him down a bit that time)
If I remember correctly, AWS identified a side channel vulnerabily a year or so ago and had to make some updates. I forget the mechanism, but I think it had to do with VMs on the same hardware being able to access statistics (voltages or power consumption) on the hardware usage that would allow an attacker to access sensitive data, or leak data between the VMs. I don't think any attack actuallly used that mechanism before they patched it though.
Ughh...no? Delivering malware to airgapped computers is not the difficult task. If you have sophisticated persistent attackers then they will figure out how you get data in/out of that system and find a way to execute code on it. "At this stage you have bigger problems" is a terrible thing to say especially by a security researcher. You know why there is always a plethora of unpatched systems in corporate networks you can move laterally to? Because IT admins have the same mindset "if we have hackers in the network, we have bigger problems to worry about". Real attacks against airgapped systems exist and are documented, research that assumes initial access and execution on airgapped systems to focus on hardening against C2/exfil channel establishment is very useful in my opinion.
> 2) if you need to be resilient to that, your "air gap" needs to be a sealed vault insulated from sound, EMI, and any other physical transmission medium, then this whole body of research becomes purely academic.
Academic or not, research like this helps people that actually need airgapped systems with threat modeling. Knowing what is possible is critical when evaluating what possible attackers might do to attack a system. 10bits/second sucks but it is usable for attackers and just like crypto attacks this can be improved over time.
Other implementations exist (related work, not in 2.4G band) where it is not necessary to install malware to make measurable transmissions.
For example (shilling) https://fulldecent.github.io/system-bus-radio/ allows to broadcast just by loading a web page. And, importantly, this is an attack vector that is reasonable to execute offline (i.e. connected to a local network with HTTP services, but not the internet).
So he wrote a piece of code to transmit bits via the "jammed" and "unjammed" states. This was on DOS, so it was easier due to all the hardware being directly available without OS getting in the way.
optical connects between subystems, for the truly paranoid?
And for a truly intelligent prisoner the weakest spot is not prison walls or the door, it's the keeper with the keys in his pocket.
Something like crossing air-gaps would require specialized knowledge and tools that a super AI wouldn't be able to acquire without extensive support. The true super intelligence is the collective intelligence of large numbers of people working together, and no single intelligence, natural or otherwise, will be able to match it.
But the scenario envisioned is not why I would consider it such a threat. It's the AI that integrates in society that is dangerous, not some cartoonish unstoppable rogue program, or group of programs, that single-handedly plow through all defenses.
Was it that?
All you need to do is make sure the super AI is air-gapped in such a way that it can't broadcast signals in a way that they can be accidentally interpreted as valid data, and especially not with enough bandwidth to do damage before someone notices. RF is your biggest threat here, you wouldn't want the super AI to actually figure out a way to register on the mobile network using incidental EMI (which these researchers didn't do, this is well beyond the level of this paper, if it's possible at all); a Faraday cage should do it.
The biggest threat of a super AI is that, assuming you let humans interact with it, it's going to convince a human to let it out, knowingly or not. Human brains are a much bigger vulnerability than any of this airgap stuff.
https://en.wikipedia.org/wiki/AI_box
https://rationalwiki.org/wiki/AI-box_experiment
https://www.lesswrong.com/posts/c5GHf2kMGhA4Tsj4g/the-ai-in-...
bonus: https://xkcd.com/1450/
My fear is AI with a logical intent that understands humanity is the problem.
https://engage.morphisec.com/e-book-counter-deception-moving...
Far field emissions rarely comes from pcb traces though. Memory (high speed) buses use amps of current on each transitions, and the return current create a significant (few mV) voltage drop on the internal ground and power planes. This results an AC voltage difference at the opposite ends of the bus on the same plane.
Take a look at the Raspberry Pi 3: it has a power usb connector at one corner, and the USB A connectors at the opposite corner. The memory/cpu are inbetween. The shields of these connectors are connected, and are connected to the internal ground. When the device is operating, there is likely some switching noise between them. When you connect a USB cable, the shielding on that cable and the shielding in the power cable may act as a dipole antenna. This is the most likely source of emissions, and the metal casing does little to nothing to prevent it.
You only need to lose once.
It's as simple as plugging a spark gap transmitter into the same outlet as the computer. If you want a guarantee just make computer cables with the jammer embedded.
This isn't hard.
I suspect that this effect is also why cell phone reception is so bad in some houses. We are kind of working at cross purposes here...
>...does it require sheets of thick metal?
No but things work better when the edges of the sheets are electrically connected. Ideally you want a contiguous box with filters on any wiring crossing the box. Depending on the frequency you can get away with a mesh with openings that are sufficiently small.
My primary intent in building this way was to contain computer noise and be able to play with radio scanning using external antennas. It certainly worked for that. Its not a Faraday cage, but it's remarkably effective.