MITRE ATT&CKsub-technique

T1055.001 Dynamic-link Library Injection

Published 2020-01-14 Modified 2026-05-12 Official page ↗
Domain
enterprise
Tactics
Stealth, Privilege Escalation
Platforms
Windows
Version
2.0
Created
2020-01-14

Description

Adversaries may inject dynamic-link libraries (DLLs) into processes in order to evade process-based defenses as well as possibly elevate privileges. DLL injection is a method of executing arbitrary code in the address space of a separate live process. DLL injection is commonly performed by writing the path to a DLL in the virtual address space of the target process before loading the DLL by invoking a new thread. The write can be performed with native Windows API calls such as VirtualAllocEx and WriteProcessMemory, then invoked with CreateRemoteThread (which calls the LoadLibrary API responsible for loading the DLL). Variations of this method such as reflective DLL injection (writing a self-mapping DLL into a process) and memory module (map DLL when writing into process) overcome the address relocation issue as well as the additional APIs to invoke execution (since these methods load and execute the files in memory by manually preforming the function of LoadLibrary). Another variation of this method, often referred to as Module Stomping/Overloading or DLL Hollowing, may be leveraged to conceal injected code within a process. This method involves loading a legitimate DLL into a remote process then manually overwriting the module's AddressOfEntryPoint before starting a new thread in the target process. This variation allows attackers to hide malicious injected code by potentially backing its execution with a legitimate DLL file on disk. Running code in the context of another process may allow access to the process's memory, system/network resources, and possibly elevated privileges. Execution via DLL injection may also evade detection from security products since the execution is masked under a legitimate process.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1055 Process Injection technique

Tactic · MITRE ATT&CK (2)

Referenced by MITRE ATT&CK · mitigates (1)

  • M1040 Behavior Prevention on Endpoint mitigation

Referenced by MITRE ATT&CK · uses (67)

  • S1242 Qilin software (malware)
  • S1239 TONESHELL software (malware)
  • S1229 Havoc software (malware)
  • S1210 Sagerunex software (malware)
  • G1026 Malteiro group
  • S1081 BADHATCH software (malware)
  • S1066 DarkTortilla software (malware)
  • C0015 C0015 campaign
  • S1044 FunnyDream software (malware)
  • S1039 Bumblebee software (malware)
  • S1026 Mongall software (malware)
  • S1027 Heyoka Backdoor software (malware)
  • S1018 Saint Bot software (malware)
  • S0681 Lizar software (malware)
  • S0666 Gelsemium software (malware)
  • G0135 BackdoorDiplomacy group
  • S0615 SombRAT software (malware)
  • S0613 PS1 software (malware)
  • S0596 ShadowPad software (malware)
  • S0581 IronNetInjector software (tool)
  • S0575 Conti software (malware)
  • S0576 MegaCortex software (malware)
  • S0603 Stuxnet software (malware)
  • S0501 PipeMon software (malware)
  • S0484 Carberp software (malware)
  • S0467 TajMahal software (malware)
  • S0461 SDBbot software (malware)
  • S0460 Get2 software (malware)
  • S0458 Ramsay software (malware)
  • S0455 Metamorfo software (malware)
Show all 67 ›

Referenced by Compliance · mitigates (7)

  • CIS-13.7 Deploy a Host-Based Intrusion Prevention Solution CIS Safeguard v8.1
  • NIST-AC-6 Least Privilege NIST 800-53 control
  • NIST-SC-18 Mobile Code 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

References