Disable Internal Tools or Feature in Registry
Detects registry modifications that change features of internal Windows tools (malware like Agent Tesla uses this technique)
Sigma rule (View on GitHub)
1title: Disable Internal Tools or Feature in Registry
2id: e2482f8d-3443-4237-b906-cc145d87a076
3status: test
4description: Detects registry modifications that change features of internal Windows tools (malware like Agent Tesla uses this technique)
5references:
6 - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md
7 - https://www.mandiant.com/resources/unc2165-shifts-to-evade-sanctions
8 - https://blogs.vmware.com/security/2022/11/batloader-the-evasive-downloader-malware.html
9 - https://www.malwarebytes.com/blog/detections/pum-optional-nodispbackgroundpage
10 - https://www.malwarebytes.com/blog/detections/pum-optional-nodispcpl
11 - https://bazaar.abuse.ch/sample/7bde840c7e8c36dce4c3bac937bcf39f36a6f118001b406bfbbc25451ce44fb4/
12author: frack113, Nasreddine Bencherchali (Nextron Systems), CrimpSec
13date: 2022-03-18
14modified: 2025-06-04
15tags:
16 - attack.persistence
17 - attack.defense-impairment
18 - attack.t1112
19logsource:
20 category: registry_set
21 product: windows
22detection:
23 selection_set_1:
24 TargetObject|endswith:
25 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisableCMD'
26 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoControlPanel'
27 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRun'
28 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\StartMenuLogOff'
29 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableChangePassword'
30 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableLockWorkstation'
31 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools'
32 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskmgr'
33 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\NoDispBackgroundPage'
34 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\NoDispCPL'
35 - 'SOFTWARE\Policies\Microsoft\Windows\Explorer\DisableNotificationCenter'
36 - 'SOFTWARE\Policies\Microsoft\Windows\System\DisableCMD'
37 Details: 'DWORD (0x00000001)'
38 selection_set_0:
39 TargetObject|endswith:
40 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin'
41 - 'Software\Microsoft\Windows\CurrentVersion\Policies\System\InactivityTimeoutSecs'
42 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\shutdownwithoutlogon'
43 - 'SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications\ToastEnabled'
44 - 'SYSTEM\CurrentControlSet\Control\Storage\Write Protection'
45 - 'SYSTEM\CurrentControlSet\Control\StorageDevicePolicies\WriteProtect'
46 Details: 'DWORD (0x00000000)'
47 condition: 1 of selection_set_*
48falsepositives:
49 - Legitimate admin script
50level: medium
51simulation:
52 - type: atomic-red-team
53 name: Disable Windows Registry Tool
54 technique: T1112
55 atomic_guid: ac34b0f7-0f85-4ac0-b93e-3ced2bc69bb8
56 - type: atomic-red-team
57 name: Disable Windows CMD application
58 technique: T1112
59 atomic_guid: d2561a6d-72bd-408c-b150-13efe1801c2a
60 - type: atomic-red-team
61 name: Disable Windows Task Manager application
62 technique: T1112
63 atomic_guid: af254e70-dd0e-4de6-9afe-a994d9ea8b62
64 - type: atomic-red-team
65 name: Disable Windows Notification Center
66 technique: T1112
67 atomic_guid: c0d6d67f-1f63-42cc-95c0-5fd6b20082ad
68 - type: atomic-red-team
69 name: Disable Windows Lock Workstation Feature
70 technique: T1112
71 atomic_guid: 3dacb0d2-46ee-4c27-ac1b-f9886bf91a56
72 - type: atomic-red-team
73 name: Disable Windows Change Password Feature
74 technique: T1112
75 atomic_guid: d4a6da40-618f-454d-9a9e-26af552aaeb0
76 - type: atomic-red-team
77 name: Disable Windows Shutdown Button
78 technique: T1112
79 atomic_guid: 6e0d1131-2d7e-4905-8ca5-d6172f05d03d
80regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_disable_function_user/info.yml
References
Related rules
- Activate Suppression of Windows Security Center Notifications
- Add DisallowRun Execution to Registry
- Modification of IE Registry Settings
- Potential Persistence Via Event Viewer Events.asp
- Potential Persistence Via Outlook Home Page