Attack Types

Exam questions rarely name an attack. They describe one and ask what it was. Each row here carries the detail that separates it from the attack next to it, which is the part the question turns on.

Social engineering

AttackThe tell
PhishingMass email, generic greeting, a link or attachment
Spear phishingTargeted at a named person, uses real details about them
WhalingSpear phishing aimed at an executive
VishingVoice call, often spoofed caller ID
SmishingSMS message with a link
PretextingAn invented scenario that justifies the request
Business email compromiseA real or lookalike internal account asks for a payment
Watering holeA site the target group already visits is compromised
TailgatingFollowing someone through a door they badged open
PiggybackingSame, but the person holds the door knowingly
Shoulder surfingReading a screen or keypad over someone's shoulder
Dumpster divingRecovering documents or media from waste
TyposquattingA domain one keystroke away from the real one
ImpersonationClaiming a role, usually one that discourages questions

Malware

TypeThe tell
VirusAttaches to a file, needs the file to be run
WormSpreads on its own across a network, no user action
TrojanPresents as something wanted, carries something else
RATTrojan that gives the attacker interactive control
RansomwareEncrypts data and demands payment
Logic bombDormant until a condition or date is met
RootkitHides itself and other malware, often below the OS
BootkitRootkit in the boot process, loads before the OS
KeyloggerRecords keystrokes
SpywareCollects activity and sends it out
Fileless malwareRuns in memory, often through PowerShell or WMI
Potentially unwanted programInstalled alongside something the user did want

Network attacks

AttackThe tell
On-path (MITM)Attacker sits between two parties and relays traffic
ARP poisoningForged ARP replies redirect local traffic
DNS poisoningForged records send a name to the wrong address
DNS tunnellingData smuggled inside DNS queries
Domain hijackingThe registrar record itself is taken over
DDoSMany sources exhaust a resource
AmplificationSmall request, large reply, spoofed source
ReplayA captured valid message is sent again
Session hijackingA live session token is stolen and reused
Evil twinRogue access point using the real network name
DeauthenticationForces clients off wireless so they reconnect
MAC floodingFills the switch table so it floods like a hub
VLAN hoppingReaches a VLAN the port should not reach

Application and password attacks

AttackThe tell
SQL injectionInput is interpreted as database commands
Cross-site scriptingInput is executed as script in another user's browser
CSRFA logged-in user's browser is made to send a request
SSRFThe server is made to fetch a URL the attacker chose
Directory traversalPath input reaches files outside the web root
Buffer overflowInput longer than the buffer overwrites adjacent memory
Race condition (TOCTOU)State changes between the check and the use
Privilege escalationA low-privilege foothold becomes a high-privilege one
Brute forceEvery combination, in order
DictionaryA wordlist of likely passwords
Password sprayingOne common password against many accounts, avoids lockout
Credential stuffingUsername and password pairs leaked from another breach
Rainbow tablePrecomputed hashes, defeated by salting

Now test yourself

Memorizing a table is a start. Practice questions are what make it stick, and every answer carries the full explanation.