MITRE ATT&CK / Techniques / T1614.001

System Location Discovery: System Language Discovery

ID
T1614.001
Tactics
TA0007 Discovery
Sub-technique of
T1614 System Location Discovery
Platforms
Linux, macOS, Windows
Data sources
Windows Registry Key Access, Process Creation, OS API Execution, Command Execution
Source
attack.mitre.org
MITRE last modified
12 May 2026

Adversaries may attempt to gather information about the system language of a victim in order to infer the geographical location of that host. This information may be used to shape follow-on behaviors, including whether the adversary infects the target and/or attempts specific actions. This decision may be employed by malware developers and operators to reduce their risk of attracting the attention of specific law enforcement agencies or prosecution/scrutiny from other entities.[1]

There are various sources of data an adversary could use to infer system language, such as system defaults and keyboard layouts. Specific checks will vary based on the target and/or adversary, but may involve behaviors such as Query Registry and calls to Native API functions.[2]

For example, on a Windows system adversaries may attempt to infer the language of a system by querying the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language or parsing the outputs of Windows API functions GetUserDefaultUILanguage, GetSystemDefaultUILanguage, GetKeyboardLayoutList and GetUserDefaultLangID.[3][4][5]

On a macOS or Linux system, adversaries may query locale to retrieve the value of the $LANG environment variable.

Detection

Groups (5)

Software (35)

References

  1. Malware System Language Check
  2. CrowdStrike Ryuk January 2019
  3. Darkside Ransomware Cybereason
  4. Securelist JSWorm
  5. SecureList SynAck Doppelgänging May 2018