Archive Collected Data: Archive via Library
- ID
- T1560.002
- Tactics
- TA0009 Collection
- Sub-technique of
- T1560 Archive Collected Data
- Platforms
- Linux, macOS, Windows
- Data sources
- Process Creation, Module Load, File Creation, Command Execution
- Source
- attack.mitre.org
- MITRE last modified
- 25 Oct 2025
An adversary may compress or encrypt data that is collected prior to exfiltration using 3rd party libraries. Many libraries exist that can archive data, including Python rarfile [1], libzip [2], and zlib [3]. Most libraries include functionality to encrypt and/or compress data.
Some archival libraries are preinstalled on systems, such as bzip2 on macOS and Linux, and zip on Windows. Note that the libraries are different from the utilities. The libraries can be linked against when compiling, while the utilities require spawning a subshell, or a similar execution mechanism.
Detection
- DET0268 Detect Archiving via Library (T1560.002)
Data components: Process Creation, Module Load, File Creation, Command Execution
Groups (3)
Software (13)
- S0053 SeaDuke
- S0086 ZLib
- S0091 Epic
- S0127 BBSRAT
- S0260 InvisiMole
- S0348 Cardinal RAT
- S0352 OSX_OCEANLOTUS.D
- S0354 Denis
- S0467 TajMahal
- S0642 BADFLICK
- S0661 FoggyWeb
- S1044 FunnyDream
- S1141 LunarWeb
