Security

What is shoulder surfing?

A social engineering attack in which an attacker observes a victim's screen, keyboard, or keypad from over their shoulder to capture sensitive information such as passwords, PINs, or confidential data without the victim's knowledge or consent.

Overview

Shoulder surfing is a simple yet effective form of social engineering attack that exploits human behavior and physical proximity rather than technical vulnerabilities. The attacker positions themselves behind or to the side of a victim and visually observes what the victim is typing or viewing on their screen. This low-tech method requires no special equipment, hacking skills, or network access, making it one of the most accessible security threats in physical environments.

How Shoulder Surfing Works

The attack typically unfolds in several stages:

  1. Positioning: The attacker places themselves within visual range of the victim's screen or input device, often in crowded public spaces like airports, libraries, coffee shops, or office buildings where such proximity may appear innocent.
  2. Observation: The attacker carefully watches as the victim enters credentials, navigates systems, or accesses sensitive information.
  3. Capture: The attacker notes down or mentally records the observed information, such as passwords, usernames, PINs, account numbers, or other confidential data.
  4. Exploitation: The captured information is later used to gain unauthorized access to systems, accounts, or facilities.

Common Scenarios and Environments

Shoulder surfing threats are particularly prevalent in environments where multiple people are present and attention is divided:

  • Public Transportation: Busy trains, buses, and airports where people check email, access banking apps, or work on laptops in close quarters.
  • Financial Institutions: Banks and ATMs where customers must enter PINs or review account information.
  • Corporate Offices: Open office layouts, shared workspaces, and conference rooms where sensitive work may be visible to colleagues or visitors.
  • Retail Locations: Point-of-sale systems, payment terminals, and self-checkout areas where payment card information may be exposed.
  • Public Computing Facilities: Libraries, internet cafes, and shared computer labs where screen visibility is difficult to control.
  • Healthcare Settings: Patient check-in areas and medical offices where personal health information may be visible on screens.

Information at Risk

Shoulder surfers typically target high-value information that can be directly exploited:

  • Passwords and usernames
  • Personal Identification Numbers (PINs)
  • Credit card and debit card numbers
  • Social Security numbers and tax identification information
  • Healthcare information and insurance details
  • Trade secrets and business intelligence
  • Email addresses and usernames
  • Multi-factor authentication codes
  • Banking credentials and account numbers

Technical vs. Social Engineering Context

While many security threats require technical knowledge to exploit, shoulder surfing is purely a social engineering attack that relies on:

  • Physical proximity and opportunity
  • Human inattention to surroundings
  • Assumptions that observers are trustworthy
  • The victim's failure to shield their screen or input

This distinction is important because technical security controls like firewalls and encryption are ineffective against shoulder surfing. Prevention requires behavioral awareness and physical security measures.

Prevention Strategies

For Individuals

  • Screen Positioning: Angle your screen away from other people's direct line of sight, especially when entering sensitive information.
  • Privacy Screens: Use anti-glare or privacy filter screens that limit viewing angles, making it difficult to see content except from directly in front of the monitor.
  • Situational Awareness: Be conscious of who is nearby when entering passwords, PINs, or accessing sensitive data. Notice if someone seems unusually interested in your screen.
  • Shield Your Input: Cover the keypad or keyboard with your hand or body while entering PINs at ATMs or payment terminals.
  • Avoid Public Wi-Fi for Sensitive Tasks: Refrain from accessing banking, email, or confidential work on public networks in crowded spaces where shoulder surfing is likely.
  • Lock Your Screen: Use screensaver locks and always lock your workstation when stepping away, even briefly.
  • Be Cautious at ATMs: Use your body to shield the PIN pad and screen from surrounding observers.

For Organizations

  • Physical Security Policies: Establish clear guidelines for screen positioning in shared workspaces and implement ergonomic desk arrangements that minimize visibility from adjacent areas.
  • Privacy Screen Provision: Equip employees with privacy screens, especially those handling sensitive information.
  • Visitor Management: Control access to sensitive areas and monitor the movement of non-employees through the workplace.
  • Security Awareness Training: Educate employees about shoulder surfing threats and best practices for protecting information in shared environments.
  • Clear Desk Policies: Require employees to remove sensitive documents from desks when unattended and clear screens of sensitive information before leaving workstations.
  • Workspace Design: Arrange desks and workstations to minimize sightlines from public areas, corridors, and visitor spaces.
  • Password Management: Enforce policies such as not writing down passwords and using password managers that minimize manual entry.
  • Multi-Factor Authentication: While MFA doesn't prevent shoulder surfing during entry, time-limited codes reduce the window of exploitation if a one-time code is observed.

Real-World Impact

Shoulder surfing has been documented in numerous security breaches and incidents:

  • Thieves observing customers at ATMs have captured PINs and later used stolen cards for fraudulent withdrawals.
  • Competitors have gathered confidential business information by observing executives working in public spaces.
  • Identity thieves have collected Social Security numbers and other personal data by watching customers at retail checkout areas.
  • Corporate espionage has leveraged shoulder surfing in airports and hotels to capture passwords and access credentials from traveling employees.

Relationship to Other Threats

Shoulder surfing is often part of a broader social engineering campaign. Information gathered through shoulder surfing may be combined with other techniques such as:

  • Phishing: Using observed email addresses or usernames as part of targeted phishing emails.
  • Pretexting: Using captured information to create convincing false scenarios for social engineering calls.
  • Dumpster Diving: Combining visual information with discarded documents containing sensitive data.

Key Takeaways

Shoulder surfing demonstrates that not all security threats are technological in nature. Despite advanced encryption, firewalls, and intrusion detection systems, organizations remain vulnerable to simple physical observation attacks. Effective security requires a holistic approach that combines technical controls with physical security measures, security policies, and continuous employee awareness training. Both individuals and organizations must recognize that in an increasingly connected world, the simple act of observing someone's screen or input device can provide an attacker with the credentials needed to compromise entire systems and networks.

Studying for CompTIA (Security)?

ExamWizardz turns the official objectives into a guided study plan — with practice tests, real PBQs, and a readiness score. Join the waitlist to be first in when CompTIA A+ launches.

Related terms