Shoulder surfing: the spy behind your shoulder
How a seat neighbour on a train or in a café reads a code, password or notification on your screen, and the habits that stop it.
On this page
In 30 seconds
- Where it happens
- On crowded planes, trains, in airports and hotel lobbies, as well as in bars, cafés and restaurants[1].
- What the attacker wants
- A confirmation code, credentials or an email address that opens an account for them[1].
- The reflex
- Pick a seat with your back to a wall, put a privacy filter on the screen and turn off notification previews[1].
- If it has already happened
- If a login or code notification arrives when you asked for nothing, ESET advises investigating immediately[1].
What it is
Shoulder surfing (in French, "regarder par-dessus l'épaule") means reading information on another person's screen: a PIN, a password, a message, a document. The technique is rudimentary. According to ESET, it has existed since long before smartphones and highly mobile laptops, and today there are more opportunities to profit from it[1].
In a café or at the airport, someone who can look over your shoulder does not need access to your device to see your data, your passwords or your sensitive activity, CISA points out[2]. For an employee who works away from the office, this is a daily risk, and a few simple habits reduce it.
Straight answers
What can a seat neighbour see?
Everything that is displayed: an open document, a message, a code that appears on the phone's home screen. CNIL and SNCF Voyageurs list three common situations on trains: a password written on a note stuck to the computer, a screen visible to other passengers, and an unlocked computer when you leave your seat[3]. CISA adds that passwords and sensitive data can be read without touching the device[2].
Why is an employee on the move an easy target?
With remote work and digital services on board, many travellers connect on trains. CNIL and SNCF Voyageurs address the 10 million daily users of TER, Intercités, OUIGO and TGV INOUI services[3]. ESET notes that busy lifestyles with several devices attract shoulder surfers, especially in informal places such as bars, cafés and restaurants[1]. Many people believe they would spot someone eyeing their screen, but the attacker only needs to get lucky once[1].
What do organisations ask of their employees?
The UK's NCSC lists looking over the shoulder among the topics that guidance to users can cover: being aware of one's surroundings and using a privacy filter[4]. It states that a privacy filter can help with the physical security of the device[4]. CNIL recommends providing a privacy filter for screens of workstations used in public places, not leaving equipment or documents unattended, and not discussing sensitive information out loud[5].
Do smart glasses change anything?
Yes. ESET describes smart glasses wearers who could shoulder surf behind you in public places to steal PINs, passwords and other secrets[6]. Combined with facial recognition, this collection could make it possible to build a fairly complete digital profile of the target[6].
What should you do in practice?
- Choose your seat: in a public place, ESET suggests working with your back to a wall, or not working in very busy places[1].
- Lock the device as soon as you stand up, and set automatic locking after no more than 15 minutes of inactivity, says CISA[2].
- Turn off previews of notifications for messages, emails and alerts[1].
- Use a privacy filter or lower the screen brightness[3].
- Do not stick a note with your passwords on the computer[3].
- Do not leave equipment or documents unattended in public; CNIL also advises limiting data stored on portable workstations to what is strictly necessary[5].
Inside the attacker's head
ESET describes opportunistic fraudsters for whom old methods, such as shoulder surfing or going through bins, sometimes offer the best return[1].
What the attacker looks for depends on what they already know. If they know the victim's email address or phone number, they only need to read the confirmation code as it appears. According to ESET, the phone number can be found in data from earlier leaks or through open-source intelligence, including on social networks; the email address can come from shoulder surfing, from a leak published on the dark web or from other means[1]. According to ESET, an attacker who watches a person in a public place for long enough also ends up spotting their email address[1].
Once inside the account, the attacker can, according to ESET[1]:
- change the credentials and then extort the victim to regain access;
- try the same credentials on other accounts by brute force;
- steal personal information for identity theft or further phishing;
- divert funds to their own accounts;
- post inappropriate content from the victim's account.
The consequences can last for months: a wave of phishing afterwards, with recovering the funds and restoring the financial situation taking even longer[1].
What you see on screen
Most often, nothing unusual. Notifications appear on the home screen, and many people are so used to them that they ignore them, whereas someone looking over their shoulder does not ignore them[1].
The trap is also social. CNIL reports a true story: a passenger openly criticised their employer in a private conversation with a colleague on a social network, and their seat neighbour was a good friend of their manager[3]. For CNIL, protecting your screen also means protecting your privacy[3].
Under the hoodIT teams
The mechanism ESET describes relies on a service's password reset function. The attacker enters the target's phone number or email address, chooses to receive a confirmation code by message, then reads that code when it appears on the victim's phone[1]. In the Snapchat experiment, the account was protected by two-factor authentication and was taken over all the same[1].
ESET recommends never reusing a password, using a password manager and enabling multi-factor authentication, preferably with an authenticator app (Google Authenticator, Microsoft Authenticator) rather than a code by SMS[1]. CNIL, for its part, recommends a password manager to create and store passwords[3].
Smart glasses add risks. According to ESET, they make it possible to photograph or film strangers without their knowledge; the small LED can be masked and remains hard for people nearby to notice[6]. It pulses when video is being recorded and blinks once for a photo[6]. ESET also cites researchers at Harvard University, who showed that a video taken with smart glasses and streamed live on Instagram can be linked to an AI that identifies faces and then searches the Internet for information about those people[6]. For the people being observed, ESET recommends being wary of shoulder surfing in crowded public spaces, such as transport, or at cash machines[6].
Case filesReal cases
A Snapchat account taken over (ESET, 2022)
In an article dated 2 February 2022, ESET recounts an experiment run by Jake Moore of ESET, with the prior agreement of the person concerned. He bets a friend that he can hijack her Snapchat account, even though it is protected by two-factor authentication[1]. He uses the reset function, enters the friend's phone number and asks for a confirmation code to be sent by message. By reading that message as it appears on the home screen of his friend's phone, he takes full control of the account[1]. The friend ignored a second code sent by SMS; Jake Moore watched it and entered it[1].
A PayPal account hijacked (ESET, 2022)
In the same publication, Jake Moore bets a friend that he can hijack one of his online accounts. On the PayPal login page, he requests a password reset, enters the friend's email address and chooses verification by SMS code[1]. He discreetly reads the code as it appears on the friend's device, which gives him access to the whole PayPal account[1]. ESET specifies that the victim was a cybersecurity veteran with more than 20 years of experience: if he can be caught out this way, others can be too[1].
Sources
- ESET, “Shoulder surfing: Watch out for eagle-eyed snoopers peeking at your phone”, 2 February 2022. https://www.welivesecurity.com/2022/02/02/shoulder-surfing-watch-out-eagle-eyed-snoopers-peeking-phone/ (accessed 14 November 2026)
- CISA, “Protect the Physical Security of Your Digital Devices | CISA”. https://www.cisa.gov/resources-tools/training/protect-physical-security-your-digital-devices (accessed 14 November 2026)
- CNIL, “Naviguez en toute sécurité : la CNIL et SNCF Voyageurs se mobilisent pour protéger vos données personnelles”, 4 July 2025. https://www.cnil.fr/fr/naviguez-en-toute-securite (accessed 14 November 2026)
- NCSC (UK), “Advising end users”, 29 June 2021. https://www.ncsc.gov.uk/collection/device-security-guidance/managing-deployed-devices/advising-end-users (accessed 14 November 2026)
- CNIL, “Sécurité : Sécuriser l'informatique mobile”, 14 March 2024. https://www.cnil.fr/fr/securite-securiser-linformatique-mobile (accessed 14 November 2026)
- ESET, “Eyes wide open: How to mitigate the security and privacy risks of smart glasses”, 11 May 2026. https://www.welivesecurity.com/en/privacy/eyes-wide-open-mitigate-security-privacy-risks-smart-glasses/ (accessed 14 November 2026)
Cite this article
Brain, “Shoulder surfing: the spy behind your shoulder”, Cyberpedia, 2026. https:/
BibTeX
@misc{brain_cp024_en_2026,
author = {Brain},
title = {Shoulder surfing: the spy behind your shoulder},
year = {2026},
howpublished = {Cyberpedia},
url = {https://startbrain.io/cyberpedia/en/articles/shoulder-surfing-screen-snooping-transit/},
note = {CC BY 4.0}
}