Abstract
Air-gapping is a critical security measure for protecting sensitive systems from network-based attacks. However, once a system is compromised via supply chain or physical access, establishing a reliable Command and Control (C2) channel remains a significant hurdle. This paper introduces LaserShark, a high-speed, bidirectional optical communication channel that leverages existing status LEDs on target devices. By repurposing these LEDs as transceivers, LaserShark achieves infiltration rates of 18.2 kbps and exfiltration rates of 100 kbps over distances of up to 30 meters, significantly outperforming existing acoustic, thermal, or electromagnetic side channels.
Introduction
The physical isolation of computing systems—air-gapping—is the "gold standard" for securing high-value assets. Despite this isolation, malware can still reach these systems through various vectors. The primary challenge for an adversary is establishing a communication bridge to send instructions or exfiltrate data. While previous research has explored side channels using sound, heat, or light, these methods typically suffer from extremely low throughput (often < 100 bps) or are strictly unidirectional.
LaserShark addresses these limitations by treating standard Light Emitting Diodes (LEDs) as bidirectional transceivers. This approach requires no hardware modifications to the target device, relying solely on the software-controlled GPIO pins already connected to status indicators.
Methodology
The LaserShark system consists of two primary components: an infiltration path (inbound) and an exfiltration path (outbound).
Infiltration: The Photoelectric Effect
Although LEDs are designed to emit light, they also function as photodiodes. When exposed to high-intensity light (e.g., from a laser), an LED generates a measurable current. If the LED is connected to a CPU's General Purpose I/O (GPIO) pin, malware on the compromised device can sample the resulting voltage changes. We developed two sampling strategies:
- Immediate Sampling: Direct reading of the pin state for simple circuits.
- Delayed Sampling: Used for circuits containing capacitors, where the firmware waits for the capacitor to charge before reading, ensuring robustness against signal noise.
Exfiltration: High-Frequency Flickering
To transmit data out of the air-gapped environment, the malware modulates the LED at high frequencies. An attacker positioned at a distance uses a telescope paired with an Avalanche Photodetector (APD) to capture these fluctuations. The APD's high sensitivity allows for reliable reception even from weak signals at distances exceeding 25 meters.
Wavelength Matching
A critical technical insight is that an LED's absorption spectrum is typically shifted toward shorter wavelengths (higher energy) compared to its emission spectrum. For instance, a green LED may respond more effectively to a blue or violet laser than to a green one.
Evaluation and Results
We evaluated LaserShark using a variety of common devices, including TP-Link routers, Yealink VoIP phones, and Raspberry Pi 3B+ units.
- Throughput: We achieved a maximum infiltration rate of 18.2 kbps at 30 meters and an exfiltration rate of 100 kbps at 25 meters.
- Reliability: Under optimal conditions, the communication channel maintained a Zero Bit Error Rate (BER).
- Commodity Hardware: Using a standard iPhone 11 (240 fps) as a receiver, we demonstrated exfiltration at 120 bps over 40 meters, showing that the attack can be executed without specialized laboratory equipment.
Discussion and Limitations
The effectiveness of LaserShark is influenced by the target's internal circuitry. For example, the presence of a 10 nF filtering capacitor in a VoIP phone's circuit reduced infiltration speeds from 18 kbps to 200 bps. Furthermore, the attack requires a direct line of sight and is sensitive to building vibrations, necessitating stable optical mounting for long-distance operations.
Countermeasures are straightforward but require physical changes: placing air-gapped systems in windowless environments or using opaque covers for status LEDs can effectively mitigate this threat.
Conclusion
LaserShark demonstrates that built-in status LEDs represent a significant, high-speed security vulnerability for air-gapped systems. By achieving kilobit-per-second bidirectional rates, this research highlights the need for renewed focus on physical and optical security in sensitive computing environments.
Summary updated