FORENSIA

ATT&CK · T1055.001 · sub-technique

Dynamic-link Library Injection

Tactics: stealth, privilege-escalation

About

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 <code>VirtualAllocEx</code> and <code>WriteProcessMemory</code>, then invoked with <code>CreateRemoteThread</code> (which calls the <code>LoadLibrary</code> 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 <code>LoadLibrary</code>). 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 <code>AddressOfEntryPoint</code> 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.

Platforms: WindowsParent: T1055 Process InjectionMITRE ATT&CK ↗

Used by actors

10 known groups

Software

56 malware/tools implement this

TaidoorPoisonIvySykipotDerusbiUroburosDyreDuquRARSTONEEliseEmissaryBlackEnergyRemsecComRATHIDEDRVCobalt StrikeMatryoshkaFinFisherPupyPowerSploitRATANKBAKoadicKazuarSocksbotCarbonEmotetZxShellMazeMetamorfoAria-bodyNetwalkerRamsayGet2SDBbotTajMahalCarberpPipeMonContiMegaCortexIronNetInjectorShadowPadStuxnetPS1SombRATGelsemiumLizarSaint BotMongallHeyoka BackdoorBumblebeeFunnyDreamDarkTortillaBADHATCHSagerunexHavocTONESHELLQilin

Corpus indicators tagged with this technique

156 indicators in the corpus carry T1055.001.

IndicatorTypeFamilySevSrc
584a9448dda46bd590d7a2f86228100d2ae6e0d6d990c1a4459ed5ee28e07ae8hash803
3119cf37b8267db8a2dcd11d9a83d5237d7ef1e42388e7c9afa2831b91da8a2dhash803
4fcfa88fffacbce30bbe2136753c9ab5a4c092940d2406fd9d44d5118e745b9dhash803
7b2c661cfb69e9c75df90d5102647bb014c28ad5hash803
483a36fb9e4aef9704aa1e4edfb88c492dfe4140hash803
0ffb16209def5500ff4380d9e8093437hash803
08060143ea9b55b480746b415af22e3ahashransomware801
314f4b59535d1b783e1c20c2be00f9e30f8ed27b2e21fad06a73b47ea43279efhash803
c277ae5a4dd62f51de5278790796cd2700de7f77ea17762e97729f27872d076bsha256ransomware801
46b2155c1e71b840d4b7a2e94410b89a61e2446523e6f497206d402eb02e0e93hashransomware801
61e9d76f07334843df561fe4bac449fb6fdaed5e5eb91480bded225f3d265c5fhashphishing802
6870e3bbf2447c96d21682caf943cf31c2e8c21c8cfb91a5092eab1c9e5f19aehashransomware801
2d2a251a88632f010fd9671789746908eeccaa5bc5c0a5d25e4649efe4f5b15dhash803
a5a5b6257304eefe5212edfd8c0ad27f77357c5046a7acb8eb7ba72ed4bad9e0hashransomware801
ac66c2d47cdefb221822b9074c9810434e8da702a0694139aa9177557e6b292bhashransomware801
ced6b0f44410f6133ad63b61e04613a8b56cc3338d7b34497540e9541163e7echashransomware801
b148626849c11dd5b3230632a38a6302hashransomware802
0857148fb0bc4aa7adf967ede2307bdb4fc427065d5b6a6db132688a5a8e1eb8hash803
15d1002d9935fbfc9dfc65eb70fe4ecc0943c784hashransomware801
55d6238b01a177e25eb7d53c943f3abea64ec073hashphishing802
3e7066e44132e64360a30974b6ea3671hash803
40b41979b317406f8abc601677a3b93aaf6ef8ab8ac188b8f383735e388f13b5hash803
4c357a29b202b77e7db190d359ead2dfd3f8869c6808b96bfa8bee82525bb2a2hashransomware801
e5c4e634b2f443f783cae1b5e8247a1069df0c9fhashransomware802
1e41c7bfaa6aa3b93b6cc024274a10e33f3e12fe7c98c1db387ef8927f9d1984hashransomware802
7ee17efef04bb7c9de90d5210263ed6993f867e5a11f86e65e3bb1362c7de237sha256ransomware801
75635009a00cb26d2f532ad974ede59785a18e4b30132a1f585108589394ba5ahashransomware801
6c6cbed6aad96564ed87094785be07a1hashphishing802
9ca9432b0d29204cb5420a1a6b01533d4552130c2a8a5ecd7837efadefb4a046sha256ransomware801
66a3836b9a17771bce2161f6b73cbc2494a91e49d6aa30d2d53711e8d10de60dhash803

Showing the top 30 by severity of 156.