// MITRE ATT&CK
T1560.002 · Archive via Library
Sub-technique of T1560 · Archive Collected Data.
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](https://attack.mitre.org/techniques/T1059/006) rarfile (Citation: PyPI RAR), libzip (Citation: libzip), and zlib (Citation: Zlib...
How to detect & mitigate it
Detecting Archive via Library starts with your SIEM/EDR telemetry. Write a detection rule with the Sigma generator, analyze suspicious logs in the log analyzer, and place the technique on your coverage with the ATT&CK matrix.
Related techniques
T1560.001
Archive via Utility T1113
Screen Capture T1056.001
Keylogging T1602
Data from Configuration Repository T1213.002
Sharepoint T1123
Audio Capture T1560.003
Archive via Custom Method T1114
Email Collection
Archive via Utility T1113
Screen Capture T1056.001
Keylogging T1602
Data from Configuration Repository T1213.002
Sharepoint T1123
Audio Capture T1560.003
Archive via Custom Method T1114
Email Collection
Source: MITRE ATT&CK®. ATT&CK is a registered trademark of The MITRE Corporation. Content for educational purposes.