MITRE ATT&CKtechnique

T1189 Drive-by Compromise

Published 2018-04-18 Modified 2025-10-24 Official page ↗
Domain
enterprise
Tactics
Initial Access
Platforms
Identity Provider, Linux, macOS, Windows
Version
1.7
Created
2018-04-18

Description

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. Often the website used by an adversary is one visited by a specific community, such as government, a particular industry, or a particular region, where the goal is to compromise a specific user or set of users based on a shared interest. This kind of targeted campaign is often referred to a strategic web compromise or watering hole attack. There are several known examples of this occurring. Typical drive-by compromise process: 1. A user visits a website that is used to host the adversary controlled content. 2. Scripts automatically execute, typically searching versions of the browser and plugins for a potentially vulnerable version. The user may be required to assist in this process by enabling scripting, notifications, or active website components and ignoring warning dialog boxes. 3. Upon finding a vulnerable version, exploit code is delivered to the browser. 4. If exploitation is successful, the adversary will gain code execution on the user's system unless other protections are in place. In some cases, a second visit to the website after the initial scan is required before exploit code is delivered. Unlike Exploit Public-Facing Application, the focus of this technique is to exploit software on a client endpoint upon visiting a website. This will commonly give an adversary access to systems on the internal network instead of external systems that may be in a DMZ.

Related

Tactic · MITRE ATT&CK (1)

  • TA0001 Initial Access tactic

Referenced by MITRE ATT&CK · mitigates (5)

  • M1048 Application Isolation and Sandboxing mitigation
  • M1050 Exploit Protection mitigation
  • M1051 Update Software mitigation
  • M1017 User Training mitigation
  • M1021 Restrict Web-Based Content mitigation

Referenced by MITRE ATT&CK · uses (45)

  • S9050 Vidar software (malware)
  • C0057 3CX Supply Chain Attack campaign
  • G1035 Winter Vivern group
  • G1034 Daggerfly group
  • S1124 SocGholish software (malware)
  • G1020 Mustard Tempest group
  • S1086 Snip3 software (malware)
  • G1012 CURIUM group
  • C0016 Operation Dust Storm campaign
  • C0010 C0010 campaign
  • G1006 Earth Lusca group
  • G0138 Andariel group
  • G0134 Transparent Tribe group
  • G0124 Windigo group
  • S0606 Bad Rabbit software (malware)
  • S0531 Grandoreiro software (malware)
  • S0496 REvil software (malware)
  • S0483 IcedID software (malware)
  • S0482 Bundlore software (malware)
  • G0112 Windshift group
  • S0451 LoudMiner software (malware)
  • G0095 Machete group
  • G0082 APT38 group
  • G0070 Dark Caracal group
  • G0073 APT19 group
  • G0077 Leafminer group
  • G0065 Leviathan group
  • G0066 Elderwood group
  • G0067 APT37 group
  • G0068 PLATINUM group
Show all 45 ›

Referenced by Compliance · mitigates (27)

  • CIS-10.5 Enable Anti-Exploitation Features CIS Safeguard v8.1
  • CIS-12.8 Establish and Maintain Dedicated Computing Resources for All Administrative Work CIS Safeguard v8.1
  • CIS-13.10 Perform Application Layer Filtering CIS Safeguard v8.1
  • CIS-7.4 Perform Automated Application Patch Management CIS Safeguard v8.1
  • CIS-7.7 Remediate Detected Vulnerabilities CIS Safeguard v8.1
  • CIS-9.1 Ensure Use of Only Fully Supported Browsers and Email Clients CIS Safeguard v8.1
  • CIS-9.2 Use DNS Filtering Services CIS Safeguard v8.1
  • CIS-9.3 Maintain and Enforce Network-Based URL Filters CIS Safeguard v8.1
  • CIS-9.4 Restrict Unnecessary or Unauthorized Browser and Email Client Extensions CIS Safeguard v8.1
  • NIST-AC-4 Information Flow Enforcement NIST 800-53 control
  • NIST-AC-6 Least Privilege NIST 800-53 control
  • NIST-CA-7 Continuous Monitoring NIST 800-53 control
  • NIST-CM-2 Baseline Configuration NIST 800-53 control
  • NIST-CM-6 Configuration Settings NIST 800-53 control
  • NIST-CM-8 System Component Inventory NIST 800-53 control
  • NIST-SA-22 Unsupported System Components NIST 800-53 control
  • NIST-SC-18 Mobile Code NIST 800-53 control
  • NIST-SC-2 Separation of System and User Functionality NIST 800-53 control
  • NIST-SC-29 Heterogeneity NIST 800-53 control
  • NIST-SC-3 Security Function Isolation NIST 800-53 control
  • NIST-SC-30 Concealment and Misdirection NIST 800-53 control
  • NIST-SC-39 Process Isolation NIST 800-53 control
  • NIST-SC-7 Boundary Protection NIST 800-53 control
  • NIST-SI-2 Flaw Remediation NIST 800-53 control
  • NIST-SI-3 Malicious Code Protection NIST 800-53 control
  • NIST-SI-4 System Monitoring NIST 800-53 control
  • NIST-SI-7 Software, Firmware, and Information Integrity NIST 800-53 control

References