{"id":"b888e3f2-224d-4435-b00b-9dd66e9ea1f1","title":"Uncommon Extension In Keyboard Layout IME File Registry Value","description":"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.\nBefore 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.\nIMEs are essential for languages that have more characters than can be represented on a standard keyboard, such as Chinese, Japanese, and Korean.\n","author":"X__Junior (Nextron Systems)","status":"test","level":"high","date":"2023-11-21","modified":"","tags":["attack.defense-impairment","attack.t1685"],"technique_ids":["T1685"],"logsource":{"product":"windows","category":"registry_set"},"falsepositives":["IMEs are essential for languages that have more characters than can be represented on a standard keyboard, such as Chinese, Japanese, and Korean."],"references":["https://www.linkedin.com/pulse/guntior-story-advanced-bootkit-doesnt-rely-windows-disk-baranov-wue8e/"],"source_path":"rules/windows/registry/registry_set/registry_set_ime_non_default_extension.yml","source_sha256":"7c84c4a2029db3ff0ef781e05ecd27fdd0ff772bbd5cfc0db0e349feb7a80aa1","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_ime_non_default_extension.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Uncommon Extension In Keyboard Layout IME File Registry Value\nid: b888e3f2-224d-4435-b00b-9dd66e9ea1f1\nrelated:\n    - id: 9d8f9bb8-01af-4e15-a3a2-349071530530\n      type: derived\nstatus: test\ndescription: |\n    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.\n    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.\n    IMEs are essential for languages that have more characters than can be represented on a standard keyboard, such as Chinese, Japanese, and Korean.\nreferences:\n    - https://www.linkedin.com/pulse/guntior-story-advanced-bootkit-doesnt-rely-windows-disk-baranov-wue8e/\nauthor: X__Junior (Nextron Systems)\ndate: 2023-11-21\ntags:\n    - attack.defense-impairment\n    - attack.t1685\nlogsource:\n    product: windows\n    category: registry_set\ndetection:\n    selection:\n        TargetObject|contains|all:\n            - '\\Control\\Keyboard Layouts\\'\n            - 'Ime File'\n    filter_main_known_extension:\n        Details|endswith: '.ime'\n    condition: selection and not 1 of filter_main_*\nfalsepositives:\n    - IMEs are essential for languages that have more characters than can be represented on a standard keyboard, such as Chinese, Japanese, and Korean.\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"}],"data_path":"data/detection-rules/b888e3f2-224d-4435-b00b-9dd66e9ea1f1.json","kind":"sigma"}
