CAPEC-694: System Location Discovery

Standard Stable 严重程度: Very Low 攻击可能性: High

CAPEC版本: 3.9

更新日期: 2023-01-24

攻击模式描述

执行流程

步骤 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.

前提条件

  • 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.

所需技能

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.

所需资源

  • 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.

后果影响

影响范围: Confidentiality

技术影响: Read Data

缓解措施

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

分类映射

分类名称 条目ID 条目名称
ATTACK 1614 System Language Discovery
关键信息

CAPEC ID: CAPEC-694

抽象级别: Standard

状态: Stable

典型严重程度: Very Low

攻击可能性: High

相关攻击模式
相关CWE弱点