MITRE ATT&CKsub-technique
T1027.004 Compile After Delivery
- Domain
- enterprise
- Tactics
- Stealth
- Platforms
- Linux, macOS, Windows
- Version
- 2.0
- Created
- 2020-03-16
Description
Adversaries may attempt to make payloads difficult to discover and analyze by delivering files to victims as uncompiled code. Text-based source code files may subvert analysis and scrutiny from protections targeting executables/binaries. These payloads will need to be compiled before execution; typically via native utilities such as ilasm.exe, csc.exe, or GCC/MinGW.
Source code payloads may also be encrypted, encoded, and/or embedded within other files, such as those delivered as a Phishing. Payloads may also be delivered in formats unrecognizable and inherently benign to the native OS (ex: EXEs on macOS/Linux) before later being (re)compiled into a proper executable binary with a bundled compiler and execution framework.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1027 Obfuscated Files or Information technique
Tactic · MITRE ATT&CK (1)
- TA0005 Stealth tactic
Referenced by MITRE ATT&CK · uses (10)
Referenced by CAPEC · att&ck technique (1)
- CAPEC-636 Hiding Malicious Data or Code within Files attack pattern
References
- https://www.clearskysec.com/wp-content/uploads/2018/11/MuddyWater-Operations-in-Lebanon-and-Oman.pdf ClearSky MuddyWater Nov 2018
- https://www.attackiq.com/2023/03/16/hiding-in-plain-sight/ ATTACK IQ
- https://blog.trendmicro.com/trendlabs-security-intelligence/windows-app-runs-on-mac-downloads-info-stealer-and-adware/ TrendMicro WindowsAppMac