---
title: "CAPEC-694: System Location Discovery"
url: https://radicalnotion.ai/capec/capec-694
type: capec
description: "An adversary collects information about the target system in an attempt to identify the system's geographical location. Information gathered could include keyboard layout, system language, and timezone. This information may benefit an adversary in confirming the desired target and/or tailoring further attacks."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-694: System Location Discovery

- **Abstraction:** Standard
- **Status:** Stable
- **Typical severity:** Very Low
- **Likelihood of attack:** High
- **CAPEC catalog version:** 3.9

## Description

An adversary collects information about the target system in an attempt to identify the system's geographical location. Information gathered could include keyboard layout, system language, and timezone. This information may benefit an adversary in confirming the desired target and/or tailoring further attacks.

## Execution flow

### Step 1: Explore

\[System Locale Information Discovery\] The adversary examines system information from various sources such as registry and native API functions and correlates the gathered information to infer the geographical location of the target system

- Registry Query: Query the registry key HKEY\_LOCAL\_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\ContentIndex\\Language\\Language\_Dialect on Windows to obtain system language, Computer\\HKEY\_CURRENT\_USER\\Keyboard Layout\\Preload to obtain the hexadecimal language IDs of the current user's preloaded keyboard layouts, and Computer\\HKEY\_LOCAL\_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation to obtain the system timezone configuration
- Native API Requests: Parse the outputs of Windows API functions GetTimeZoneInformation, GetUserDefaultUILanguage, GetSystemDefaultUILanguage, GetKeyboardLayoutList and GetUserDefaultLangID to obtain information about languages, keyboard layouts, and timezones installed on the system or on macOS or Linux systems, query locale to obtain the $LANG environment variable and view keyboard layout information or use timeanddatectl status to show the system clock settings.
- Read Configuration Files: For macOS and Linux-based systems, view the /etc/vconsole.conf file to get information about the keyboard mapping and console font.

## Prerequisites

- The adversary must have some level of access to the system and have a basic understanding of the operating system in order to query the appropriate sources for relevant information.

## Skills required

- **Low:** The adversary must know how to query various system sources of information respective of the system's operating system to obtain the relevant information.

## Resources required

- The adversary requires access to the target's operating system tools to query relevant system information. On windows, registry queries can be conducted with powershell, wmi, or regedit. On Linux or macOS, queries can be performed with through a shell.

## Consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Data | - |

## Mitigations

- To reduce the amount of information gathered, one could disable various geolocation features of the operating system not required for system operation.

## Related weaknesses (CWE)

- [CWE-497](https://radicalnotion.ai/cwe/cwe-497): Exposure of Sensitive System Information to an Unauthorized Control Sphere

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-169](https://radicalnotion.ai/capec/capec-169) | Footprinting |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | System Language Discovery | 1614 |

## Frequently asked questions

### What is CAPEC-694?

An adversary collects information about the target system in an attempt to identify the system's geographical location. Information gathered could include keyboard layout, system language, and timezone. This information may benefit an adversary in confirming the desired target and/or tailoring further attacks.

### How does a System Location Discovery attack work?

It typically unfolds over 1 phase. It begins with: \[System Locale Information Discovery\] The adversary examines system information from various sources such as registry and native API functions and correlates the gathered information to infer the geographical location of the target system

### How do you prevent CAPEC-694?

To reduce the amount of information gathered, one could disable various geolocation features of the operating system not required for system operation.

### What weaknesses does CAPEC-694 target?

CAPEC-694 exploits one CWE weakness: CWE-497 (Exposure of Sensitive System Information to an Unauthorized Control Sphere).

### How severe is CAPEC-694?

MITRE rates CAPEC-694 as Very Low severity with high likelihood of attack.

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/694.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-694). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
