T1027.010 Command Obfuscation
Stealthon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0505 Detection Strategy for Command Obfuscation
AN1394 Windows
Detection of command-line activity exhibiting syntactic obfuscation patterns, such as excessive escape characters, base64 encoding, command concatenation, or outlier command length and entropy.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4688 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
AN1395 Linux
Detection of shell commands that leverage encoded execution, command chaining, excessive piping, or unusual token patterns indicative of obfuscation.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve | Not mapped to Sentinel yet. |
linux:osqueryprocess_events.command_line | Not mapped to Sentinel yet. |
AN1396 macOS
Detection of obfuscated commands via shell, osascript, or AppleScript interpreters using unusual tokens, encoding, variable substitution, or runtime string reconstruction.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogprocess:spawn, process:exec | Not mapped to Sentinel yet. |
macos:endpointsecurityES_EVENT_TYPE_NOTIFY_EXEC | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
11 SigmaHQ community rules name it in their tags.
- Invocation Of Crypto-Classes From The "Cryptography" PowerShell Namespace
- Potential Obfuscated Ordinal Call Via Rundll32
- Registry Set With Crypto-Classes From The "Cryptography" PowerShell Namespace
- Obfuscated PowerShell MSI Install via WindowsInstaller COM
- PowerShell Dynamic Module Invocation Via ExportedCommands Array Index
- Python One-Liners with Base64 Decoding
- Python One-Liners with Base64 Decoding - Linux
- Suspicious Explorer Process with Whitespace Padding - ClickFix/FileFix
- Suspicious Space Characters in RunMRU Registry Path - ClickFix
- Suspicious Space Characters in TypedPaths Registry Path - FileFix
- Suspicious Usage of For Loop with Recursive Directory Search in CMD
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.