{"id":"b6f91281-20aa-446a-b986-38a92813a18f","title":"DLL Search Order Hijackig Via Additional Space in Path","description":"Detects when an attacker create a similar folder structure to windows system folders such as (Windows, Program Files...)\nbut with a space in order to trick DLL load search order and perform a \"DLL Search Order Hijacking\" attack\n","author":"frack113, Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"high","date":"2022-07-30","modified":"","tags":["attack.persistence","attack.privilege-escalation","attack.execution","attack.stealth","attack.t1574.001"],"technique_ids":["T1574.001"],"logsource":{"category":"file_event","product":"windows"},"falsepositives":["Unknown"],"references":["https://twitter.com/cyb3rops/status/1552932770464292864","https://www.wietzebeukema.nl/blog/hijacking-dlls-in-windows"],"source_path":"rules/windows/file/file_event/file_event_win_dll_sideloading_space_path.yml","source_sha256":"815a35743eb374c8d5e8b7e93eabae1036f2f3795c70f30d92da8122ba0924ff","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/file/file_event/file_event_win_dll_sideloading_space_path.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: DLL Search Order Hijackig Via Additional Space in Path\nid: b6f91281-20aa-446a-b986-38a92813a18f\nstatus: test\ndescription: |\n    Detects when an attacker create a similar folder structure to windows system folders such as (Windows, Program Files...)\n    but with a space in order to trick DLL load search order and perform a \"DLL Search Order Hijacking\" attack\nreferences:\n    - https://twitter.com/cyb3rops/status/1552932770464292864\n    - https://www.wietzebeukema.nl/blog/hijacking-dlls-in-windows\nauthor: frack113, Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-07-30\ntags:\n    - attack.persistence\n    - attack.privilege-escalation\n    - attack.execution\n    - attack.stealth\n    - attack.t1574.001\nlogsource:\n    category: file_event\n    product: windows\ndetection:\n    selection:\n        TargetFilename|startswith:\n            - 'C:\\Windows \\'\n            - 'C:\\Program Files \\'\n            - 'C:\\Program Files (x86) \\'\n        TargetFilename|endswith: '.dll'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1574.001","id":"T1574.001","name":"DLL","page":"techniques/enterprise/T1574.001/"}],"data_path":"data/detection-rules/b6f91281-20aa-446a-b986-38a92813a18f.json","kind":"sigma"}
