Obfuscated Files or Information: Compression
- ID
- T1027.015
- Tactics
- TA0005 Stealth
- Sub-technique of
- T1027 Obfuscated Files or Information
- Platforms
- Linux, macOS, Windows
- Data sources
- Process Creation, File Creation, File Access, File Modification, File Metadata
- Source
- attack.mitre.org
- MITRE last modified
- 12 May 2026
Adversaries may use compression to obfuscate their payloads or files. Compressed file formats such as ZIP, gzip, 7z, and RAR can compress and archive multiple files together to make it easier and faster to transfer files. In addition to compressing files, adversaries may also compress shellcode directly - for example, in order to store it in a Windows Registry key (i.e., Fileless Storage).[1]
In order to further evade detection, adversaries may combine multiple ZIP files into one archive. This process of concatenation creates an archive that appears to be a single archive but in fact contains the central directories of the embedded archives. Some ZIP readers, such as 7zip, may not be able to identify concatenated ZIP files and miss the presence of the malicious payload.[2]
File archives may be sent as one Spearphishing Attachment through email. Adversaries have sent malicious payloads as archived files to encourage the user to interact with and extract the malicious payload onto their system (i.e., Malicious File).[3] However, some file compression tools, such as 7zip, can be used to produce self-extracting archives. Adversaries may send self-extracting archives to hide the functionality of their payload and launch it without requiring multiple actions from the user.[4]
Compression may be used in combination with Encrypted/Encoded File where compressed files are encrypted and password-protected.
Detection
- DET0281 Detection Strategy for Compressed Payload Creation and Execution
Data components: Process Creation, File Creation, File Access, File Modification, File Metadata
Mitigations (1)
- M1049 Antivirus/Antimalware
Anti-virus can be used to automatically detect and quarantine suspicious files. Consider anti-virus products capable of unpacking and inspecting compressed files recursively, as well as analyzing SFX archives.
Groups (12)
- G0021 Molerats
- G0027 Threat Group-3390
- G0047 Gamaredon Group
- G0065 Leviathan
- G0082 APT38
- G0090 WIRTE
- G0094 Kimsuky
- G0103 Mofang
- G0126 Higaisa
- G1018 TA2541
- G1055 VOID MANTICORE
- G1059 NIMBUS MANTICORE
Software (28)
- S0141 Winnti for Windows
- S0148 RTM
- S0444 ShimRat
- S0453 Pony
- S0466 WindTail
- S0499 Hancitor
- S0517 Pillowmint
- S0559 SUNBURST
- S0585 Kerrdown
- S0662 RCSession
- S0664 Pandora
- S0665 ThreatNeedle
- S0666 Gelsemium
- S0673 DarkWatchman
- S0695 Donut
- S0697 HermeticWiper
- S1050 PcShare
- S1081 BADHATCH
- S1099 Samurai
- S1100 Ninja
- S1124 SocGholish
- S1183 StrelaStealer
- S1188 Line Runner
- S1228 PUBLOAD
- S9020 LODEINFO
- S9052 MiniFast
- S9053 MiniJunk
- S9059 MiniBike
