MITRE ATT&CKsub-technique
T1027.013 Encrypted/Encoded File
- Domain
- enterprise
- Tactics
- Stealth
- Platforms
- Linux, macOS, Windows
- Version
- 2.0
- Created
- 2024-03-29
Description
Adversaries may encrypt or encode files to obfuscate strings, bytes, and other specific patterns to impede detection. Encrypting and/or encoding file content aims to conceal malicious artifacts within a file used in an intrusion. Many other techniques, such as Software Packing, Steganography, and Embedded Payloads, share this same broad objective. Encrypting and/or encoding files could lead to a lapse in detection of static signatures, only for this malicious content to be revealed (i.e., Deobfuscate/Decode Files or Information) at the time of execution/use.
This type of file obfuscation can be applied to many file artifacts present on victim hosts, such as malware log/configuration and payload files. Files can be encrypted with a hardcoded or user-supplied key, as well as otherwise obfuscated using standard encoding schemes such as Base64.
The entire content of a file may be obfuscated, or just specific functions or values (such as C2 addresses). Encryption and encoding may also be applied in redundant layers for additional protection.
For example, adversaries may abuse password-protected Word documents or self-extracting (SFX) archives as a method of encrypting/encoding a file such as a Phishing payload. These files typically function by attaching the intended archived content to a decompressor stub that is executed when the file is invoked (e.g., User Execution).
Adversaries may also abuse file-specific as well as custom encoding schemes. For example, Byte Order Mark (BOM) headers in text files may be abused to manipulate and obfuscate file content until Command and Scripting Interpreter execution.
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 · mitigates (2)
Referenced by MITRE ATT&CK · uses (256)
- S9062 MiniBrowse software (malware)
- S9065 DCSYNCER.SLICK software (malware)
- S9067 TWOSTROKE software (malware)
- S9058 SIGHTGRAB software (malware)
- S9053 MiniJunk software (malware)
- S9050 Vidar software (malware)
- C0064 AI-Assisted Breach of Mexico's Government Infrastructure campaign
- S9046 IOControl software (malware)
- S9043 Mini Shai-Hulud software (malware)
- S9041 TeamPCP Cloud Stealer software (malware)
- C0063 2025 Poland Wiper Attacks campaign
- S9036 LP-Notes software (malware)
- S9037 RustyWater software (malware)
- S9031 AshTag software (malware)
- S9034 Tsundere Botnet software (malware)
- S9027 ANELLDR software (malware)
- S9028 PHPsert software (malware)
- G1054 MirrorFace group
- S9020 LODEINFO software (malware)
- S9021 DOWNIISSA software (malware)
- S9023 HiddenFace software (malware)
- S9024 SPAWNCHIMERA software (malware)
- S9025 NOOPLDR software (malware)
- S9026 ROAMINGHOUSE software (malware)
- S9014 PHASEJAM software (malware)
- S9015 BRICKSTORM software (malware)
- S9016 Caminho software (malware)
- S9017 DCRAT software (tool)
- S9018 HeartCrypt software (malware)
- S9019 PureCrypter software (malware)