Seeing double

Yi Xu, Jared Heinly, Andrew M. White, Fabian Monrose, Jan‐Michael Frahm2013

TL;DR

This paper presents a novel computer vision technique that reconstructs typed input from mobile devices by analyzing fingertip motion in reflections, even from multiple bounces or around corners. This significantly expands the attack surface beyond previous methods that required direct line-of-sight or clear visual cues like key "pop-outs."

What Problem Does This Paper Address?

The widespread use of smartphones and tablets has created a significant privacy concern: sensitive information entered on these devices is vulnerable to eavesdropping. Prior research focused on "compromising emanations" or visual attacks, but these typically required the attacker to be within close visual range of the device or to clearly see specific visual cues like key presses on a virtual keyboard (e.g., the "pop-out" effect). This paper addresses the limitation that these attacks are often thwarted by distance, occlusions, or the absence of such visual cues (like on iPads). The authors aim to demonstrate that privacy breaches are possible even when the attacker is at a considerable distance, around a corner, and only has access to low-resolution, noisy reflections.

Methods

The core of the paper's contribution lies in a multi-stage computer vision pipeline designed to overcome the challenges of low image resolution, noise, and multiple reflections:

  • Stage 0: Tracking: The system first tracks the mobile device itself within the video frames using an AdaBoost tracker. To improve robustness against noise and minor appearance changes, frames are averaged.
  • Stage 1: Alignment: The tracked device image is then aligned to a known keyboard layout template. This is achieved through a novel approach using line detection and Hough transforms to determine the device's orientation, scale, and translation, overcoming the limitations of previous methods that relied on visually distinct salient points. Anisotropic diffusion is used for initial noise reduction while preserving edges.
  • Stage 2: Fingertip Extraction: Fingertips are identified by modeling the keyboard area as having two distinct Gaussian distributions (one for the bright screen, one for darker fingers). This allows for segmentation, and then ellipse fitting to the finger's boundary to locate the fingertip.
  • Stage 3: Fingertip Motion Analysis: The system analyzes the trajectories of the extracted fingertips. By approximating these trajectories as 3D line segments (u, v, time), stopping points and direction changes are identified. This is done using a robust RANSAC algorithm.
  • Stage 4: Inferring the Keys Pressed: For each identified stopping point, image recognition techniques are used to determine which key was likely pressed. This involves training an AdaBoost classifier for each key based on labeled video data of key presses. Patches around the detected fingertip location are fed into these classifiers to get confidence scores for each key.
  • Stage 5: Language Model (Optional): An optional post-processing step uses a language model (based on WFSTs) to improve the accuracy and readability of the reconstructed text, treating the problem as a noisy channel decoding task.

Datasets

The paper does not explicitly mention the use of pre-existing public datasets for training or evaluation. Instead, the authors conducted their own lab-based evaluation with five different subjects. They collected 73 responses containing 584 total words from typing specific sentences and providing quick responses, as well as 15 passwords (5-8 lowercase characters each). The sentences were sourced from "The Art of the War" and SMS messages.

Key Insights and Ideas

  • Fingertip Motion is Key: The most significant insight is shifting the focus from detecting visual cues on the screen (like key pop-outs) to analyzing the subtle motion of the user's fingertips. This makes the attack applicable to a much wider range of devices, including those without visual feedback for key presses.
  • Robustness to Noise and Low Resolution: The paper demonstrates that by combining techniques like frame averaging, anisotropic diffusion, and robust estimation (RANSAC), it's possible to extract meaningful information even from highly degraded images (e.g., multiple reflections, distant views).
  • Exploiting Multiple Reflections: The ability to reconstruct input from reflections of reflections (e.g., screen -> eyeball -> mirror -> camera) is a critical advancement, enabling attacks from around corners.
  • Practicality with Consumer Hardware: The research highlights that these sophisticated attacks can be performed using relatively inexpensive consumer-grade equipment (camcorders, DSLRs with telephoto lenses), making the threat highly realistic.

Key Results

  • High Accuracy: The system achieved an average METEOR score above 0.5 (indicating understandable translations) across various scenarios. Specifically, 23% of sentences were reconstructed perfectly, and 92% had a METEOR score above 0.5.
  • Extended Range: The attack successfully operated at distances up to 50 meters for direct view and 10 meters for single reflections, significantly outperforming previous methods.
  • Password Reconstruction Speedup: For password guessing, the approach achieved a speedup of four orders of magnitude compared to random guessing, reconstructing 12 out of 15 passwords in fewer than 100 guesses.
  • Double Reflection Performance: Even with two reflections, resulting in very low RMS contrast (down to 0.03 from 0.35), the system achieved understandable reconstruction results (average METEOR score of 0.65).
  • Runtime: The overall runtime was approximately 0.37 frames per second, with the alignment stage being the most time-consuming.

Limitations and Future Work

  • Limitations:
    • The current implementation is primarily in MATLAB, with only the tracking stage optimized in C++. Re-implementation in C++ or on a GPU could significantly improve speed.
  • The password reconstruction was tested on simple, lowercase passwords. Extending the analysis to uppercase, numeric, or symbolic keyboards would be necessary for a complete threat model.
  • The effectiveness of the language model is dependent on the quality of the input from earlier stages.
  • The paper acknowledges that very low contrast images (e.g., from multiple reflections) make finger region extraction more difficult.
  • Future Work:
    • Re-implementing the approach in more efficient languages and on GPUs for real-time performance.
  • Extending the analysis to cover all keyboard types (uppercase, numeric, symbolic).
  • Investigating more advanced language models or decoding strategies.
  • Exploring mitigations against such attacks, such as privacy screens or randomized keyboards.

Summary updated

BibTeX
@misc{xu2013seeing,
  author = {Yi Xu and Jared Heinly and Andrew M. White and Fabian Monrose and Jan‐Michael Frahm},
  title = {{Seeing double}},
  year = {2013},
  doi = {10.1145/2508859.2516709},
}

Loading related content...

Figure