Modern cybersecurity depends on machines keeping secrets. But computers, like poker-playing humans, have tells. They flit their eyes when they’ve got a good hand, or raise an eyebrow when they’re bluffing—or at least, the digital equivalent. And a hacker who learns to read those unintended signals can extract the secrets they contain, in what’s known as a “side channel attack.”
Side channel attacks take advantage of patterns in the information exhaust that computers constantly give off: the electric emissions from a computer’s monitor or hard drive, for instance, that emanate slightly differently depending on what information is crossing the screen or being read by the drive’s magnetic head. Or the fact that computer components draw different amounts of power when carrying out certain processes. Or that a keyboard’s click-clacking can reveal a user’s password through sound alone.
“Usually when we design an algorithm we think about inputs and outputs. We don’t think about anything else that happens when the program runs,” says Daniel Genkin, a computer scientist at the University of Michigan and a leading researcher in side channel attacks. “But computers don’t run on paper, they run on physics. When you shift from paper to physics, there are all sorts of physical effects that computation has: time, power, sound. A side channel exploits one of those effects to get more information and glean the secrets in the algorithm.”
For a sufficiently clever hacker, practically any accidental information leakage can be harvested to learn something they’re not supposed to. As computing gets more complicated over time, with components pushed to their physical limits and throwing off unintended information in all directions, side channel attacks are only becoming more plentiful and difficult to prevent. Look no further than the litany of bugs that Intel and AMD have struggled to patch over the last two years with names like Meltdown, Spectre, Fallout, RIDL, or Zombieload—all of which used side channel attacks as part of their secret-stealing techniques.
The most basic form of a side channel attack might be best illustrated by a burglar opening a safe with a stethoscope pressed to its front panel. The thief slowly turns the dial, listening for the telltale clicks or resistance that might hint at the inner workings of the safe’s gears and reveal its combination. The safe isn’t meant to give the user any feedback other than the numbers on the dial and the yes-or-no answer of whether the safe unlocks and opens. But those tiny tactile and acoustic clues produced by the safe’s mechanical physics are a side channel. The safecracker can sort through that accidental information to learn the combination.
One of the earliest and most notorious computer side channel attacks is what the National Security Agency called Tempest. In 1943 Bell Labs discovered that a teletype machine would cause a nearby oscilloscope’s readings to move every time someone typed on it. This, the Bell Labs researchers quickly realized, was a problem. The teletype machine was meant to allow secure, encrypted communications, but anyone close enough to read its electromagnetic emissions could potentially decipher its secrets. The phenomenon wouldn’t be fully documented in public until 1985, when a computer researcher named Wim van Eck published a paper on what would come to be known as “Van Eck phreaking,” reconstructing the images on a computer screen with long-distance detection of the electrical signals it discharges.
Similar electromagnetic leakage attacks have been refined ever since. As recently as 2015, one group of researchers at Tel Aviv University created a $300 gadget that fits in a piece of pita bread and can derive the encryption keys on a nearby laptop’s hard drive by picking up its electrical emissions. Other techniques have proven that sound, power usage, or even just the timing patterns in communications can reveal a computer’s secrets. The same Tel Aviv University team also found that a microphone picking up the sounds of a computer as it performs decryption can reveal its secret keys, and that patterns in the bursts of encrypted data sent to a web browser can reveal what Netflix or YouTube video someone is watching, with no access to their computer.
Join To Our Newsletter
You are welcome