In-process runtimes

← maldev README · docs/index

In-process loaders that execute foreign code (BOFs, .NET assemblies) without spawning child processes. The implant becomes its own post-exploitation runtime — useful when child-process creation is heavily monitored.

Packages

PackageTech pageDetectionOne-liner
runtime/bofbof-loader.mdquietBeacon Object File / COFF loader for in-memory x64 object-file execution
runtime/clrclr.mdmoderateIn-process .NET CLR hosting via ICLRMetaHost / ICorRuntimeHost

Quick decision tree

You want to…Use
…run a small custom C-compiled gadget without dropping an EXEruntime/bof
…run a .NET assembly (Mimikatz, Seatbelt, SharpHound) in-processruntime/clr
…drop a managed assembly to disk and run itnot this area — see Donut via pe/srdi

MITRE ATT&CK

T-IDNamePackagesD3FEND counter
T1059Command and Scripting Interpreterruntime/bof (in-process gadget runtime)D3-PSA
T1620Reflective Code Loadingruntime/clrD3-PMA, D3-PSA

See also