{"id":"fc0e89b5-adb0-43c1-b749-c12a10ec37de","title":"SafeBoot Registry Key Deleted Via Reg.EXE","description":"Detects execution of \"reg.exe\" commands with the \"delete\" flag on safe boot registry keys. Often used by attacker to prevent safeboot execution of security products","author":"Nasreddine Bencherchali (Nextron Systems), Tim Shelton","status":"test","level":"high","date":"2022-08-08","modified":"2023-02-04","tags":["attack.defense-impairment","attack.t1685"],"technique_ids":["T1685"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unlikely"],"references":["https://www.trendmicro.com/en_us/research/22/e/avoslocker-ransomware-variant-abuses-driver-file-to-disable-anti-Virus-scans-log4shell.html"],"source_path":"rules/windows/process_creation/proc_creation_win_reg_delete_safeboot.yml","source_sha256":"1d09d9cd03cd4fa369f105dd59624f86860a7987bfb98e3d55c6b6d7909858a7","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_reg_delete_safeboot.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: SafeBoot Registry Key Deleted Via Reg.EXE\nid: fc0e89b5-adb0-43c1-b749-c12a10ec37de\nrelated:\n    - id: d7662ff6-9e97-4596-a61d-9839e32dee8d\n      type: similar\nstatus: test\ndescription: Detects execution of \"reg.exe\" commands with the \"delete\" flag on safe boot registry keys. Often used by attacker to prevent safeboot execution of security products\nreferences:\n    - https://www.trendmicro.com/en_us/research/22/e/avoslocker-ransomware-variant-abuses-driver-file-to-disable-anti-Virus-scans-log4shell.html\nauthor: Nasreddine Bencherchali (Nextron Systems), Tim Shelton\ndate: 2022-08-08\nmodified: 2023-02-04\ntags:\n    - attack.defense-impairment\n    - attack.t1685\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: 'reg.exe'\n        - OriginalFileName: 'reg.exe'\n    selection_delete:\n        CommandLine|contains|all:\n            - ' delete '\n            - '\\SYSTEM\\CurrentControlSet\\Control\\SafeBoot'\n    condition: all of selection_*\nfalsepositives:\n    - Unlikely\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/fc0e89b5-adb0-43c1-b749-c12a10ec37de.json","kind":"sigma"}
