System Location Discovery T1614

Tactic: Discovery

Adversaries may gather information in an attempt to calculate the geographical location of a victim host. Adversaries may use the information from System Location Discovery during automated discovery to shape follow-on behaviors, including whether or not the adversary fully infects the target and/or attempts specific actions.

Events covered

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

Authoring guide

Patterns shared across the 6 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 (14 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
CommandLine4match 2, contains 1, ends_with 1(?i)chcp\s+?$, chcp, chcp , chcp , control\nls\language
process_name4match 2, eq 1, is_not_null 1(?i)chcp\.com, net.exe, net1.exe, tzutil.exe
EventID2eq 21, 4688
Image2ends_with 2\chcp.com, \reg.exe
parent_process_name2match 2(?i)(powershell|pwsh|cmd)\.exe
DestinationPortName1eq 1dns
EventType1eq 1lookup_requested
OriginalFileName1eq 1reg.exe
ParentCommandLine1contains 1 -c , -k , -r
ParentImage1ends_with 1\cmd.exe
Type1eq 1
dns.question.name1wildcard 1*api.ipify.org, *checkip.amazonaws.com, *checkip.dyndns.org
event.type1eq 1start
process.args1eq 1/g, /tz, time

Top indicator values (45 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
CommandLinematch
(?i)chcp\s+?$
22
parent_process_namematch
(?i)(powershell|pwsh|cmd)\.exe
22
process_namematch
(?i)chcp\.com
22
CommandLinecontains
control\nls\language
1
CommandLinecontains
query
18
CommandLineends_with
chcp
1
CommandLineends_with
chcp
1
CommandLineends_with
chcp
1
DestinationPortNameeq
dns
15
EventIDeq
1
1237
EventIDeq
4688
1313
EventTypeeq
lookup_requested
14
Imageends_with
\chcp.com
12
Imageends_with
\reg.exe
158
OriginalFileNameeq
reg.exe
142
ParentCommandLinecontains
-c
1
ParentCommandLinecontains
-k
1
ParentCommandLinecontains
-r
1
ParentImageends_with
\cmd.exe
120
dns.question.namewildcard
*api.ipify.org
12
dns.question.namewildcard
*checkip.amazonaws.com
12
dns.question.namewildcard
*checkip.dyndns.org
12
dns.question.namewildcard
*freegeoip.app
12
dns.question.namewildcard
*icanhazip.com
12
dns.question.namewildcard
*ifconfig.*
1
dns.question.namewildcard
*ip-lookup.net
1
dns.question.namewildcard
*ip.anysrc.net
1
dns.question.namewildcard
*ipapi.co
1
dns.question.namewildcard
*ipecho.net
12
dns.question.namewildcard
*ipgeoapi.com
1

Exclusions (30 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
usermatch
\$$
2
Imagewildcard
?:\program files (x86)\*.exe
1
Imagewildcard
?:\program files\*.exe
1
Imagewildcard
?:\programdata\microsoft\windows defender\platform\*\msmpeng.exe
1
Imagewildcard
?:\users\*\appdata\local\google\chrome\application\chrome.exe
1
Imagewildcard
?:\users\*\appdata\local\microsoft\onedrive\onedrive.exe
1
Imagewildcard
?:\users\*\appdata\local\programs\fiddler\fiddler.exe
1
Imagewildcard
?:\users\*\appdata\local\programs\microsoft vs code\code.exe
1
Imagewildcard
?:\windows\prey\versions\*\bin\node.exe
1
Imagewildcard
?:\windows\system32\microsoftedgecp.exe
1
Imagewildcard
?:\windows\system32\smartscreen.exe
1
Imagewildcard
?:\windows\system32\wwahost.exe
1
process.code_signature.subject_nameeq
Brave Software, Inc.
1
process.code_signature.subject_nameeq
Evernote Corporation
1
process.code_signature.subject_nameeq
Loom, Inc.
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 2 rules

Elastic 2 rules

Splunk 2 rules