MITRE ATT&CK · T1189

Drive-by Compromise

MITRE · cited in 14 of our lessons

Explanation

What attackers do. Attackers compromise or create websites so that simply visiting them, often through malicious adverts or a hijacked legitimate site, delivers exploit code or a malicious download to the visitor. This serves the Initial Access tactic.

How to defend. Keep browsers and plugins patched automatically, use web filtering and ad blocking at the proxy or browser level, and enable browser isolation for higher risk users. Application control limits what downloaded files can do. Collect proxy logs and browser telemetry so visits can be tied to later endpoint events.

Signs to look for. Look for browsers spawning unexpected processes, downloads that follow redirects through several domains, and fake update prompts on otherwise legitimate sites. A common gap is that the infected site is trusted, so reputation filtering does not catch it.

The official text
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing. Multiple ways of delivering exploit code to a browser exist (i.e., Drive-by Target), including: * A legitimate website is compromised, allowing adversaries to inject malicious code * Script files served to a legitimate website from a publicly writeable cloud storage bucket are modified by an adversary * Malicious ads are paid for and served through legitimate ad providers (i.e., Malvertising) * Built-in web application interfaces that allow user-controllable content are leveraged for the insertion of malicious scripts or iFrames (e.g., cross-site scripting) Browser push notifications may also be abused by adversaries and leveraged for malicious code injection via User Execution. By clicking "allow" on browser push notifications, users may be granting a website permission to run JavaScript code on their browser.

© The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation (MITRE ATT&CK®).

Lessons that cite it

Real incidents where this item mattered: the latest 12 of 14.