Data from Local System T1005

Tactic: Collection

Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.

Events covered

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

Authoring guide

These 77 rules share fields, values, and exclusions.

Fields filtered most (79 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
event.type27eq 24, in 3start, process_started, change
process_basename27eq 16, in 13awk, cat, 7z, wget, bash
EventType25eq 17, in 8exec, open, exec_event, ProcessRollup2, executed
process.args22eq 8, in 8, starts_with 5, is_not_null 4, contains 3, wildcard 3, ends_with 1, --bytes, -i, /bin/awk, *.ost
CommandLine21contains 12, wildcard 6, regex_match 5, match 1(?i)(((^|\s+)copy|(xcopy|robocopy)(\.exe)?"?)\s+), gitleaks, trufflehog, -S localhost , (?i)(Copy\-Item|(^|\s)copy|xcopy(\.exe"?)?|[^\-]cp|[^\-]c...
Image11ends_with 10, is_not_null 1\sqlcmd.exe, \sqlite.exe, \sqlite3.exe, , /curl
EventID9eq 8, in 14656, 4663, 1, 11, 4103
event.category7eq 7process, file
TargetFilename5contains 2, in 2, ends_with 1, wildcard 1*VirtualDirectories*, *\sqlite32.dll, *\sqlite64.dll, *\temp\*, /Library/Fonts/*
sourcetype5eq 3, in 2cisco:asa, vmw-syslog, vmware:esxlog*, log4j
Esql.dest_host4is_not_null 4
Esql.destination_host_count4lt 43
Esql.host_key4is_not_null 4
Esql.verdict4in 4SUSPICIOUS, TP
ParentImage4ends_with 2, is_not_null 2, /bun, /node, \bun.exe, \node.exe

Top indicator values (688 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
211036
event.typeeq
start
367
EventTypeeq
exec
11547
EventTypeeq
open
549
EventTypein
exec
5180
EventTypein
exec_event
5135
EventTypein
ProcessRollup2
4119
EventTypein
start
4157
EventTypein
executed
385
EventTypein
process_started
377
process_basenamein
cat
522
process_basenamein
awk
420
process_basenamein
sed
415
Esql.dest_hostis_not_null
44
Esql.destination_host_countlt
3
44
Esql.host_keyis_not_null
44
Esql.verdictin
SUSPICIOUS
44
Esql.verdictin
TP
44
container.idwildcard
*
426
event.categoryeq
process
4105
process.argsis_not_null
47
Imageends_with
\sqlcmd.exe
35
event.typein
process_started
339
event.typein
start
340
process.argsin
/bin/awk
36
process.argsin
/bin/cat
35
process.argsin
/bin/sed
35
process.argsin
/usr/bin/awk
36
process.argsin
/usr/bin/cat
35
process.argsin
/usr/bin/sed
35

Exclusions (154 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
Esql.dest_hostin
0.0.0.0
4
Esql.dest_hostin
127.0.0.1
4
Esql.dest_hostin
168.63.129.16
4
Esql.dest_hostin
169.254.169.254
4
Esql.dest_hostin
::1
4
Esql.dest_hostin
acs-mirror.azureedge.net
4
Esql.dest_hostin
api.github.com
4
Esql.dest_hostin
artifacts.elastic.co
4
Esql.dest_hostin
download.elastic.co
4
Esql.dest_hostin
localhost
4
Esql.dest_hostin
login.microsoftonline.com
4
Esql.dest_hostin
management.azure.com
4
Esql.dest_hostin
mcr.microsoft.com
4
Esql.dest_hostin
packages.aks.azure.com
4
Esql.dest_hostin
packages.microsoft.com
4

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 14 rules

Elastic 38 rules

Splunk 11 rules

Kusto 10 rules

YARA-L 2 rules

Panther 2 rules