T1620 Reflective Code Loading
Stealthon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0300 Detection Strategy for Reflective Code Loading
AN0838 Windows
Detect anomalous chains of memory allocation and execution inside the same process (e.g., VirtualAlloc → memcpy → VirtualProtect → CreateThread). Unlike process injection, reflective code loading does not perform cross-process memory writes — the suspicious activity occurs entirely within the process’s own PID context.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=7 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
etw:Microsoft-Windows-DotNETRuntimeAssemblyLoad/ModuleLoad (Loader keyword) from Microsoft-Windows-DotNETRuntime | Not mapped to Sentinel yet. |
etw:Microsoft-Antimalware-Scan-InterfaceAmsi/Script content + API verdicts during in-memory staging | Not mapped to Sentinel yet. |
WinEventLog:SysmonEventCode=10 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
AN0839 Linux
Monitor for in-process mmap + mprotect + execve/execveat activity where memory permissions are changed from writable to executable inside the same process without a corresponding ELF on disk.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve | Not mapped to Sentinel yet. |
auditd:MMAPmemory region with RWX permissions allocated | Not mapped to Sentinel yet. |
AN0840 macOS
Suspicious calls to dlopen(), dlsym(), or mmap with RWX flags in processes that do not typically perform dynamic module loading. Monitor anonymous memory regions executed by user processes.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogexecve or dylib load from memory without backing file | Not mapped to Sentinel yet. |
macos:unifiedlogsuspicious dlopen/dlsym usage in non-development processes | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
3 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- Potential WinAPI Calls Via PowerShell Scripts
- PowerShell Base64 Encoded Reflective Assembly Load
- Potential In-Memory Execution Using Reflection.Assembly
Mitigations
- None listed by MITRE.
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.