A watering hole attack is a targeted cyberattack in which attackers compromise a legitimate website that a specific group regularly visits, then use it to infect those visitors with malware or steal their credentials. Victims need only visit the trusted site; they never click a suspicious link.
Key takeaways
- A watering hole turns a trusted website into a malware delivery route.
- MITRE lists it under T1189, Drive-by Compromise, in the Initial Access tactic.
- Patching browsers, isolating web browsing and monitoring trusted sites are the key defenses.
Phishing chases victims with fake messages. A watering hole attack does the opposite: it poisons a website the victims already trust and waits for them to come to it. The site looks normal, the visit is routine, and the infection happens silently in the browser.
What is a watering hole attack?
A watering hole attack is a targeted cyberattack in which attackers compromise a legitimate website that a specific group regularly visits, then use it to deliver malware or steal credentials from those visitors.
The name comes from nature: predators wait at a watering hole where their prey must come to drink. In the same way, attackers wait at a website their targets must visit — an industry publication, a regulator's site, a supplier portal or a niche software vendor — instead of chasing each victim individually.
MITRE ATT&CK, the framework security teams use to classify attacker behavior, files this under T1189: Drive-by Compromise, in the Initial Access tactic. MITRE describes it as a targeted campaign, often called a strategic web compromise or watering hole attack, aimed at a specific community, industry or region.
How does a watering hole attack work?
A watering hole attack runs in six phases, from profiling the targets to a backdoor on their network. The victims do nothing wrong — they simply visit a site they have visited many times before.
- Profile the target group. Attackers work out which sites the group visits: an industry association, a regulator, a supplier portal or a niche software vendor. Much of this comes from public information.
- Break into a trusted site. They pick the weakest site on the list, often one running an outdated content management system or plugin. The site owner becomes a victim too.
- Inject malicious code. A script, a hidden iframe or an exploit kit goes onto the page. Visitors still see the normal site.
- Filter the visitors. The code checks each visitor's IP range, browser and operating system, and only attacks the intended targets. Everyone else sees nothing unusual.
- Exploit the browser. Scripts search for a vulnerable browser or plugin version, then deliver exploit code. The user may be asked to enable scripting or ignore a warning.
- Gain a foothold. If exploitation succeeds, the attacker gets code execution on the visitor's system — a backdoor, a credential stealer or a first step toward the internal network.
The filtering step is what makes watering holes hard to find. Security researchers who visit the site from the wrong IP range or browser may see a clean page, while the real targets are infected.
Watering hole attack vs phishing vs drive-by download: what is the difference?
These attacks overlap, but the delivery method is different. Phishing lures victims to a fake site; a watering hole poisons a real one; a drive-by download is the mechanism that infects the browser.
| Watering hole | Phishing | Drive-by download | |
|---|---|---|---|
| Victim's action | Visits a trusted site as normal | Clicks a link or opens an attachment | Visits a malicious or compromised page |
| Site involved | Legitimate, compromised | Fake, attacker-controlled | Malicious or compromised |
| Targeting | A specific group | Anyone, or one person | Anyone who visits |
| User mistake needed? | No — routine browsing is enough | Yes — the victim must click | Usually no |
| MITRE technique | T1189, Drive-by Compromise | T1566, Phishing | T1189, Drive-by Compromise |
A watering hole is a kind of drive-by compromise: the drive-by part is the browser infection, and the watering hole part is the choice of a trusted site that a specific group visits. Learn the phishing side in our guide to what spear phishing is.
Our phishing email examples show the other common delivery method for comparison.
What are real examples of watering hole attacks?
Documented watering holes stretch back more than a decade, and the same technique is still used by state-linked groups today. MITRE's T1189 page lists many of them.
Forbes.com (2014): APT19
MITRE records that APT19 performed a watering hole attack on forbes.com in 2014 to compromise its targets. A mainstream news site was used as the trap, showing that attackers do not always pick obscure sites.
Darkhotel: hotel login portals
MITRE records that the Darkhotel group used embedded iframes on hotel login portals to redirect selected victims to download malware. The victims were business travelers who had to use the hotel network to get online.
Elderwood: zero-day exploits on public pages
MITRE records that Elderwood delivered zero-day exploits and malware to victims by injecting malicious code into specific public web pages visited by its targets. The group chose pages its targets were already likely to visit, rather than sending them a link.
Dragonfly 2.0: energy sector watering holes
Dragonfly 2.0 compromised legitimate organizations' websites to create watering holes aimed at the energy sector. MITRE's ICS guidance notes that the group used watering holes on energy-related trade publications and informational sites to reach process control and critical infrastructure staff.
Who is targeted, and why?
Watering holes are aimed at groups, not individuals. The attacker wants people who share a job, an industry or a region, because compromising one of them can open a whole organization.
- Energy and critical infrastructure: staff who read trade publications and regulator sites.
- Finance: bank employees who visit regulator and industry association pages.
- Defense and government: contractors and officials who use niche portals.
- Technology and manufacturing: engineers who download tools or read vendor documentation.
- Journalists and activists: people who visit the same news or advocacy sites.
The site owner is usually a secondary victim. Attackers pick the weakest site the group trusts, not the most famous one — a small trade association site with an outdated plugin is a far easier target than a major news outlet with a security team.
How do you detect a watering hole attack?
Detection is hard for individual users, because the site looks normal and the infection is silent. It is easier for security teams that watch network traffic and browser behavior.
- Unexpected redirects: a trusted site briefly sends the browser somewhere else, or loads scripts from an unfamiliar domain.
- New processes after browsing: a browser spawns an unusual child process, or a new program appears after visiting a familiar site.
- Proxy and DNS alerts: web proxy, DNS or intrusion detection logs show connections to known malicious domains after visits to trusted sites.
- Site monitoring: the sites your staff visit most are checked for injected code, defacement or unexpected changes.
- Threat intelligence: feeds that flag compromised domains in your industry, so you can warn staff before they visit.
If a trusted site starts behaving oddly — unexpected downloads, repeated security warnings, or redirects — stop, do not click through the warnings, and report it to your IT or security team. Check the site's basic security with the free SSL checker.
How do you prevent watering hole attacks?
No single control stops watering holes. The goal is layers, so that when one fails, the next one catches the attack. MITRE's mitigations for T1189 center on isolation and restricting web content, and CISA's T1189 guidance describes the same drive-by compromise process.
Patch everything that touches the web
Most watering holes exploit known browser or plugin flaws. Automatic updates for browsers, operating systems and plugins close the most common entry point. Remove plugins you do not need, especially old ones such as Flash, which featured in early watering hole campaigns.
Isolate the browser
Browser isolation — running web content in a sandbox or a remote browser — means that even a successful exploit stays contained. MITRE lists application isolation and sandboxing as a mitigation for T1189. For high-risk staff, consider a separate browser profile or a dedicated machine for sensitive work.
Restrict web-based content
URL filtering, script blocking and extension control reduce what a compromised page can do. Blocking unnecessary scripts and plugins by default, and allowing them only on sites that need them, removes much of the attack surface.
Monitor the sites your team trusts
Keep a list of the sites your staff visit most — industry publications, regulators, supplier portals — and monitor them for compromise. If one is hacked, warn staff immediately and block it until it is cleaned. For a wider baseline, our small business cybersecurity checklist covers patching, monitoring and incident response together.
What should you do if you visited a compromised site?
If you learn that a site you visited was a watering hole, treat it as a possible infection, even if nothing looked wrong. The attack is designed to be invisible.
- Do not revisit the site until it is confirmed clean.
- Update your browser and operating system immediately, then run a full malware scan.
- Change passwords for accounts you used in that browser session, from a clean device.
- Tell your IT or security team what site you visited and when, so they can check logs and other visitors.
- Watch for follow-up attacks. Watering holes are often the first step in a longer campaign, so expect targeted phishing using what the attackers learned.
The bottom line
A watering hole attack succeeds because it abuses trust: the victim visits a legitimate site, does nothing wrong, and is infected anyway. Patching, browser isolation and monitoring trusted sites are the defenses that matter most.
Start with the basics — patch your browser today, and review which sites your team relies on most. You can check a site's TLS configuration with the free SSL checker as part of that review.
Frequently asked questions
What is a watering hole attack in simple terms?
Attackers hack a legitimate website that a specific group of people visits often, then plant malware on it. When those people visit the site as normal, their browsers are attacked and their devices can be infected, without them clicking anything suspicious.
Why is it called a watering hole attack?
The name comes from predators that wait at a watering hole where prey must come to drink. Attackers wait at a website their targets must visit, instead of chasing each victim individually.
What is the difference between a watering hole attack and phishing?
Phishing sends a fake message to lure victims to a malicious site. A watering hole compromises a real, trusted site the victims already visit, so no lure is needed and the site itself looks completely normal.
What is a strategic web compromise?
It is another name for a watering hole attack. MITRE ATT&CK and CISA use strategic web compromise to describe a targeted drive-by compromise aimed at a specific community, industry or region.
Who is targeted by watering hole attacks?
Groups with a shared interest: employees in an industry, government staff, energy sector workers, defense contractors, journalists or activists. Attackers pick sites those groups trust, such as trade publications, regulators or supplier portals.
Can a watering hole attack infect a fully patched computer?
It is much harder. Watering holes usually exploit unpatched browsers or plugins, so keeping browsers, operating systems and plugins updated closes the most common entry point. Zero-day exploits can still work, which is why isolation and monitoring matter too.
How do you detect a watering hole attack?
Look for unexpected redirects from trusted sites, unusual script loads, new processes after browsing, and web proxy or DNS alerts for known malicious domains. Security teams also monitor the sites their staff visit most for compromise.
How do you prevent watering hole attacks?
Keep browsers and plugins patched, use browser isolation or sandboxing, block unnecessary scripts and plugins, restrict web content through URL filtering, and monitor trusted sites. MITRE recommends application isolation and restricting web-based content as mitigations for T1189.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against MITRE ATT&CK technique T1189 (Drive-by Compromise), MITRE ATT&CK technique T0817, and CISA's T1189 guidance.
How we write and fact-check →