Archive via Library - T1560.002 (41868330-6ee2-4d0f-b743-9f2294c3c9b6)
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 (Citation: PyPI RAR), libzip (Citation: libzip), and zlib (Citation: Zlib Github). 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.
Cluster A | Galaxy A | Cluster B | Galaxy B | Level |
---|---|---|---|---|
Archive via Library - T1560.002 (41868330-6ee2-4d0f-b743-9f2294c3c9b6) | Attack Pattern | Archive Collected Data - T1560 (53ac20cd-aca3-406e-9aa0-9fc7fdc60a5a) | Attack Pattern | 1 |