MITRE ATT&CKsub-technique
T1036.007 Double File Extension
- Domain
- enterprise
- Tactics
- Stealth
- Platforms
- Windows
- Version
- 2.0
- Created
- 2021-08-04
Description
Adversaries may abuse a double extension in the filename as a means of masquerading the true file type. A file name may include a secondary file type extension that may cause only the first extension to be displayed (ex: File.txt.exe may render in some views as just File.txt). However, the second extension is the true file type that determines how the file is opened and executed. The real file extension may be hidden by the operating system in the file browser (ex: explorer.exe), as well as in any software configured using or similar to the system’s policies.
Adversaries may abuse double extensions to attempt to conceal dangerous file types of payloads. A very common usage involves tricking a user into opening what they think is a benign file type but is actually executable code. Such files often pose as email attachments and allow an adversary to gain Initial Access into a user’s system via Spearphishing Attachment then User Execution. For example, an executable file attachment named Evil.txt.exe may display as Evil.txt to a user. The user may then view it as a benign text file and open it, inadvertently executing the hidden malware.
Common file types, such as text files (.txt, .doc, etc.) and image files (.jpg, .gif, etc.) are typically used as the first extension to appear benign. Executable extensions commonly regarded as dangerous, such as .exe, .lnk, .hta, and .scr, often appear as the second extension and true file type.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1036 Masquerading technique
Tactic · MITRE ATT&CK (1)
- TA0005 Stealth tactic
Referenced by MITRE ATT&CK · mitigates (2)
Referenced by MITRE ATT&CK · uses (5)
Referenced by CAPEC · att&ck technique (1)
- CAPEC-635 Alternative Execution Due to Deceptive Filenames attack pattern
Referenced by Compliance · mitigates (7)
- CIS-9.7 Deploy and Maintain Email Server Anti-Malware Protections CIS Safeguard v8.1
- NIST-CA-7 Continuous Monitoring NIST 800-53 control
- NIST-CM-2 Baseline Configuration NIST 800-53 control
- NIST-CM-6 Configuration Settings NIST 800-53 control
- NIST-CM-7 Least Functionality NIST 800-53 control
- NIST-IA-2 Identification and Authentication (Organizational Users) NIST 800-53 control
- NIST-SI-4 System Monitoring NIST 800-53 control
References
- https://socprime.com/blog/rule-of-the-week-possible-malicious-file-double-extension/ SOCPrime DoubleExtension
- https://www.pcmag.com/encyclopedia/term/double-extension PCMag DoubleExtension