{"id":"9525dc73-0327-438c-8c04-13c0e037e9da","title":"Regsvr32 Execution From Potential Suspicious Location","description":"Detects execution of regsvr32 where the DLL is located in a potentially suspicious location.","author":"Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-05-26","modified":"","tags":["attack.stealth","attack.t1218.010"],"technique_ids":["T1218.010"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Some installers might execute \"regsvr32\" with DLLs located in %TEMP% or in %PROGRAMDATA%. Apply additional filters if necessary."],"references":["https://web.archive.org/web/20171001085340/https://subt0x10.blogspot.com/2017/04/bypass-application-whitelisting-script.html","https://app.any.run/tasks/34221348-072d-4b70-93f3-aa71f6ebecad/"],"source_path":"rules/windows/process_creation/proc_creation_win_regsvr32_susp_exec_path_1.yml","source_sha256":"3faa26ec34f1b550c44ea590d99a99b4bfef6a8b31999e68e9fb8184e0417314","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_regsvr32_susp_exec_path_1.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Regsvr32 Execution From Potential Suspicious Location\nid: 9525dc73-0327-438c-8c04-13c0e037e9da\nrelated:\n    - id: 8e2b24c9-4add-46a0-b4bb-0057b4e6187d\n      type: obsolete\nstatus: test\ndescription: Detects execution of regsvr32 where the DLL is located in a potentially suspicious location.\nreferences:\n    - https://web.archive.org/web/20171001085340/https://subt0x10.blogspot.com/2017/04/bypass-application-whitelisting-script.html\n    - https://app.any.run/tasks/34221348-072d-4b70-93f3-aa71f6ebecad/\nauthor: Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-05-26\ntags:\n    - attack.stealth\n    - attack.t1218.010\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\regsvr32.exe'\n        - OriginalFileName: 'REGSVR32.EXE'\n    selection_cli:\n        CommandLine|contains:\n            - ':\\ProgramData\\'\n            - ':\\Temp\\'\n            - ':\\Users\\Public\\'\n            - ':\\Windows\\Temp\\'\n            - '\\AppData\\Local\\Temp\\'\n            - '\\AppData\\Roaming\\'\n    condition: all of selection_*\nfalsepositives:\n    - Some installers might execute \"regsvr32\" with DLLs located in %TEMP% or in %PROGRAMDATA%. Apply additional filters if necessary.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1218.010","id":"T1218.010","name":"Regsvr32","page":"techniques/enterprise/T1218.010/"}],"data_path":"data/detection-rules/9525dc73-0327-438c-8c04-13c0e037e9da.json","kind":"sigma"}
