Archive Collected Data T1560

Tactic: Collection

An adversary may compress and/or encrypt data that is collected prior to exfiltration. Compressing the data can help to obfuscate the collected data and minimize the amount of data sent over the network. Encryption can be used to hide information that is being exfiltrated from detection or make exfiltration less conspicuous upon inspection by a defender.

Events covered

9 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 46 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (33 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
CommandLine21contains 19, match 2, regex_match 1, wildcard 1 -p, a , -hp, .dmp, .dump
Image13ends_with 12, contains 2, is_not_null 1\7z.exe, \7za.exe, \7zr.exe, \rar.exe, \tar.exe
OriginalFileName12eq 11, ends_with 1, in 1, wildcard 17z.exe, 7za.exe, 7zr.exe, 7z*.exe, bsdtar
process_name12in 4, eq 3, ne 2, regex_match 2, contains 1, starts_with 17z, rar.exe, (?i)(winrar|rar|7z*|peazip|powerarc|bandizip|zipware|winz..., 7z.exe, 7za.exe
EventType7eq 6, in 1exec, connection_attempted, exec_event, executed, load
EventID6eq 64104, 4688
event.type6eq 5, in 1start, change, creation
Description5contains 3, eq 27-zip, Command line RAR, WinRAR
host.os.type4eq 4
ScriptBlockText3contains 2, eq 1, in 1compress-archive, \\temp\\, compressionlevel, compressionmode
TargetFilename3ends_with 1, in 1, wildcard 1*\\appdata\\local\\temp\\*, *\\windows\\temp\\*, /library/fonts/*, /library/graphics/*, /library/webserver/*
process.args3eq 2, wildcard 2, in 1, starts_with 1*/.azure/*, */.config/gcloud/*, */etc/group*, -hp, -p
ParentImage2contains 2/python3, :\program files (x86)\, :\program files\
event.category2eq 2process
file_name2in 2*.7z, *.ccache, *.rar, *.tar, *_certipy.json

Top indicator values (448 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
5606
OriginalFileNameeq
7z.exe
45
OriginalFileNameeq
7za.exe
45
OriginalFileNameeq
7zr.exe
45
OriginalFileNameeq
bsdtar
22
OriginalFileNameeq
winrar.exe
23
process_namein
7z
44
process_namein
gzip
45
process_namein
tar
46
process_namein
zip
45
process_namein
hdiutil
33
CommandLinecontains
-p
34
CommandLinecontains
a
34
CommandLinecontains
-hp
24
CommandLinecontains
.dmp
210
CommandLinecontains
.dump
23
CommandLinecontains
.hdmp
23
Descriptioncontains
7-zip
33
EventIDeq
4104
3268
EventIDeq
4688
3313
EventTypeeq
exec
3171
Imageends_with
\7z.exe
34
Imageends_with
\7za.exe
33
Imageends_with
\7zr.exe
33
Imageends_with
\rar.exe
35
Imageends_with
/tar
22
Imageends_with
\tar.exe
22
Imageends_with
\winrar.exe
26
Descriptioneq
Command line RAR
23
ScriptBlockTextcontains
compress-archive
22

Exclusions (71 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
user.ideq
S-1-5-18
2
CommandLinecontains
/active no
1
CommandLinecontains
guest
1
CommandLineregex_match
(Decompress)
1
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
Imagecontains
:\program files (x86)\winrar\
1
Imagecontains
:\program files\winrar\
1
Imagecontains
:\windows\temp\
1
Imageends_with
\unrar.exe
1
Imageeq
c:\\program files\\vmware\\vmware tools\\7za.exe
1
Imagewildcard
?:\program files (x86)\*
1
Imagewildcard
?:\program files\*
1
Imagewildcard
?:\programdata\microsoft\windows defender advanced threat...
1
Imagewildcard
?:\windows\microsoft.net\framework*\mscorsvw.exe
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 20 rules

Elastic 9 rules

Splunk 14 rules

Kusto 1 rule

Panther 2 rules