VeriKQL by Kaushik Saha

T1614 System Location Discovery

Discoveryon attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0043 Detection Strategy for System Location Discovery

AN0119 Windows

Unusual process or API usage attempting to query system locale, timezone, or keyboard layout (e.g., calls to GetLocaleInfoW, GetTimeZoneInformation). Detection can be enhanced by correlating with processes not typically associated with system configuration queries, such as unknown binaries or scripts.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SecurityEventCode=4688
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4688)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4688)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4688)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

etw:Microsoft-Windows-Kernel-BaseGetLocaleInfoW, GetTimeZoneInformation API callsNot mapped to Sentinel yet.

AN0120 Linux

Detection of commands accessing locale, timezone, or language settings such as 'locale', 'timedatectl', or parsing /etc/timezone. Anomalous execution by unusual users or automation scripts should be flagged.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecve calls to locale, timedatectl, or cat /etc/timezoneNot mapped to Sentinel yet.
linux:SysmonEventCode=1
  • [Deprecated] Microsoft Sysmon For Linux → Syslog
    Syslog | where ProcessName == "sysmon"

AN0121 macOS

Detection of system calls or commands accessing system locale (e.g., 'defaults read -g AppleLocale', 'systemsetup -gettimezone'). Correlate with unusual parent processes or execution contexts.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogdefaults read -g AppleLocale, systemsetup -gettimezoneNot mapped to Sentinel yet.
macos:osqueryexecveNot mapped to Sentinel yet.

AN0122 IaaS

Detection of queries to instance metadata services (e.g., AWS IMDS, Azure Metadata Service) for availability zone, region, or network geolocation details. Correlation with non-management accounts or non-standard workloads may indicate adversary reconnaissance.

MITRE log sourceIn Microsoft Sentinel
AWS:CloudTrailGetMetadata, DescribeInstanceIdentityNot mapped to Sentinel yet.
azure:vpcflowHTTP requests to 169.254.169.254 or Azure Metadata endpointsinterpreted
  • Azure Network Watcher (traffic analytics) → AzureNetworkAnalytics_CL
    AzureNetworkAnalytics_CL
  • Network Watcher traffic analytics → NTANetAnalytics
    NTANetAnalytics

MITRE's name is generic; on Azure, flow logs reach Sentinel through traffic analytics.

Content Hub rules tagged with it (0)

No Content Hub rule is tagged with this technique.

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

In Sigma rules

2 SigmaHQ community rules name it or one of its sub-techniques in their tags.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

Sub-techniques

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.