Concepts / Social engineering

Social engineering

Watering-hole attack

Also called watering hole, strategic web compromise, drive-by compromise

Compromising a legitimate site a target group already trusts and visits, so the payload reaches the targets through a site they came to on their own.

Only the targets get the payload
Only the targets get the payload

The script injected into a trusted site checks each visitor. Everyone outside the target group gets the clean page, so the site looks fine to almost everyone who checks it.

A watering-hole attack compromises a legitimate site the targets already visit, instead of luring them somewhere new. The attacker injects a script into the trusted site. It profiles each visitor (address range, cookie, user-agent) and delivers its [[beaconing|payload]] only to the intended victims; everyone else, the site's operators included, gets a clean page, so it is hard to catch. Defences on the site: patching, Subresource Integrity, a Content Security Policy.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab