by marcan_42 · 5y ago · 0 comments
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/
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
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.
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.
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.
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...
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.
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.
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.
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).
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)
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.
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.