{"id":"e2482f8d-3443-4237-b906-cc145d87a076","title":"Disable Internal Tools or Feature in Registry","description":"Detects registry modifications that change features of internal Windows tools (malware like Agent Tesla uses this technique)","author":"frack113, Nasreddine Bencherchali (Nextron Systems), CrimpSec","status":"test","level":"medium","date":"2022-03-18","modified":"2025-06-04","tags":["attack.persistence","attack.defense-impairment","attack.t1112"],"technique_ids":["T1112"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":["Legitimate admin script"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md","https://www.mandiant.com/resources/unc2165-shifts-to-evade-sanctions","https://blogs.vmware.com/security/2022/11/batloader-the-evasive-downloader-malware.html","https://www.malwarebytes.com/blog/detections/pum-optional-nodispbackgroundpage","https://www.malwarebytes.com/blog/detections/pum-optional-nodispcpl","https://bazaar.abuse.ch/sample/7bde840c7e8c36dce4c3bac937bcf39f36a6f118001b406bfbbc25451ce44fb4/"],"source_path":"rules/windows/registry/registry_set/registry_set_disable_function_user.yml","source_sha256":"db590d2dd03b03cc357be25e99f103f4a5083e18414ea86125c0818ad63f21eb","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_disable_function_user.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Disable Internal Tools or Feature in Registry\nid: e2482f8d-3443-4237-b906-cc145d87a076\nstatus: test\ndescription: Detects registry modifications that change features of internal Windows tools (malware like Agent Tesla uses this technique)\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md\n    - https://www.mandiant.com/resources/unc2165-shifts-to-evade-sanctions\n    - https://blogs.vmware.com/security/2022/11/batloader-the-evasive-downloader-malware.html\n    - https://www.malwarebytes.com/blog/detections/pum-optional-nodispbackgroundpage\n    - https://www.malwarebytes.com/blog/detections/pum-optional-nodispcpl\n    - https://bazaar.abuse.ch/sample/7bde840c7e8c36dce4c3bac937bcf39f36a6f118001b406bfbbc25451ce44fb4/\nauthor: frack113, Nasreddine Bencherchali (Nextron Systems), CrimpSec\ndate: 2022-03-18\nmodified: 2025-06-04\ntags:\n    - attack.persistence\n    - attack.defense-impairment\n    - attack.t1112\nlogsource:\n    category: registry_set\n    product: windows\ndetection:\n    selection_set_1:\n        TargetObject|endswith:\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\DisableCMD'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoControlPanel'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoRun'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\StartMenuLogOff'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\DisableChangePassword'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\DisableLockWorkstation'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\DisableRegistryTools'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\DisableTaskmgr'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\NoDispBackgroundPage'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\NoDispCPL'\n            - 'SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer\\DisableNotificationCenter'\n            - 'SOFTWARE\\Policies\\Microsoft\\Windows\\System\\DisableCMD'\n        Details: 'DWORD (0x00000001)'\n    selection_set_0:\n        TargetObject|endswith:\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\ConsentPromptBehaviorAdmin'\n            - 'Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\InactivityTimeoutSecs'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\shutdownwithoutlogon'\n            - 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\PushNotifications\\ToastEnabled'\n            - 'SYSTEM\\CurrentControlSet\\Control\\Storage\\Write Protection'\n            - 'SYSTEM\\CurrentControlSet\\Control\\StorageDevicePolicies\\WriteProtect'\n        Details: 'DWORD (0x00000000)'\n    condition: 1 of selection_set_*\nfalsepositives:\n    - Legitimate admin script\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1112","id":"T1112","name":"Modify Registry","page":"techniques/enterprise/T1112/"}],"data_path":"data/detection-rules/e2482f8d-3443-4237-b906-cc145d87a076.json","kind":"sigma"}
