T1027.014 Polymorphic Code
Stealthon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0324 Detection Strategy for Polymorphic Code Mutation and Execution
AN0919 Windows
Identifies self-modifying executables that exhibit changes in binary hash, entropy, or memory sections during or between executions—often tied to dynamic unpacking or decryption behaviors.
| 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. |
WinEventLog:SysmonEventCode=10 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
AN0920 Linux
Detects files or processes where execution results in frequent re-creation or modification of ELF binaries or interpreter scripts, often using chmod + execve with abnormal entropy.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve | Not mapped to Sentinel yet. |
auditd:SYSCALLmmap | Not mapped to Sentinel yet. |
auditd:SYSCALLchmod | Not mapped to Sentinel yet. |
AN0921 macOS
Tracks modification of executables or interpreter payloads (e.g., Mach-O, dylib) that mutate across runs—using scripting engines, JIT compilers, or side-loaded plugins.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogcode signature/memory protection | Not mapped to Sentinel yet. |
fs:fsusagefile open/write | Not mapped to Sentinel yet. |
macos:endpointsecurityES_EVENT_TYPE_NOTIFY_EXEC | Not mapped to Sentinel yet. |
macos:endpointsecurityES_EVENT_TYPE_NOTIFY_MMAP | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
Mitigations
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.