Watering Hole Attacks - Compromising Trusted Sites
About 2 min read
A watering hole attack is a type of targeted attack in which attackers identify and compromise in advance the websites that employees of a target organization or industry frequently visit, then infect visitors' devices with malware. The name comes from an analogy to a predator lying in wait at a watering hole where wild animals gather. In its description of the Drive-by Compromise (T1189) technique, MITRE ATT&CK names targeted campaigns that use websites visited by a specific community, such as government, a particular industry, or a region, as watering hole attacks.
The Premise That Familiar Places Cannot Be Verified
What makes this technique work is that the side doing the visiting has no means of verifying the state of the place being visited. The places used in daily work are not under the visitors' control, and there is no way to tell from outside what has been swapped in there. What is more, the more frequently a place is used, the more the very act of opening it as usual creates a situation in which no reason to doubt ever arises. Familiarity, then, is not a lapse of attention; it is the result of there being structurally no occasion to verify. Next, where a mechanism is in place that varies what is returned according to the origin of the incoming request, what the verifying party sees and what was actually delivered become two different things. Under that structure, the result of opening the same place later and finding nothing happening is no confirmation that nothing was delivered. The fact that it does not reproduce is itself treated as an indication that conditions may have been attached to what is returned. The question that therefore remains is when the material for connecting things is prepared. Traces left on the other side cannot be inspected, and what remains on one's own side is only two records: where the traffic went, and what happened afterwards. These two connect only when set against each other, and setting them against each other requires both to have been retained from ordinary times. They cannot be started after something unusual has been noticed.
Watering Hole Attack Flow
How the Attack Unfolds
First, attackers research the industry news sites, technical forums, and industry association sites that the target organization's employees frequently visit. Next, they exploit the vulnerabilities of those sites to embed malicious scripts. Examples listed in MITRE ATT&CK include groups that targeted victims within a specific IP range and groups that profiled a visitor's web browser before delivering malicious code accordingly. Unlike spear phishing, it does not send email to the target; it uses websites the target visits over the normal course of browsing.
Defensive Measures
Among the mitigations for this technique, MITRE ATT&CK lists keeping browsers and plugins updated, which can help prevent the exploit phase, and browser sandboxes, which can be used to mitigate some of the impact of exploitation, while noting the risk of sandbox escapes. Updates close only vulnerabilities for which a fix exists, which excludes zero-days. At the network level, IDS/IPS are used to detect anomalous communication patterns. Endpoint EDR (Endpoint Detection and Response) is a mechanism for monitoring malware behavior. Using a unique, strong password for each service is one measure that limits damage from spreading to other accounts after a malware infection.
Was this article helpful?
Related Terms
- Spear Phishing - Targeted Email Attack TacticsSpear phishing crafts personalized messages using researched details about a specific target. See how it differs from mass phishing and how it works.
- DNS Filtering - Blocking Threats at the DNS LayerDNS filtering blocks access to malicious or unwanted domains by intercepting DNS queries. It provides network-wide protection without installing agents on every device.
- Vishing - Voice Phishing AttacksVishing uses phone calls to impersonate banks or tech support and extract sensitive information. AI voice synthesis combined with caller-ID spoofing is making these attacks increasingly convincing.
- Typosquatting - Fake Domains from Misspelled URLsTyposquatting registers domains that mimic popular sites to exploit typing mistakes. See how attackers use lookalike URLs for phishing and malware.