Dark Mode

Settings

Capec-694 Detail

System Location Discovery

Standard Communications Software Likelihood: High Typical Severity: Very Low

Parents: 169

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.

Not present

External ID Source Link Description
CAPEC-694 capec https://capec.mitre.org/data/definitions/694.html
CWE-497 cwe http://cwe.mitre.org/data/definitions/497.html
T1614 ATTACK https://attack.mitre.org/wiki/Technique/T1614 System Language Discovery
REF-727 reference_from_CAPEC https://learn.microsoft.com/en-us/previous-versions/windows/desktop/indexsrv/language-specific-registry-entries Language-Specific Registry Entries
REF-728 reference_from_CAPEC https://learn.microsoft.com/en-us/windows/win32/api/winnls/ winnls.h header
REF-729 reference_from_CAPEC https://www.systutorials.com/docs/linux/man/1p-locale/ local (1p) - Linux Man Pages
REF-730 reference_from_CAPEC https://www.freedesktop.org/software/systemd/man/vconsole.conf.html vconsole.conf
REF-731 reference_from_CAPEC https://www.freedesktop.org/software/systemd/man/timedatectl.html timedatectl
Explore
  1. 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

  2. Techniques
    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.
  1. 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.
  1. 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.
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.
Confidentiality
Read Data

Not present