Sub topic 5
Tailgating, shoulder surfing and dumpster diving
This chapter covers three physical social engineering techniques. It assumes you already know what social engineering is and can tell phishing from impersonation. You should also know the basic idea of access control, meaning rules that decide who may enter a place or use a resource. Defenses such as mantraps and shredding get only a short mention here. The physical security chapter covers them in full.
Why physical techniques matter
Most social engineering you have studied so far happens through email, phone calls or text messages. These three techniques happen in person, in the physical world. The attacker is standing in your lobby, looking at your screen or opening your trash bin.
Physical techniques are attractive to attackers because they bypass technical controls. A firewall cannot stop a person who is already inside the building. Strong passwords do not help if someone reads them over your shoulder. Encryption does not help if the sensitive document is sitting in the recycling bin.
The A+ exam describes each technique in a short scenario and asks you to name it or choose the best countermeasure. You need to recognize the pattern in the story.
| Technique | What the attacker does | What the attacker gains |
|---|---|---|
| Tailgating | Follows an authorized person through a secured door | Physical access to a restricted area |
| Shoulder surfing | Watches or records someone's screen or keyboard | Passwords, PINs and visible data |
| Dumpster diving | Searches discarded materials | Documents, media and devices with usable data |
Tailgating
Tailgating is entering a secured area by closely following an authorized person, usually without that person's knowledge or approval. The attacker does not need a badge. They rely on the fact that people hold doors open.
Common tailgating scenarios include:
- An attacker carries boxes and asks someone to hold the door.
- An attacker walks up behind an employee as they badge in and slips through before the door closes.
- An attacker waits near a smoking area or side entrance and joins a group going back in.
- An attacker wears a delivery uniform or a contractor vest so people assume they belong.
The last case overlaps with impersonation. In an exam scenario, look at what the attacker actually does to get in. If the key action is following someone through a door, the answer is tailgating, even if a costume was involved.
Tailgating versus piggybacking
Some sources separate the two terms. In that distinction, tailgating happens without the authorized person's knowledge, and piggybacking happens with their knowledge, such as when they politely hold the door. CompTIA materials often treat the words as close to interchangeable. If a question offers only one of them, pick it. If it offers both, look for a clue about whether the employee knew.
Countermeasures for tailgating
Defenses combine policy, people and hardware.
- Access control vestibule. This is a small space with two interlocking doors. The second door will not open until the first has closed, so only one person can pass at a time. CompTIA formerly called this a mantraps, and you may see either name.
- Badge readers. Each person must badge in individually. This helps most when combined with a rule against letting others follow you.
- Security guards. A guard can check identity and challenge strangers.
- Visitor logs and temporary badges. Visitors sign in, receive a visibly different badge and are escorted.
- Employee training. Staff learn to politely challenge unknown people and report them rather than hold the door.
Training is often the correct exam answer when the scenario describes a well-meaning employee who held the door. Hardware is the better answer when the question asks how to physically prevent more than one person entering at once.
Shoulder surfing
Shoulder surfing is secretly watching someone enter sensitive information, such as a password, a PIN or a confidential document on a screen. The attacker may stand behind the victim, sit across a train carriage or use a phone camera. The name suggests looking over a shoulder, but binoculars, cameras and security footage can serve the same purpose.
Typical places for shoulder surfing are:
- Coffee shops and airports where people work on laptops.
- Open-plan offices where screens face walkways.
- ATMs and payment terminals where people type PINs.
- Reception desks where visitors can see the screen.
Countermeasures for shoulder surfing
- Privacy screen filters. These are overlays that narrow the viewing angle so that only the person directly in front can read the display.
- Screen positioning. Face monitors away from doors, windows and walkways.
- Automatic screen lock. Lock the workstation after a short idle period, and train users to lock it manually with Windows key + L when leaving the desk.
- Awareness. Cover the keypad when typing a PIN and avoid working with sensitive data in public places.
- MFA. A second factor means a watched password alone is not enough to sign in.
Dumpster diving
Dumpster diving is searching through discarded materials to find information of value. The name comes from searching trash containers, but the technique covers any discarded item. Attackers look for:
- Printed documents with names, account numbers or internal procedures.
- Sticky notes with passwords.
- Old hard drives, USB drives and optical discs.
- Retired laptops, phones and printers that still hold stored data.
- Org charts, phone lists and meeting notes, which help later pretexting or phishing.
Dumpster diving is usually a reconnaissance technique. The attacker may not find a password. They may find a manager's name, a vendor name or a ticket number. These details make a later phone call or email much more believable.
Countermeasures for dumpster diving
- Shredding. Use a cross-cut shredder for paper. Cross-cut shreds are harder to reassemble than strip-cut shreds.
- Locked disposal bins. Documents wait in a locked bin until a certified service collects them.
- Secure media destruction. Drives are physically destroyed, for example by shredding or drilling, or degaussed if they are magnetic. Degaussing means erasing a drive with a strong magnetic field.
- Data sanitization. Wipe devices before recycling or reselling them. A normal delete or quick format is not enough.
- Clear policy. A written policy states what must be shredded and who is responsible.
- Certificate of destruction. A third-party destruction vendor provides proof that items were destroyed.
Telling the three apart
Scenario questions often use a few words that point to one technique. Ask yourself what the attacker physically did.
| Clue in the scenario | Technique |
|---|---|
| Followed an employee through a badge-controlled door | Tailgating |
| Asked someone to hold the door while carrying boxes | Tailgating |
| Looked at a screen or keypad from behind or across a room | Shoulder surfing |
| Used a camera to capture what a user typed | Shoulder surfing |
| Took papers or drives out of the trash | Dumpster diving |
| Bought old computers and recovered data from them | Dumpster diving (discarded devices) |
How the techniques connect
These techniques rarely stand alone. An attacker can dumpster dive to learn a manager's name, tailgate into the office, then shoulder surf to watch a help desk employee type a password. Each step uses the information gained in the previous one.
The practical lesson is layered defense. No single control stops every technique, so organizations combine technical controls, physical controls and trained users.
The technician's role
As a technician, you are both a possible target and part of the defense. Practical habits include:
- Challenging or reporting unbadged people in restricted areas, such as server rooms and wiring closets.
- Not holding secure doors for people you do not recognize, even when it feels rude.
- Locking your screen whenever you leave a workstation.
- Following the disposal policy when you retire a computer, and never leaving old drives in a box in a hallway.
- Reporting suspicious behavior to security rather than confronting the person yourself.
On the exam, the right response to a suspected intruder is nearly always to report through the proper channel. Do not choose an answer in which the technician confronts or detains the person.
Common exam traps
- Confusing tailgating with impersonation. Impersonation is pretending to be someone else. Tailgating is the act of following someone through a door. Both can occur in the same story, so identify the main action asked about.
- Confusing shoulder surfing with eavesdropping. Shoulder surfing is visual. Listening to a conversation is not shoulder surfing.
- Choosing a technical fix for a physical problem. A stronger password policy does not solve tailgating. Pick a physical or training control.
- Treating a delete as disposal. If the question involves old drives, choose wiping or destruction.
- Picking a person-confronting answer. Choose reporting and escalation.
Exercise
An employee at a bank branch notices a stranger carrying a stack of boxes standing at the staff entrance. The stranger asks the employee to hold the door open and walks in behind them. Which attack is this, and which control would physically prevent the next attempt?
Show answer
This is tailgating. An access control vestibule (mantrap) or a badge-controlled entry that admits one person at a time would physically prevent it. Training the employee to challenge unknown people and report them would also help.
Exercise
A company retires 40 old laptops and sends them to a recycler after the IT team deletes the user folders. A few weeks later, customer records turn up in a data breach traced to one of the laptops. Which technique was used, and what should the company have done?
Show answer
The attacker used dumpster diving, in the sense of recovering data from discarded devices. Deleting folders does not remove the data. The company should have securely wiped the drives or destroyed them, for example by shredding or drilling, and obtained a certificate of destruction.
Exercise
A traveling sales representative often works on a laptop in airport lounges and is concerned that people nearby can read the screen. What is this risk called, and what is the most appropriate low-cost fix?
Show answer
The risk is shoulder surfing. The best low-cost fix is a privacy screen filter that narrows the viewing angle. Setting an automatic screen lock and sitting with the screen facing a wall are useful additions.