Social engineering: attacks that work on people

7 min 5 sections 3 practice questions 7 sources cited

A confidence trickster does not pick the lock. He persuades someone inside to open the door. Most attacks on organisations still start this way, by email, by phone or at the front desk, because a helpful person is easier to fool than a well-built system. No background is assumed. A security professional has to recognise each trick by name, know why it works, and build procedures that do not depend on people spotting every one.

By the end of this unit you will be able to:

  • Explain what social engineering is and name the seven levers it pulls
  • Tell apart phishing, spear phishing, whaling, smishing, vishing and business email compromise
  • Recognise in-person attacks such as tailgating, shoulder surfing, dumpster diving and baiting
  • Choose controls that stop social engineering without relying on every person noticing it

A call to reception from head office IT

An illustrative example

At 5.40 on a Friday, the receptionist at a hotel takes a call. The caller gives a name, says he is from head office IT and mentions the general manager by first name. A security update must go on the front-desk computer before the weekend, he says, or the booking system will lock at midnight.

He asks her to open a web page and type in the code he reads out. A queue of guests is forming. The general manager has gone home.

Which pressures is the caller using on her, and what single rule would have protected her?

The confidence trick, by email, phone and at the door

Social engineering is deceiving a person into doing something that helps an attacker: revealing information such as a password, giving access, running a program or making a payment. It attacks people's helpfulness, trust and fear of getting things wrong, not a weakness in a machine.

It works because the request usually looks like normal work. Receptionists are paid to help callers. Finance clerks are paid to pay invoices. The attacker does not need the person to break a rule knowingly. He needs them to believe the request is genuine for long enough to act.

Attackers prepare. Public websites, social media and job adverts give names, roles, suppliers and internal jargon. A caller who knows the manager's first name sounds like a colleague. Gathering this background is often the longest part of the attack.

Seven levers that make people comply

Almost every attempt uses one or more of seven pressures. Naming them helps a person notice when they are being pushed.

Authority
The attacker claims to be, or to speak for, someone with power: a director, IT, the police, the bank.
Intimidation
Threats of trouble if the person does not : a complaint, a fine, a lost job.
Consensus
Everyone else has already done it, so it must be fine. Also called social proof.
Scarcity
Something is limited or about to run out: the last place, the final offer.
Familiarity
The attacker seems known or likeable, using shared names, small talk or a friendly manner.
Trust
The attacker builds a relationship over time, or poses as a trusted supplier, before asking for anything.
Urgency
There is no time to check: the system locks at midnight, the payment is overdue.

The hotel caller used four at once: authority (head office IT), familiarity (the manager's first name), urgency (midnight) and intimidation (a locked booking system). The queue of guests added pressure he did not even create.

Pressure to act before checking is itself the warning sign. The more a message hurries, the more it needs checking.

Attacks by message and by voice

Remote social engineering techniques
TechniqueWhat it is
PhishingFraudulent email or websites posing as a trusted organisation to steal information or plant harmful software
Spear phishingPhishing aimed at one person or a small group, using details about them to look genuine
WhalingSpear phishing aimed at a senior executive, whose authority and access are greatest
SmishingPhishing by text message (SMS)
VishingPhishing by voice: a phone call or recorded message
Business email compromise (BEC)Using a real or faked business email account to ask for a payment or changed bank details
PretextingInventing a believable story, the pretext, to justify a request, such as the IT update at the hotel
HoaxA false warning, such as a fake alert, that tricks people into a harmful action or wastes their time
TyposquattingRegistering a web or email address one small slip away from a real one, such as a swapped letter
Watering holeInfecting a website that a targeted group is known to visit, so that their computers are attacked when they browse it

Business email compromise causes some of the largest losses. The United States Federal Bureau of Investigation (FBI) recorded over 55 billion dollars of exposed losses from it worldwide between October 2013 and December 2023. A typical case is an email, apparently from a known supplier, saying its bank details have changed.

Attacks in person

Tailgating
Following an authorised person through a secured door without their agreement, before it closes.
Piggybacking
The same entry, but with the authorised person's agreement: they hold the door, often out of politeness.
Shoulder surfing
Watching someone type a password or PIN, or read a screen, from nearby or through a camera.
Dumpster diving
Searching rubbish and recycling for documents, notes and old equipment that hold useful information.
Baiting
Leaving something tempting, such as a USB memory stick labelled 'Salaries', for a victim to pick up and plug in.
Impersonation
Posing in person as someone with a reason to be there: a courier, an engineer, an inspector, a new starter.

In-person attacks rely on the same levers. A person in a high-visibility jacket carrying a ladder borrows authority. A visitor with full arms who asks for the door to be held relies on politeness, which is familiarity and trust at work.

What stops it, and the look-alikes told apart

Training helps people notice. The stronger defences make noticing less necessary, because the itself defeats the trick.

  • Verify by a separate, known channel: call back on a number from the directory, never one given in the message
  • Write procedures that do not bend to rank: a director's urgent payment goes through the same checks as any other
  • Require two people for high- actions such as changing a supplier's bank details
  • Make reporting quick and free of blame, so that someone who clicked says so at once
  • Use technical filters that block known bad senders, mark external email and warn about look-alike addresses
  • Shred paper, wipe old equipment, and control doors so that only one person passes per badge
Pairs that are easily confused
PairThe difference
Phishing and spear phishingPhishing is sent widely; spear phishing is aimed at chosen people using details about them
Spear phishing and whalingWhaling is spear phishing aimed at senior executives
Smishing and vishingSmishing uses text messages; vishing uses voice calls
Tailgating and piggybacking is without the insider's agreement; piggybacking is with it
Pretexting and impersonationPretexting is the invented story; impersonation is posing as a person. Most attacks use both
Phishing and watering holePhishing sends the bait to the victim; a watering hole waits for the victim at a site they already trust

A question, worked through

A charity's finance officer receives an email from its long-standing printing supplier. It says the supplier has changed banks and gives new account details for this month's 18,000 pound invoice. The email address, logo and signature all match previous emails. The finance director is abroad.

What should the finance officer do FIRST?

  1. Reply to the email and ask the supplier to confirm the change
  2. Phone the supplier on the number already held in its records
  3. Pay the invoice into the account the supplier used last month
  4. Forward the email to the finance director for written approval
Decide on your answer, then open the reasoning
  1. The situation is a request to change bank details by email: the classic pattern of business email compromise. The real question is how to confirm the request is genuine.
  2. Rule out a: if the supplier's email account has been taken over, the reply goes to the attacker, who will confirm the change.
  3. Rule out c: paying the old account ignores what may be a genuine change and resolves nothing.
  4. Between b and d: the director's approval adds authority but not verification. The director cannot tell from an email either. A call on a number held before the email arrived uses a channel the attacker does not control.
  5. Choose b.

Answer: B. Phone the supplier on the number already held in its records

Choosing between good answers

A request to pay or change bank details arrives by email
choose verification by a separate channel already known, such as a phone number on file. Never use contact details given in the request.
A question describes pressure from rank, a deadline or a threat
name the lever, and choose the answer that follows the normal procedure regardless of who is asking.
Someone falls for a social engineering attempt
choose prompt reporting and further training over punishment.
An attack is aimed at one named person using details about them
it is spear phishing, or whaling if that person is a senior executive.

Check your understanding

3 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 3

An email sent to a firm's chief executive alone uses details from her recent conference speech and asks her to approve an urgent, confidential payment for an acquisition.

Which kind of attack is this?

What to remember

  • Social engineering deceives a person into revealing information, giving access, running software or paying money.
  • The seven levers are authority, intimidation, consensus, scarcity, familiarity, trust and urgency.
  • Phishing is by email or website; spear phishing is targeted; whaling targets executives; smishing is by text and vishing by voice.
  • Business email compromise uses a real or faked business account to divert payments, and is defeated by calling back on a known number.
  • Procedures that verify through a separate channel and do not bend to rank stop more attacks than relying on people to notice.

Say it from memory

  1. Name the seven levers social engineering uses, with one sign of each.

    Authority (claims power or rank), intimidation (threats), consensus (everyone else did it), scarcity (limited or last chance), familiarity (seems known or likeable), trust (relationship built first), urgency (no time to check).

    Read this part again

  2. Tell apart phishing, spear phishing, whaling, smishing, vishing and business email compromise.

    Phishing: fraudulent email or sites sent widely. Spear phishing: aimed at chosen people using details about them. Whaling: spear phishing of senior executives. Smishing: by text message. Vishing: by voice call. Business email compromise: a real or faked business email account used to request payments or changed bank details.

    Read this part again

  3. What is the difference between tailgating and piggybacking, and what defeats both?

    Tailgating is following an authorised person through a secured door without their agreement; piggybacking is with their agreement, such as holding the door. Both are defeated by doors that let one person through per badge, and by staff who are expected to challenge or report.

    Read this part again

  4. What is social engineering, what does it attack, and what is often the longest part of the attack?

    Deceiving a person into doing something that helps an attacker: revealing information, giving access, running a program or making a payment. It attacks people's helpfulness, trust and fear of getting things wrong, not a weakness in a machine. Gathering background from public websites, social media and job adverts is often the longest part.

    Read this part again

  5. Which procedures defeat social engineering without relying on someone noticing the trick?

    Verify by a separate, known channel, calling back on a number from the directory. Write procedures that do not bend to rank. Require two people for high-risk actions such as changing a supplier's bank details. Make reporting quick and free of blame.

    Read this part again

Sources

  • Glossary: social engineering, NIST Computer Security Resource CenterSocial engineering as tricking or deceiving someone to reveal information such as a password, gain unauthorised access or commit fraud, often by building trust.
  • Glossary: phishing, NIST Computer Security Resource CenterPhishing as acquiring sensitive information through fraudulent email or websites in which the attacker poses as a legitimate business or reputable person.
  • NIST SP 800-50 Rev. 1: Building a Cybersecurity and Privacy Learning Program, NISTPhishing, smishing and vishing named as social engineering efforts used in practical exercises.
  • Business Email Compromise: The $55 Billion Scam (I-091124-PSA), United States Federal Bureau of Investigation, Internet Crime Complaint CenterBusiness email compromise as compromising or using business email accounts to make unauthorised transfers of funds; 305,033 incidents and over 55 billion dollars of exposed losses between October 2013 and December 2023; verifying account changes through a secondary channel and checking for subtle misspellings in addresses.
  • Spotting scam messages, UK National Cyber Security CentreAuthority, urgency, emotion, scarcity and current events as the signs of a scam message.
  • Phishing attacks: defending your organisation, UK National Cyber Security CentreA quick and simple way to report phishing, and the warning that a culture of blame stops people reporting mistakes.
  • NIST CSRC Glossary: watering hole attack, NISTA watering hole attack as infecting websites frequently visited by members of a targeted group, to compromise their computers when they visit.