The Insecurity of Home Digital Voice Assistants - Amazon Alexa as a Case Study

Xinyu Lei, Guan-Hua Tu, Alex X. Liu, Chi-Yu Li, Tian XiearXiv 2017

Abstract

Home Digital Voice Assistants (HDVAs) are getting popular in recent years. Users can control smart devices and get living assistance through those HDVAs (e.g., Amazon Alexa, Google Home) using voice. In this work, we study the insecurity of HDVA service by using Amazon Alexa as a case study. We disclose three security vulnerabilities which root in the insecure access control of Alexa services. We then exploit them to devise two proof-of-concept attacks, home burglary and fake order, where the adversary can remotely command the victim's Alexa device to open a door or place an order from Amazon.com. The insecure access control is that the Alexa device not only relies on a single-factor authentication but also takes voice commands even if no people are around. We thus argue that HDVAs should have another authentication factor, a physical presence based access control; that is, they can accept voice commands only when any person is detected nearby. To this end, we devise a Virtual Security Button (VSButton), which leverages the WiFi technology to detect indoor human motions. Once any indoor human motion is detected, the Alexa device is enabled to accept voice commands. Our evaluation results show that it can effectively differentiate indoor motions from the cases of no motion and outdoor motions in both the laboratory and real world settings.

Introduction

Home Digital Voice Assistants (HDVAs) like Amazon Alexa and Google Home have become ubiquitous, offering hands-free control over smart home ecosystems. However, this convenience introduces a significant security gap: "insecure access control." These devices typically rely on a single-factor wake word (e.g., "Alexa") and lack the capability to verify if a command originates from a physically present, authorized user. This vulnerability allows for remote acoustic attacks, where adversaries can manipulate the device via compromised speakers or external audio sources to perform unauthorized actions like unlocking doors or placing fraudulent orders.

The VSButton Defense Mechanism

To mitigate these risks, we propose the Virtual Security Button (VSButton), a software-based solution that implements two-factor authentication (2FA) for voice commands. VSButton utilizes existing WiFi hardware to detect physical presence through Channel State Information (CSI).

The VSButton architecture integrates into the Alexa device to monitor WiFi signals for human motion through a multi-stage processing pipeline.

As shown in the architecture above, the system monitors the WiFi channel's subcarriers. The CSI stream is processed through a pipeline including Principal Component Analysis (PCA) for feature extraction, followed by Median and Exponential Moving Average (EMA) filters to smooth the signal. A Butterworth low-pass filter removes high-frequency noise unrelated to human movement. Finally, an outlier detection module calculates the Mahalanobis distance to identify significant signal deviations corresponding to human motion.

Physical Presence Verification

A core insight of this work is leveraging the physical environment as a security boundary. WiFi signals reflecting off individuals outside a building are significantly attenuated by walls compared to signals reflecting off indoor subjects.

The physical environment acts as a natural filter; WiFi signals reflecting off indoor subjects are significantly stronger than those attenuated by walls from outdoor subjects.

By analyzing the variance in CSI, VSButton can effectively distinguish between legitimate indoor gestures (e.g., a hand wave) and external interference, such as someone moving outside a window. This allows the device to enable its microphone only when a user is confirmed to be inside the premises.

Evaluation and Results

The system was evaluated in both laboratory settings and a real-world 75m² apartment. Results confirmed that Alexa could be triggered by speakers up to 8 meters away at 60dB, highlighting the severity of the vulnerability. VSButton successfully addressed this by differentiating indoor and outdoor motions; indoor hand-waving produced CSI variations nearly twice as large as outdoor activities. In a 100-minute real-world test, the system achieved zero false alarms from outdoor motion, demonstrating its robustness as a physical 2FA mechanism.

Conclusion and Future Work

VSButton provides a zero-cost hardware solution to the inherent insecurities of HDVAs by repurposing existing WiFi signals for presence detection. While highly effective, current limitations include the inability to distinguish between humans and large pets. Future implementation by manufacturers would require exposing CSI data to the device's firmware, enabling a more secure, presence-aware voice assistant ecosystem.

Summary updated

BibTeX
@misc{lei2017insecurity,
  author = {Xinyu Lei and Guan-Hua Tu and Alex X. Liu and Chi-Yu Li and Tian Xie},
  title = {{The Insecurity of Home Digital Voice Assistants - Amazon Alexa as a Case Study}},
  year = {2017},
  eprint = {1712.03327},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.03327},
}
Figure