Shoulder Surfing
What is shoulder surfing?
Shoulder surfing is a form of social engineering where an attacker obtains sensitive information by observing the victim's screen or keyboard inputs, often by looking over their shoulder. This technique is commonly used to steal passwords, PINs or other confidential data in public or crowded places.
How shoulder surfing works
Shoulder surfers are opportunistic. They take advantage of public places where people are using their devices. Common techniques include:
- Direct observation. They stand or sit close enough to see a person's screen or keyboard.
- Viewing tools. Some use binoculars, miniature cameras or other equipment to capture information from a distance without being noticed.
- Crowded areas. Busy places such as cafes, airports and public transportation give them cover.
These attackers take advantage of moments when people let their guard down, especially in familiar environments.
Shoulder surfing is low-tech, but an observer can capture a password or PIN in seconds. Remote work adds opportunities, because people who work from cafes, airports and shared spaces type credentials and read sensitive information where others can see them.
Common targets and scenarios
Shoulder surfing can happen anywhere people enter or view sensitive information. Common targets include:
- ATMs. People entering PINs are an easy target. A shoulder surfer watches someone enter their PIN, then steals the card and uses the PIN to withdraw money.
- Public computers. In libraries and internet cafes, users log in to personal accounts where others can see their screens.
- Mobile devices. People who text or use apps in public, such as on public transport, can expose banking details or passwords to someone nearby.
- Public workspaces. In a coffee shop, someone glances at a laptop screen, notes the username and watches the keystrokes, then uses them to break into accounts later.
- Office environments. In open-plan offices or during meetings, a co-worker or visitor can see confidential information displayed on a screen.
How to prevent shoulder surfing
A few simple steps can help reduce the risk of shoulder surfing:
- Be aware. Pay attention to who's nearby, and take extra care when entering sensitive information in public places.
- Shield screens and keypads. Use body position or a privacy screen to block others' view of a device, and cover the keypad when entering a PIN. Privacy screens are particularly useful for laptops and smartphones.
- Type less in public. Use a password manager or passwordless authentication, such as passkeys, so passwords aren't typed where others can watch. Use biometric unlock where it's available.
- Use multi-factor authentication. Multi-factor authentication (MFA) requires a second form of verification, so a password someone saw isn't enough on its own.
- Lock screens automatically. Set devices to lock after a short period of inactivity.
- Choose a seat carefully. Sit facing the room, away from windows, mirrors and crowds.
Why shoulder surfing matters for privileged accounts
If someone watches an administrator type a password, they can use it on every system that account can reach, and a privileged account often reaches many sensitive systems. Shoulder surfing isn't only a public-place risk. It happens in open-plan offices, during screen shares and in remote work setups too.
Organizations can reduce this risk by storing privileged passwords in a vault, rotating them after use and requiring MFA to sign in. Enterprise password management shows how these controls fit together.