{"id":"9d8f9bb8-01af-4e15-a3a2-349071530530","title":"Suspicious Path 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":["Unknown"],"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_suspicious_paths.yml","source_sha256":"161937b72bff67d60a9f4df98e1e80593c9e6fef9e1ff2f65d0b9b4b58b475c5","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_ime_suspicious_paths.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious Path In Keyboard Layout IME File Registry Value\nid: 9d8f9bb8-01af-4e15-a3a2-349071530530\nrelated:\n    - id: b888e3f2-224d-4435-b00b-9dd66e9ea1f1\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_registry:\n        TargetObject|contains|all:\n            - '\\Control\\Keyboard Layouts\\'\n            - 'Ime File'\n    selection_folders_1:\n        Details|contains:\n            - ':\\Perflogs\\'\n            - ':\\Users\\Public\\'\n            - ':\\Windows\\Temp\\'\n            - '\\AppData\\Local\\Temp\\'\n            - '\\AppData\\Roaming\\'\n            - '\\Temporary Internet'\n    selection_folders_2:\n        - Details|contains|all:\n              - ':\\Users\\'\n              - '\\Favorites\\'\n        - Details|contains|all:\n              - ':\\Users\\'\n              - '\\Favourites\\'\n        - Details|contains|all:\n              - ':\\Users\\'\n              - '\\Contacts\\'\n    condition: selection_registry and 1 of selection_folders_*\nfalsepositives:\n    - Unknown\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/9d8f9bb8-01af-4e15-a3a2-349071530530.json","kind":"sigma"}
