T1140 Deobfuscate/Decode Files or Information
Stealthon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0275 Detect Adversary Deobfuscation or Decoding of Files and Payloads
AN0767 Windows
An adversary leverages built-in tools such as certutil.exe, powershell.exe, or copy.exe to decode, reassemble, or extract hidden malicious content from obfuscated containers or encoded formats. The decoding utility often spawns shortly after file staging or download and may be chained with script interpreters or further payload execution.
| 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=11 |
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. |
AN0768 Linux
The adversary uses native utilities like base64, gzip, tar, or openssl to decode, decompress, or decrypt files that were previously staged or downloaded. These tools may be chained with curl/wget and executed via bash/zsh, often to extract an embedded payload or reverse shell script.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLbash/zsh of base64, tar, gzip, or openssl immediately after file write | Not mapped to Sentinel yet. |
AN0769 macOS
The adversary invokes built-in scripting or decoding tools like base64, plutil, or AppleScript-based utilities to decode files embedded in staging artifacts. Decoding often occurs post-download or as part of post-exploitation payload deployment via zsh, python, or osascript.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogbase64 -d or osascript invoked on staged file | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (12)
- Base64 encoded Windows process command-lines
- CertUtil Used for File Download (Living off the Land)
- Dynatrace - Problem detection
- Dynatrace Application Security - Code-Level runtime vulnerability detection
- Dynatrace Application Security - Non-critical runtime vulnerability detection
- Dynatrace Application Security - Third-Party runtime vulnerability detection
- Ingress Tool Transfer - Certutil
- NRT Base64 Encoded Windows Process Command-lines
- NRT Process executed from binary hidden in Base64 encoded file
- Process executed from binary hidden in Base64 encoded file
- Qakbot Discovery Activies
- Execution BAT Script to Unpack Payload
How the Content Hub rules for T1140 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
18 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- Base64 Encoded PowerShell Command Detected
- MSHTA Execution with Suspicious File Extensions
- Ping Hex IP
- Potential Base64 Decoded From Images
- Potential BlackByte Ransomware Activity
- PowerShell Base64 Encoded FromBase64String Cmdlet
- Suspicious Inbox Manipulation Rules
- UNC4841 - Download Compressed Files From Temp.sh Using Wget
- UNC4841 - Download Tar File From Untrusted Direct IP Via Wget
- UNC4841 - SSL Certificate Exfiltration Via Openssl
- DNS-over-HTTPS Enabled by Registry
- Linux Base64 Encoded Pipe to Shell
- Linux Base64 Encoded Shebang In CLI
- Linux Shell Pipe to Shell
- Payload Decoded and Decrypted via Built-in Utilities
- Potential Commandline Obfuscation Using Escape Characters
- Suspicious XOR Encoded PowerShell Command
- PowerShell Decompress Commands
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.