{"id":"0fa66f66-e3f6-4a9c-93f8-4f2610b00171","title":"Potential DLL Sideloading Using Coregen.exe","description":"Detect usage of the \"coregen.exe\" (Microsoft CoreCLR Native Image Generator) binary to sideload arbitrary DLLs.","author":"frack113","status":"test","level":"medium","date":"2022-12-31","modified":"","tags":["attack.privilege-escalation","attack.stealth","attack.t1218","attack.t1055"],"technique_ids":["T1055","T1218"],"logsource":{"category":"image_load","product":"windows"},"falsepositives":["Unknown"],"references":["https://lolbas-project.github.io/lolbas/OtherMSBinaries/Coregen/"],"source_path":"rules/windows/image_load/image_load_side_load_coregen.yml","source_sha256":"bdde986f2f8f60be08a75432ad744602e4c3de147937085f16d8c802fef9c9ec","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/image_load/image_load_side_load_coregen.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential DLL Sideloading Using Coregen.exe\nid: 0fa66f66-e3f6-4a9c-93f8-4f2610b00171\nstatus: test\ndescription: Detect usage of the \"coregen.exe\" (Microsoft CoreCLR Native Image Generator) binary to sideload arbitrary DLLs.\nreferences:\n    - https://lolbas-project.github.io/lolbas/OtherMSBinaries/Coregen/\nauthor: frack113\ndate: 2022-12-31\ntags:\n    - attack.privilege-escalation\n    - attack.stealth\n    - attack.t1218\n    - attack.t1055\nlogsource:\n    category: image_load\n    product: windows\ndetection:\n    selection:\n        Image|endswith: '\\coregen.exe'\n    filter_main_legit_paths:\n        ImageLoaded|startswith:\n            - 'C:\\Program Files (x86)\\Microsoft Silverlight\\'\n            - 'C:\\Program Files\\Microsoft Silverlight\\'\n            - 'C:\\Windows\\System32\\'\n            - 'C:\\Windows\\SysWOW64\\'\n    condition: selection and not 1 of filter_main_*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1055","id":"T1055","name":"Process Injection","page":"techniques/enterprise/T1055/"},{"key":"enterprise/T1218","id":"T1218","name":"System Binary Proxy Execution","page":"techniques/enterprise/T1218/"}],"data_path":"data/detection-rules/0fa66f66-e3f6-4a9c-93f8-4f2610b00171.json","kind":"sigma"}
