FORENSIA

ATT&CK · T1055.012 · sub-technique

Process Hollowing

Tactics: stealth, privilege-escalation

About

Adversaries may inject malicious code into suspended and hollowed processes in order to evade process-based defenses. Process hollowing is a method of executing arbitrary code in the address space of a separate live process. Process hollowing is commonly performed by creating a process in a suspended state then unmapping/hollowing its memory, which can then be replaced with malicious code. A victim process can be created with native Windows API calls such as <code>CreateProcess</code>, which includes a flag to suspend the processes primary thread. At this point the process can be unmapped using APIs calls such as <code>ZwUnmapViewOfSection</code> or <code>NtUnmapViewOfSection</code> before being written to, realigned to the injected code, and resumed via <code>VirtualAllocEx</code>, <code>WriteProcessMemory</code>, <code>SetThreadContext</code>, then <code>ResumeThread</code> respectively. This is very similar to Thread Local Storage but creates a new process rather than targeting an existing process. This behavior will likely not result in elevated privileges since the injected process was spawned from (and thus inherits the security context) of the injecting process. However, execution via process hollowing 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

8 known groups

Software

35 malware/tools implement this

DuquBBSRATBADNEWSCobalt StrikeISMInjectorNETWIRESmoke LoaderOrzBandookTrickBotAgent TeslaAzorultDenisEmotetAstarothUrsnifLokibotIcedIDBazarDtrackQakBotClamblingRCSessionWhisperGateSaint BotWoody RATSnip3DarkGateRaspberry RobinGootloaderXLoaderLumma StealerTRAILBLAZECaminhoHeartCrypt

Corpus indicators tagged with this technique

419 indicators in the corpus carry T1055.012.

IndicatorTypeFamilySevSrc
07cd03e2082bcb0b890cc59ce4c770d1a095ac6f1ae9cf999f5542555c56f841sha256phishing801
3d1158884fb339b3328bd330fcc27598e1f1c94bcac39e75d1a272afa4deee1asha256ransomware801
c5a53c02d531c5e46f9cc2fc0afbb88dhashcryptojacking802
3d510977d60a44322f88100b515f06cb5ed83babc64247068d1a489595faa6c5sha256phishing801
670384fafb23140d96f2f8fe04a13fc8cc8e2a6e5e8c973e39b58d103c5fea92sha256phishing801
e20b35a8c30e076cdd0e1df05ba1ff2e418dbd39a674f084787cc0af2fda9e95sha256phishing801
a37f6403fbf28fa0b48863287f4c5a5dhashcryptojacking802
50eda29bfbeeb8b0429718447725016ahashcryptojacking802
41f581f7d2c09ab0edfea850b9db506fhashcryptojacking802
e84b1e2c432b2394c403b524b8361ffa9923a022eb05215f1dc811bc167c3c5ehashcryptojacking802
ce62d1b6116f34f9ba815db1e2016d2ahashcryptojacking802
a14bed1c46ba7406d5240e979251ccd394dfe3b5hashcryptojacking802
b90988400cced319d260c4937f334ecc364785ed5c593cd2139965e62ca58173sha256phishing801
5d253cc263851ec68c0a988bf86afbb3e9f0b491hashcryptojacking802
bd46890121106b43f0c01ab82629400chashcryptojacking802
64c7dd0a3a3ae49977ac05913d3878000cce14e5d8c1ee05b782bdfd648bde91sha256801
ad10ff9043d6f327045943635fcbd0c5918acb79dc998db92ee4c7dee5224710sha256801
4c9f271242f61f1a31b8146305e9a7ed512c521445d4f7a7a901e301307add3dsha256801
b5da6ffa5f85aa5016fbc02a3122361c85d21192c45df9544099d13e6ff84c36hashcryptojacking802
89930bd18e0f9c9c98dfb1662cb87aa98348e87164ab62b1f39e86ebf2ce24cbhashcryptojacking802
5864a697bd7b339f56b05405f29a097cd027cafdcc4e63c2aaeccccbf930605fsha256801
d42aecf76fb1531cd5b7139e669910b2fd82a90b7e11448128e226775bf5d42ehashcryptojacking802
579a82dde4425d95e20a22171be0a37702c833fdca6e5e04f69099a025863136hashcryptojacking802
c099f965144bccd0b590f946659fc3c0747c54aef505b6caaca9078712f455fbsha256801
b6a77b7892ef22d6afd91eb980a3f3d8hashcryptojacking802
1fc5e6458316277fae8272cbe9f3dfc86b681635hashcryptojacking802
462af0a3a9094d44c30cc65544ec1171a62365cff09e67f5e87e061a3d604bd0hashcryptojacking802
69315b7a1c4bf5ee56cba1de29d1761ehashcryptojacking802
93b3d3925ccc201ab0f16017153a79ef05b8f5c2hashcryptojacking802
a08d8e63b0cd3638fb40b8e6da546e26da69439597565827f9cec87915f78568sha256ransomware801

Showing the top 30 by severity of 419.