Stealth · ATT&CK v20
T1140 Deobfuscate/Decode Files or Information
A Stealth technique. Staying unnoticed: hiding, blending in with normal activity, disguising tools and files.
- T1140Technique ID
- StealthTactic
- 0Places taught
What the attacker does
The attacker decodes or decrypts something they brought in hidden: certutil -decode, base64 -d, PowerShell FromBase64String, or a loader that decrypts its payload in memory.
How it shows up in the logs
- certutil -decode or -decodehex, base64 -d, or FromBase64String in process creation and PowerShell logs.
- A decoded file appearing right after (Sysmon 11), often an executable or a script.
- The decoded file run next.
Questions to ask in triage
- What was decoded, and what did it turn into?
- Where did the encoded data come from?
- Did the result run?
Read T1140 on attack.mitre.org
More Stealth techniques
- T1027 Obfuscated Files or Information
- T1027.006 Obfuscated Files or Information: HTML Smuggling
- T1036.004 Masquerading: Masquerade Task or Service
- T1036.005 Masquerading: Match Legitimate Resource Name or Location
- T1070.004 Indicator Removal: File Deletion
- T1197 BITS Jobs
- T1218.005 System Binary Proxy Execution: Mshta
- T1218.010 System Binary Proxy Execution: Regsvr32
- T1218.011 System Binary Proxy Execution: Rundll32
- T1564.008 Hide Artifacts: Email Hiding Rules
- T1684.001 Social Engineering: Impersonation
Source: MITRE ATT&CK T1140, tactic TA0005.