Data from Local System T1005

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

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

Authoring guide

Patterns shared across the 26 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 (30 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
CommandLine15contains 8, regex_match 3, match 2, wildcard 2, eq 1(?i)(((^|\s+)copy|(xcopy|robocopy)(\.exe)?\"?)\s+), -s localhost , (?i)(Copy\-Item|(^|\s)copy|xcopy(\.exe\"?)?|[^\-]cp|[^\-]..., (?i)\s/r\s.*\x5cWindows\x5cWebCache, *-Mailbox*-ContentFilter*
EventID10eq 104656, 4663, 1, 11, 18
Image10ends_with 9, eq 1\sqlcmd.exe, \sqlite.exe, \sqlite3.exe, /curl, :\windows\system32\mmc.exe
event.type4eq 4start
Computer3eq 3ADFS_Servers
EventData3contains 35cb41ed0-0e4c-11d0-a286-00aa003049e2, 8d3bca50-1d7e-11d0-a081-00aa006c33ed, \\registry\\machine\\software\\microsoft\\microsoft..., \\registry\\machine\\software\\microsoft\\microsoftonline..., object access
ObjectType3eq 2, contains 1Key, 5cb41ed0-0e4c-11d0-a286-00aa003049e2
DestinationPort2eq 280
EventType2eq 2AmsiScriptContent, LdapSearch
ObjectName2eq 2\\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Microsoft..., \\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\MicrosoftOnline...
OriginalFileName2eq 2, in 17z.exe, 7za.exe, esentutl.exe, winrar.exe
PipeName2eq 2\MICROSOFT##WID\tsql\query, \\MICROSOFT##WID\\tsql\\query
Product2eq 2SQLite
process.args2ends_with 1, eq 1, starts_with 1-hp, -p, .ost, .pst, /hp
process_name2eq 27z.exe, 7za.exe, powershell.exe, powershell_ise.exe, pwsh.exe

Top indicator values (129 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
4241
Computereq
ADFS_Servers
35
Imageends_with
\sqlcmd.exe
35
Imageends_with
\sqlite.exe
22
Imageends_with
\sqlite3.exe
22
CommandLineregex_match
(?i)(((^|\s+)copy|(xcopy|robocopy)(\.exe)?\"?)\s+)
22
DestinationPorteq
80
212
EventIDeq
4656
219
EventIDeq
4663
234
ObjectTypeeq
Key
28
Producteq
SQLite
22
AdditionalFieldsends_with
[mArS.deiMos]::inteRaCt()"}
1
AttributeListcontains
thumbnailphoto
1
CommandLinecontains
-s localhost
1
CommandLinecontains
-d
1
CommandLinecontains
-r
18
CommandLinecontains
\chromiumviewer\
1
CommandLinecontains
\opera software\
1
CommandLinecontains
\user data\
1
CommandLinecontains
\windows\webcache
1
CommandLinecontains
backup database
1
CommandLinecontains
backuprepositories
1
CommandLinecontains
backups
1
CommandLinecontains
bookmarks
12
CommandLinecontains
cookies
12
CommandLinecontains
cookies.sqlite
12
CommandLinecontains
credentials
1
CommandLinecontains
curl
112
CommandLinecontains
from
1
CommandLinecontains
gitleaks
1

Exclusions (64 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
Processin
Microsoft.Azure.ActiveDirectory.Synchronization.Upgrader.exe
2
Processin
Microsoft.Identity.AadConnect.Health.AadSync.Host.exe
2
Processin
Microsoft.Identity.Health.AadSync.MonitoringAgent.Startup.exe
2
Processin
Microsoft.Identity.Health.Adfs.DiagnosticsAgent.exe
2
Processin
Microsoft.Identity.Health.Adfs.InsightsService.exe
2
Processin
Microsoft.Identity.Health.Adfs.MonitoringAgent.Startup.exe
2
Processin
Microsoft.Identity.Health.Adfs.PshSurrogate.exe
2
Processin
Microsoft.Identity.Health.Common.Clients.ResourceMonitor.exe
2
Processin
miiserver.exe
2
dest_ipin
0:0:0:0:0:0:0:1
2
dest_ipin
::1
2
CommandLinecontains
--cacert
1
CommandLinecontains
--ssl-cert
1
CommandLinecontains
--tls-cert
1
CommandLinecontains
--tls_server_certs
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.

Sigma 10 rules

Elastic 4 rules

Splunk 5 rules

Kusto 7 rules