Sigma rule: Suspicious Path In Keyboard Layout IME File Registry Value
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-78656ea54e7f, updated 2023-11-21T00:00:00.000Z.
Rule
- Title
- Suspicious Path In Keyboard Layout IME File Registry Value
- Status
- test
- Level
- high
- Author
- X__Junior (Nextron Systems)
- Date
- 2023-11-21
- File
- rules/windows/registry/registry_set/registry_set_ime_suspicious_paths.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects usage of Windows Input Method Editor (IME) keyboard layout feature, which allows an attacker to load a DLL into the process after sending the WM_INPUTLANGCHANGEREQUEST message.
Before doing this, the client needs to register the DLL in a special registry key that is assumed to implement this keyboard layout. This registry key should store a value named "Ime File" with a DLL path.
IMEs are essential for languages that have more characters than can be represented on a standard keyboard, such as Chinese, Japanese, and Korean.
Log source
- product
- windows
- category
- registry_set
Detection
selection_registry:
TargetObject|contains|all:
- '\Control\Keyboard Layouts\'
- 'Ime File'
selection_folders_1:
Details|contains:
- ':\Perflogs\'
- ':\Users\Public\'
- ':\Windows\Temp\'
- '\AppData\Local\Temp\'
- '\AppData\Roaming\'
- '\Temporary Internet'
selection_folders_2:
- Details|contains|all:
- ':\Users\'
- '\Favorites\'
- Details|contains|all:
- ':\Users\'
- '\Favourites\'
- Details|contains|all:
- ':\Users\'
- '\Contacts\'
condition: selection_registry and 1 of selection_folders_*False positives (as the rule lists them)
- Unknown
Tags
- attack.defense-impairment
- attack.t1685
MITRE ATT&CK ids this rule names
Related rules
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_ime_suspicious_paths.yml
Sources and licences
SigmaHQ
"Suspicious Path In Keyboard Layout IME File Registry Value" by X__Junior (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_ime_suspicious_paths.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious Path In Keyboard Layout IME File Registry Value",
entity page, dataset version ref-78656ea54e7f, updated 2023-11-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9d8f9bb8-01af-4e15-a3a2-349071530530 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9d8f9bb8-01af-4e15-a3a2-349071530530, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.