Data Staged: Local Data Staging T1074.001

Tactic: Collection

Adversaries may stage collected data in a central location or directory on the local system prior to Exfiltration. Data may be kept in separate files or combined into one file through techniques such as Archive Collected Data. Interactive command shells may be used, and common functionality within cmd and bash may be used to copy data into a staging location.

Events covered

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

Authoring guide

Patterns shared across the 19 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 (22 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
EventID6eq 64104, 4688, 4103
CommandLine5regex_match 4, match 1(?i)(\s+|\;|\:\,|\d+|\|)(out-file|\>{1,2})(\s|\;|\:\,\|).{1,}, (?i)(\s+|\;|\:\,|\d+|\|)?(\>{1,2})(\s|\;|\:\,\|).{1,}|\s+>, (?i)Compress-Archive|tar|makecab|compact|System\.IO\.Compression, (?i)\s(\>(\>)?|Out\-File)\s.{1,}\.\w{2,5}, Compress-Archive -Path*-DestinationPath $env:TEMP
event.type5eq 4, in 1creation, start, change
TargetFilename4wildcard 3, starts_with 1/library/fonts/*, /library/graphics/*, /*/.*, /dev/shm/*, /library/webserver/*
EventType3eq 2, in 1exec, modification, ProcessRollup2, exec_event, open
host.os.type3eq 3
process_name3in 2, starts_with 1arch, csrutil, dscl, openssl, ssh
ScriptBlockText2eq 1, in 1, match 1-filepath, -identity, -mailbox, compress-archive -path*-destinationpath $env:temp, compress-archive -path*-destinationpath*:\windows\temp\
file.extension2eq 1, in 10, 1, 2, gz, gzip
ContextInfo1match 1Compress-Archive -Path*-DestinationPath $env:TEMP, Compress-Archive -Path*-DestinationPath*:\Windows\Temp\, Compress-Archive -Path*-DestinationPath*\AppData\Local\Temp\
Image1is_not_null 1
Message1regex_match 1(?i)\s(\>(\>)?|Out\-File)\s.{1,}\.\w{2,5}
Process_Command_Line1regex_match 1(?i)\s(\>(\>)?|Out\-File)\s.{1,}\.\w{2,5}
Type1eq 1
event.category1eq 1process

Top indicator values (140 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
EventIDeq
4104
3268
EventIDeq
4688
3313
EventIDeq
4103
1105
TargetFilenamewildcard
/tmp/*
37
TargetFilenamewildcard
/library/fonts/*
23
TargetFilenamewildcard
/library/graphics/*
23
TargetFilenamewildcard
/library/webserver/*
23
TargetFilenamewildcard
/private/tmp/*
23
TargetFilenamewildcard
/private/var/root/library/httpstorages/*
22
TargetFilenamewildcard
/users/shared/*
24
TargetFilenamewildcard
/var/tmp/*
26
EventTypeeq
modification
215
EventTypeeq
exec
1171
EventTypeeq
open
115
event.typeeq
creation
245
event.typeeq
start
2606
CommandLinematch
Compress-Archive -Path*-DestinationPath $env:TEMP
1
CommandLinematch
Compress-Archive -Path*-DestinationPath*:\Windows\Temp\
1
CommandLinematch
Compress-Archive -Path*-DestinationPath*\AppData\Local\Temp\
1
CommandLineregex_match
(?i)(\s+|\;|\:\,|\d+|\|)(out-file|\>{1,2})(\s|\;|\:\,\|).{1,}
1
CommandLineregex_match
(?i)(\s+|\;|\:\,|\d+|\|)?(\>{1,2})(\s|\;|\:\,\|).{1,}|\s+>
1
CommandLineregex_match
(?i)Compress-Archive|tar|makecab|compact|System\.IO\.Compression
1
CommandLineregex_match
(?i)\s(\>(\>)?|Out\-File)\s.{1,}\.\w{2,5}
1
ContextInfomatch
Compress-Archive -Path*-DestinationPath $env:TEMP
1
ContextInfomatch
Compress-Archive -Path*-DestinationPath*:\Windows\Temp\
1
ContextInfomatch
Compress-Archive -Path*-DestinationPath*\AppData\Local\Temp\
1
EventTypein
ProcessRollup2
1117
EventTypein
exec
1171
EventTypein
exec_event
1139
EventTypein
executed
188

Exclusions (11 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
CommandLineregex_match
(Decompress)
1
TargetFilenamestarts_with
/library/logs/crashreporter/
1
TargetFilenamestarts_with
/private/tmp/publish.
1
TargetFilenamewildcard
/private/tmp/*.fifo
1
TargetFilenamewildcard
/private/tmp/tcl-tk*
1
TargetFilenamewildcard
?:\$recycle.bin\*\*
1
file.nameeq
desktop.ini
1
file.namein
System.keychain
1
file.namein
com.apple.TimeMachine.plist
1
file.namein
login.keychain-db
1
file.namein
preferences.plist
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 3 rules

Elastic 7 rules

Splunk 9 rules