- Tactics
- stealth
- Platforms
- ESXi, Linux, macOS, Network Devices, Windows
- Reference
- attack.mitre.org/techniques/T1027
Description
Adversaries may attempt to make an executable or file difficult to discover or analyze by encrypting, encoding, or otherwise obfuscating its contents on the system or in transit. This is common behavior that can be used across different platforms and the network to evade defenses.
Payloads may be compressed, archived, or encrypted in order to avoid detection. These payloads may be used during Initial Access or later to mitigate detection. Sometimes a user’s action may be required to open and Deobfuscate/Decode Files or Information for User Execution. The user may also be required to input a password to open a password protected compressed/encrypted file that was provided by the adversary.(Citation: Volexity PowerDuke November 2016) Adversaries may also use compressed or archived scripts, such as JavaScript.
Portions of files can also be encoded to hide the plain-text strings that would otherwise help defenders with discovery.(Citation: Linux/Cdorked.A We Live Security Analysis) Payloads may also be split into separate, seemingly benign files that only reveal malicious functionality when reassembled.(Citation: Carbon Black Obfuscation Sept 2016)
Adversaries may also abuse Command Obfuscation to obscure commands executed from payloads or directly via Command and Scripting Interpreter. Environment variables, aliases, characters, and other platform/language specific semantics can be used to evade signature based detections and application control mechanisms.(Citation: FireEye Obfuscation June 2017)(Citation: FireEye Revoke-Obfuscation July 2017)(Citation: PaloAlto EncodedCommand March 2017)
Sub-techniques
- T1027.001 — Binary Padding
- T1027.002 — Software Packing
- T1027.003 — Steganography
- T1027.004 — Compile After Delivery
- T1027.005 — Indicator Removal from Tools
- T1027.006 — HTML Smuggling
- T1027.007 — Dynamic API Resolution
- T1027.008 — Stripped Payloads
- T1027.009 — Embedded Payloads
- T1027.010 — Command Obfuscation
- T1027.011 — Fileless Storage
- T1027.012 — LNK Icon Smuggling
- T1027.013 — Encrypted/Encoded File
- T1027.014 — Polymorphic Code
- T1027.015 — Compression
- T1027.016 — Junk Code Insertion
- T1027.017 — SVG Smuggling
- T1027.018 — Invisible Unicode
How GTK Cyber trains on this
GTK Cyber's hands-on training programs cover detection engineering across the MITRE ATT&CK framework, including the stealth tactic this technique falls under. Our practitioner-led courses focus on building real detections, not just memorizing technique IDs.
Related techniques
- T1006 — Direct Volume Access
- T1014 — Rootkit
- T1036 — Masquerading
- T1055 — Process Injection
- T1070 — Indicator Removal
- T1078 — Valid Accounts
- T1127 — Trusted Developer Utilities Proxy Execution
- T1134 — Access Token Manipulation
- T1140 — Deobfuscate/Decode Files or Information
- T1197 — BITS Jobs
- T1202 — Indirect Command Execution
- T1205 — Traffic Signaling