Skip to main content
QUICK REVIEW

[Paper Review] Blind Recognition of Touched Keys: Attack and Countermeasures

Qinggang Yue, Zhen Ling|arXiv (Cornell University)|Mar 19, 2014
User Authentication and Security SystemsComputer Science31 references10 citations
TL;DR

This paper presents a novel computer vision attack that blindly recognizes touched keys on touchscreens using optical flow and homography mapping to infer passwords from video footage, achieving over 90% success rate. To counter this, it proposes a context-aware Privacy Enhancing Keyboard (PEK) with randomized key layouts that significantly increase input time but are deemed acceptable for privacy protection.

ABSTRACT

In this paper, we introduce a novel computer vision based attack that discloses inputs on a touch enabled device, while the attacker cannot see any text or popups from a video of the victim tapping on the touch screen. In the attack, we use the optical flow algorithm to identify touching frames where the finger touches the screen surface. We innovatively use intersections of detected edges of the touch screen to derive the homography matrix mapping the touch screen surface in video frames to a reference image of the virtual keyboard. We analyze the shadow formation around the fingertip and use the k-means clustering algorithm to identify touched points. Homography can then map these touched points to keys of the virtual keyboard. Our work is substantially different from existing work. We target password input and are able to achieve a high success rate. We target scenarios like classrooms, conferences and similar gathering places and use a webcam or smartphone camera. In these scenes, single-lens reflex (SLR) cameras and high-end camcorders used in related work will appear suspicious. To defeat such computer vision based attacks, we design, implement and evaluate the Privacy Enhancing Keyboard (PEK) where a randomized virtual keyboard is used to input sensitive information.

Motivation & Objective

  • Address the growing threat of side-channel attacks on touch-enabled devices that compromise user privacy during password entry.
  • Develop a stealthy, video-based attack that infers touch inputs without relying on visible text or visual feedback.
  • Design a practical, user-acceptable countermeasure to defend against such visual side-channel attacks in real-world settings.
  • Evaluate the usability and security trade-offs of randomized virtual keyboards in sensitive input scenarios.

Proposed method

  • Use optical flow to detect 'touching frames' where a finger makes contact with the touchscreen in video sequences.
  • Derive the homography matrix between the touch screen surface and a reference virtual keyboard image using edge intersection detection.
  • Apply k-means clustering to identify fingertip shadows and locate touched points in the video frames.
  • Map detected touched points to virtual keyboard keys using the homography transformation for key inference.
  • Implement two versions of the Privacy Enhancing Keyboard (PEK): one with shuffled key layouts and another with dynamically moving keys via Brownian motion.
  • Integrate context awareness using Android’s EditorInfo to trigger PEK only on password input fields.

Experimental results

Research questions

  • RQ1Can a computer vision attack accurately infer touch inputs on a touchscreen without visual cues like text or key popups?
  • RQ2What computer vision techniques enable high-accuracy blind recognition of touched keys from low-quality video?
  • RQ3How effective is homography mapping derived from screen edge intersections in aligning video touch points to a virtual keyboard?
  • RQ4To what extent does a randomized virtual keyboard reduce the success of such visual side-channel attacks?
  • RQ5Is the increased input time from randomized keyboards acceptable for real-world password entry in privacy-sensitive scenarios?

Key findings

  • The attack achieves a first-time success rate of over 90% and a second-time success rate exceeding 95% in identifying touched keys from video.
  • The use of optical flow and k-means clustering enables accurate detection of touch points even in low-resolution or distant video recordings.
  • Homography estimation via edge intersection detection outperforms traditional feature-based methods (e.g., SIFT) in this context.
  • The Privacy Enhancing Keyboard (PEK) with shuffled keys increases median input time from 2.2 seconds to 5.86 seconds, while Brownian motion PEK increases it to 8.24 seconds.
  • Despite longer input times, 94.17% of users successfully entered four-letter passwords using the Brownian motion PEK, indicating high usability for privacy protection.
  • Participants found the PEK acceptable for securing sensitive inputs, especially when triggered only on password fields, confirming its practical viability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.