See no evil, hear no evil: Hacking invisibly and silently with light and sound

Matt Wixey (Ethical Hacking Team Lead, Research Function · PwC UK)

BruCON 0x09 · Day 2

Overview

In this BruCON 2017 talk, Matt Wixey, the Ethical Hacking Team Lead and head of the Research Function at PwC UK, presents a fascinating exploration into the often-overlooked channels of light and sound for covert cyber operations. Titled "See no evil, hear no evil: Hacking invisibly and silently with light and sound," the presentation delves into innovative methods for bypassing air-gapped systems, conducting surveillance, and even executing psychological attacks and physical disruptions using non-traditional vectors. Wixey, who leads PwC's Dark Heart Lab, showcases a series of proof-of-concept demonstrations that challenge conventional notions of network security.

Watch on YouTube

Visual summary for See no evil, hear no evil: Hacking invisibly and silently with light and sound by Matt Wixey
Visual summary for See no evil, hear no evil: Hacking invisibly and silently with light and sound by Matt Wixey

Key moments

  1. 0:00 Introduction and talk agenda
  2. 2:00 Li-Fi demo: Transmitting data with light
  3. 10:00 Covert exfiltration with a wearable tie
  4. 12:00 DreadPhone: Ultrasonic command and control
  5. 22:00 Laser microphone demo: listening through windows
  6. 28:00 Alarm vulnerability: universal disarm signal
  7. 40:59 Gilmore Gilmore: Automatic TV shutdown hack
  8. 43:59 AstroDrones: Disrupting drone altimeters

See no evil, hear no evil: Hacking invisibly and silently with light and sound

Speakers: Matt Wixey, Ethical Hacking Team Lead, Research Function, PwC UK

Conference: BruCON

YouTube: https://www.youtube.com/watch?v=80TPHuXjh8U

Overview

In this BruCON 2017 talk, Matt Wixey, the Ethical Hacking Team Lead and head of the Research Function at PwC UK, presents a fascinating exploration into the often-overlooked channels of light and sound for covert cyber operations. Titled "See no evil, hear no evil: Hacking invisibly and silently with light and sound," the presentation delves into innovative methods for bypassing air-gapped systems, conducting surveillance, and even executing psychological attacks and physical disruptions using non-traditional vectors. Wixey, who leads PwC's Dark Heart Lab, showcases a series of proof-of-concept demonstrations that challenge conventional notions of network security.

The talk highlights how subtle manipulations of environmental factors can be leveraged to achieve command and control (C2) over isolated systems, exfiltrate sensitive data, and interfere with physical devices. From exploiting ambient light sensors and ultrasonic frequencies to demonstrating laser microphones and drone disruption techniques, Wixey illustrates the ingenuity and low-cost nature of these "exotic" information security threats. The research underscores the importance for defenders to consider a broader spectrum of attack surfaces beyond traditional network and software vulnerabilities, emphasizing physical security and the often-unintended capabilities of common hardware components.

This deep dive into the fringes of ethical hacking is particularly relevant in an era where air-gapped systems are considered the gold standard for high-security environments, and physical devices increasingly integrate sensors and actuators. Wixey's work serves as a critical reminder that even seemingly innocuous inputs and outputs can be repurposed by adversaries, urging a holistic approach to security that encompasses the physical, acoustic, and optical domains.

Background

▶ Watch: Introduction and talk agenda (0:00)

The concept of an air gap—a complete physical isolation of a computer or network from untrusted networks, particularly the internet—is a foundational security measure for protecting highly sensitive data. However, the notion that an air gap provides absolute security has been repeatedly challenged by innovative research. The fundamental assumption in attacking air-gapped systems is that an attacker has already managed to plant malware on the isolated machine, typically via a supply chain compromise or insider threat. Furthermore, it's often assumed the attacker has physical proximity or influence over someone with physical access, and that data exfiltration will be slow, focusing on small, high-value pieces of information like passwords or encryption keys rather than large volumes of data.

Prior research into air gap bypasses has a rich history, dating back to Van Eck phreaking in the 1970s, which exploited electromagnetic emanations from cathode ray tube (CRT) monitors to reconstruct screen content. More recently, researchers from Ben-Gurion University in Israel have pioneered numerous techniques, leveraging channels such as heat, vibrations, and various optical and acoustic side-channels to bridge air gaps. Notable work by Has San and others in 2013 provided a comprehensive overview of existing techniques and explored the potential of ambient light sensors (ALS) in mobile devices for covert communication. These studies collectively highlight that almost any physical emanation or sensor input/output can be weaponized if understood and manipulated by a determined adversary, setting the stage for Wixey's further exploration into light and sound.

Key Findings

▶ Watch: Covert exfiltration with a wearable tie (10:00)

Matt Wixey’s research yielded several significant findings across various domains of invisible and silent hacking:

  • Covert Air Gap Command & Control (C2) and Exfiltration via Light: Demonstrated the use of ambient light sensors (ALS) for C2 input, allowing commands to be executed on an air-gapped machine without physical touch or network access. Developed a novel method for data exfiltration by encoding binary data as imperceptible fluctuations in screen brightness, detectable by highly sensitive light-to-frequency converters.
  • Near-Ultrasonic Air Gap C2 and Exfiltration: Introduced DreadPhone, a proof-of-concept tool for C2 and data exfiltration using near-ultrasonic sound frequencies (17-20 kHz), which are inaudible to most adults but processable by standard laptop sound cards. Solved the "audible click" problem associated with previous ultrasonic methods by using pre-generated WAV files with sophisticated fade-ins and fade-outs.
  • Steganographic Image Exfiltration via Spectrograms: Developed a tool to embed images within audio files at specific frequencies, making them invisible to the human ear but recoverable by analyzing the audio’s spectrogram. This allows for covert exfiltration of visual data, such as screenshots of passwords, cloaked within legitimate audio.
  • Low-Cost Laser Microphone Construction and Vulnerabilities: Successfully demonstrated the construction and operation of a functional laser microphone for remote audio surveillance using readily available, inexpensive components, showcasing its viability beyond high-cost government-grade equipment.
  • Infrared (IR) Motion Detector Bypass: Discovered a critical vulnerability in popular, low-cost IR motion detectors where all remote controls shared a universal disarm signal, allowing any device to disarm any alarm. Developed methods for remote disarming using drones (Drone-to-Pwn) and SMS-activated hidden devices (Phone-to-Pwn).
  • Psychological and Disruptive Cyber-Physical Attacks: Explored the application of Delayed Auditory Feedback (DAF) to induce mental stress and disrupt verbal communication during critical calls. Also demonstrated a unique method of demoralizing malware analysts by embedding custom images (e.g., "Gilmore Gilmore") within the spectrograms of malicious code's audible output.
  • Drone Disruption via Ultrasonic Altimeter Spoofing: Developed AstroDrone, a technique to disrupt the ultrasonic altimeters of drones by sending conflicting echolocation pulses, causing them to ascend or descend uncontrollably and become unresponsive to commands, effectively acting as a drone repellent.

These findings collectively highlight the pervasive nature of side-channel vulnerabilities and the creative avenues available to attackers when conventional defenses are in place.

Technical Deep Dive

▶ Watch: Laser microphone demo: listening through windows (22:00)

Wixey's research meticulously dissects various physical phenomena to demonstrate their potential for covert operations, often leveraging readily available, low-cost hardware.

Air Gap Bypasses with Light

The first major area explored is the use of light for air-gapped system command and control (C2) and data exfiltration. The core idea revolves around exploiting ambient light sensors (ALS), commonly found in laptops and smartphones to adjust screen brightness. These sensors vary their resistance based on light intensity, and their readings are accessible programmatically via API calls in operating systems like Windows.

For C2, Wixey proposed and demonstrated a method where malware on an infected air-gapped machine would continuously read light intensity values from the ALS. An attacker could then use a laser pointer to shine specific light sequences onto the sensor, triggering different commands without physical contact or network access. A proof-of-concept video showed a cheap laser pointer clamped in a vise, moving across a laptop's ALS, causing commands to execute on the device.

Data exfiltration through optical channels presents a greater challenge. Previous research often involved encoding data into QR codes flashed briefly on screen, requiring a camera to record and decode. Wixey sought a more subtle approach: making imperceptible changes in screen brightness. Initial attempts with primitive cadmium sulfide (CdS) light sensors and even Android phone ALS proved insufficiently sensitive. The breakthrough came with a light-to-frequency converter, devices so sensitive they can detect changes in bacterial bioluminescence or light through human flesh.

Programmatically altering screen brightness without administrative privileges was achieved using Windows API calls like SetDeviceGammaRamp and GetDeviceGammaRamp. The malware would read a file, convert it to binary (highs and lows), and then modulate the screen's gamma intensity by a very small, unnoticeable amount to represent ones and zeros. The external light-to-frequency converter, connected to a microSD module for data storage, would pick up these minute changes. This process is analogous to amplitude shift keying (ASK) or on-off keying (OOK) in radio frequency (RF) communication. To make this covert, Wixey demonstrated a proof-of-concept device integrated into a tie, using an Adafruit Flora board (designed for wearable technology) and conductive thread to connect the light sensor, allowing an attacker to exfiltrate data while seemingly wearing normal attire.

Air Gap Bypasses with Sound: DreadPhone and Spectrograms

Wixey then moved to near-ultrasonic sounds for air gap C2 and exfiltration with a tool called DreadPhone. The theoretical range of human hearing is 20 Hz to 20 kHz. However, most adults cannot hear above 16-17 kHz. Sounds between 17 kHz and 20 kHz are considered "near-ultrasonic" – inaudible to adults but perfectly within the capabilities of standard laptop sound cards. Prior research (Ofsted et al., 2010; Hansback and Gertz, 2014) faced a problem: standard sound cards generated audible "clicks" when producing these frequencies, compromising covertness.

Wixey's solution involved creating 16 pre-generated WAV files, each representing a near-ultrasonic tone from 18.5 kHz to 20 kHz. Each WAV file was meticulously crafted with multiple fade-ins and fade-outs and amplified, eliminating the audible clicks while preserving the ultrasonic tones. The DreadPhone proof-of-concept involved both attacker and victim machines running malware that monitored microphone input. The attacker would transmit commands by playing a sequence of these WAV files, which the victim's machine would interpret and execute. For exfiltration, the victim's machine would encode data as a sequence of ultrasonic tones, which the attacker's machine would record and decode. This technique has alleged real-world parallels, with the infamous BadBIOS malware reportedly using near-ultrasonic tones for communication between infected machines.

For exfiltrating larger data, specifically images, Wixey introduced spectrograms. A spectrogram is a visual representation of the frequencies present in an audio signal over time. The technique involves embedding images directly into the audio frequencies, a rare method previously used in commercial music. Wixey's tool would read an image, convert its pixel values into specific frequencies played for certain durations, and generate a WAV file. When this WAV file is viewed as a spectrogram, the original image is reconstructed. The speaker demonstrated exfiltrating a screenshot of a password. To further enhance covertness, the secret WAV file (containing the image at near-ultrasonic frequencies) could be merged with a legitimate, audible audio file. The combined audio would sound normal, but the embedded image would still be visible in its spectrogram, effectively cloaking the secret data within the audible sound.

Surveillance and Counter-Surveillance: Laser Microphones and IR Motion Detectors

The talk also covered laser microphones, an older but effective remote audio surveillance technique. The principle is straightforward: a laser beam is shone onto a vibrating surface (e.g., a window pane) caused by sounds inside a room. The vibrations cause minute shifts in the reflected laser beam. A light sensor captures these shifts, converting them into voltage changes that can then be demodulated back into audible sound. While commercial laser microphones can cost tens of thousands of pounds and are typically restricted to law enforcement, Wixey demonstrated building a functional unit for about 30 pounds, comprising a simple light sensor circuit, a 3.5mm audio jack, and a cheap laser module. The demo showed music played at low volume inside a room being picked up by the laser microphone from across a table, using reflective material to simulate a window.

Infrared (IR) signals were explored for cloning and replay attacks, particularly against motion detectors. IR signal cloning is analogous to RF signal cloning, involving sniffing, analyzing, and replaying a signal. Wixey outlined several sniffing methods: using a software-defined radio (SDR) with the RTL-IR library, an Arduino device with an IR receiver and the IRLib library (which can decode known consumer protocols), or even the sensitive light sensor from the laser microphone. Replay involves either using IRLib for known protocols or reconstructing and playing back raw pulse data for unknown ones.

A critical vulnerability was uncovered in popular, low-cost IR motion detectors. Wixey purchased nine such devices and found that all their remote controls transmitted the exact same disarm signal. This meant any remote could disarm any of the alarms, completely negating the need for an attacker to sniff a specific signal from a target. To exploit this, Wixey developed two innovative attack vectors:

  1. Drone-to-Pwn: An IR disarming circuit, powered by a drone's internal USB port, was mounted onto a drone. Drones typically don't generate enough infrared radiation to trigger motion detectors for about 45 seconds after takeoff. This provides a window for the drone to fly near the alarm and transmit the universal disarm signal, as demonstrated by the alarm emitting a double beep indicating disarming.
  2. Phone-to-Pwn: Inspired by Sammy Kamkar's "digital ding-dong-ditch" project, this involved an Adafruit GSM module with a SIM card, an IR LED, and an Arduino. The device, hidden near the alarm, continuously checks for new text messages. If a message containing a specific string (e.g., "a new phone who dis") is received, it activates the IR LED to disarm the alarm and then deletes the message, allowing remote, covert disarming from anywhere in the world.

"Bantz" (Lulz): Psychological and Disruptive Techniques

Wixey included a section on "bantz," or techniques primarily for amusement but with potential, albeit less practical, security implications.

Delayed Auditory Feedback (DAF), a psychological technique from the 1950s, was demonstrated. DAF introduces a latency (typically 50-200 milliseconds) between a person speaking and hearing their own voice. While it can aid stutterers, applying it to fluent speakers makes them less fluent, causing them to slow down, elongate words, and even stutter. Wixey built a software version and showed PwC colleagues struggling to read text while experiencing 200ms DAF, inducing mental stress. From an attacker's perspective, this could be used to disrupt critical conference calls, causing frustration and potentially influencing outcomes.

Another "bantz" item was demotivating malware analysts. Building on Christopher Thomas's 2015 work on "psychological warfare in reverse engineering" (where malware flow graphs in disassemblers represented images like skulls), Wixey applied the spectrogram technique. A benign-looking .NET assembly was crafted to produce an audible sound when run in a debugger. Malware analysts, driven by curiosity, might extract this WAV file. When viewed as a spectrogram, it would reveal a demotivating image (e.g., "Gilmore Gilmore"), a subtle jab at the analyst.

The Gilmore Gilmore project itself was a humorous but technically sound demonstration of audio recognition and device control. Using the Deja Vu music recognition library (which fingerprints MP3s using Fast Fourier Transforms), a Python script continuously listens to microphone input. If it detects the Gilmore Girls theme tune with a high confidence level, it sends a byte via serial port to an Arduino. The Arduino then clones the power-off signal for the TV, turning it off. This showcases automated, sound-triggered device disruption.

Finally, AstroDrone aimed to disrupt ultrasonic altimeters in drones, used for stability during takeoff and landing. These altimeters operate on echolocation, sending ultrasonic pulses and measuring the time for the reflection to return. Wixey demonstrated that an attacker could send their own ultrasonic pulses at the drone's operating frequency, causing the drone to misinterpret its altitude. In 80% of cases, the drone would launch upwards like a catapult; 20% of the time, it would attempt to sink through the floor. In both scenarios, the drone becomes unresponsive and eventually crashes. Wixey initially used a passive infrared (PIR) animal repellent device (which emits ultrasonic pulses when triggered) and later a custom "colander" device with four PIR sensors and 18 ultrasonic transducers for multi-directional detection, effectively creating a drone repellent system. This technique was inspired by similar attacks against autonomous vehicles demonstrated at DEFCON by Lou et al. in 2016.

Demo / Proof of Concept

▶ Watch: Alarm vulnerability: universal disarm signal (28:00)

Throughout the technical deep dive, Matt Wixey provided compelling demonstrations and proof-of-concept implementations for each technique discussed. For light-based C2, a laser pointer was shown remotely executing commands on an infected laptop by interacting with its ambient light sensor. The subtle screen brightness modulation for data exfiltration was demonstrated with a light-to-frequency converter capturing imperceptible changes, and the covert tie-based device was presented as a wearable exfiltration solution.

For sound-based attacks, the DreadPhone proof-of-concept illustrated C2 and data exfiltration using near-ultrasonic tones between two laptops, visually showing the decoded hex bytes. The spectrogram image exfiltration was vividly demonstrated by embedding a screenshot of a password into an audio file, which, when played, sounded like normal audio but revealed the image upon spectrogram analysis.

The laser microphone was shown in action, successfully capturing low-volume music played across a conference table using a DIY setup. The IR motion detector bypasses were showcased with a drone (Drone-to-Pwn) remotely disarming an alarm, and an SMS-activated Arduino device (Phone-to-Pwn) demonstrating global, covert disarming. Even the "bantz" section featured demos, including PwC colleagues struggling with delayed auditory feedback and the Gilmore Gilmore system automatically turning off a TV when its theme tune was detected. Finally, AstroDrone was demonstrated causing a Parrot drone to become unresponsive and crash by spoofing its ultrasonic altimeters using both a PIR animal repellent and a custom colander-mounted ultrasonic array. These practical demonstrations underscored the feasibility and impact of the theoretical concepts presented.

Defensive Implications

▶ Watch: AstroDrones: Disrupting drone altimeters (43:59)

The research presented by Matt Wixey offers crucial insights for defenders, highlighting the need to look beyond traditional network and software vulnerabilities. The primary takeaway is that blocking unnecessary inputs and outputs to systems is paramount. If ambient light sensors, microphones, or speakers are not strictly required for a system's function, they should be disabled or physically removed.

For air-gapped systems, defenders should:

  • Remove or disable ambient light sensors if they are not essential.
  • Implement screen filters that mute subtle brightness and intensity changes, making optical exfiltration more difficult.
  • For acoustic channels, employ white noise generators or ultrasonic detectors to detect or drown out covert ultrasonic communications.
  • The ultimate defense against audio-based attacks is to disable microphones and speakers altogether on highly sensitive systems if functionality permits.
  • Consider TEMPEST standards or similar countermeasures that address electromagnetic and optical emanations, as these principles can also apply to light and sound leakage.

Regarding surveillance and physical security systems:

  • To counter laser microphones, defenders can deliberately induce vibrations on window surfaces (e.g., with sound transducers), use wire screens or specialized window coverings that scatter laser reflections, or deploy infrared laser detectors to identify incoming beams. Environmental factors like double glazing, curved glass, wind, rain, and fog can also naturally disrupt laser mics.
  • For IR motion detectors and alarm systems, reliance on physical keypads for arming/disarming is more secure than remote controls. If remotes are necessary, they must use encrypted, rolling code algorithms that have undergone rigorous security assessments and ideally incorporate anti-jamming capabilities. Crucially, remotes should be uniquely paired to a device, preventing the kind of universal disarm vulnerability discovered.

For drones and autonomous systems:

  • Ensure that echolocation (ultrasonic altimeters) is not the sole method for determining altitude. Implement reliable failover mechanisms using redundant sensors (e.g., barometric altimeters, GPS, visual odometry) that are not susceptible to ultrasonic spoofing.

More broadly, defenders must recognize that clone and replay attacks remain a significant threat, especially against cheaper, less robust security products. Simply having "motion detectors" or "cameras" is insufficient if these devices are vulnerable to known bypass techniques. A holistic security posture must account for the physical environment and the unintended side-channels that light and sound can create, ensuring that all aspects of a system's interaction with the physical world are considered potential attack surfaces.

Key Takeaways

  • Physical Side-Channels are Potent: Light and sound, often overlooked, provide viable, low-cost channels for covert C2 and data exfiltration from air-gapped systems.
  • Common Hardware, Uncommon Exploits: Everyday components like ambient light sensors, standard sound cards, and even screen brightness can be repurposed for sophisticated attacks.
  • Low-Cost, High Impact: Many of the demonstrated attacks can be executed with inexpensive, off-the-shelf components, making them accessible to a wide range of adversaries.
  • Subtlety is Key for Covertness: Techniques like imperceptible screen brightness changes and near-ultrasonic audio allow for operations that are difficult for human users to detect.
  • Physical Security Systems Have Flaws: Even dedicated security devices like IR motion detectors can suffer from fundamental design flaws (e.g., universal disarm codes) that allow for easy bypass.
  • Holistic Defense is Essential: Defenders must consider the entire attack surface, including physical inputs/outputs and environmental interactions, and implement layered defenses that account for these non-traditional vectors.

About the Speaker(s)

Matt Wixey is a highly experienced cybersecurity professional, currently serving as the Ethical Hacking Team Lead and head of the Research Function at PwC UK. In this role, he leads PwC's Dark Heart Lab, a research initiative dedicated to exploring the more "exotic" and unconventional aspects of information security. Prior to his tenure at PwC, Matt spent approximately a year in a UK law enforcement agency, where he led a technical research and development team, gaining valuable experience in practical security challenges. With about five to six years in the security field at the time of this talk, Matt brings a unique perspective, having originally pursued a bachelor's degree in English literature before transitioning into electronics and cybersecurity research. He humorously self-identifies as being on the "Dunning-Kruger curve" regarding his electronics expertise, acknowledging his relatively recent foray into the field, despite demonstrating impressive technical acumen in his research.

Reviews

→ Top-rated talks at BruCON 0x09

All talks from BruCON 0x09