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
11author: frack113, Nasreddine Bencherchali (Nextron Systems), CrimpSec
12date: 2022-03-18
13modified: 2023-11-20
14tags:
15    - attack.defense-evasion
16    - attack.t1112
17logsource:
18    category: registry_set
19    product: windows
20detection:
21    selection_set_1:
22        TargetObject|endswith:
23            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\StartMenuLogOff'
24            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableChangePassword'
25            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableLockWorkstation'
26            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools'
27            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskmgr'
28            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\NoDispBackgroundPage'
29            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\NoDispCPL'
30            - 'SOFTWARE\Policies\Microsoft\Windows\Explorer\DisableNotificationCenter'
31            - 'SOFTWARE\Policies\Microsoft\Windows\System\DisableCMD'
32        Details: 'DWORD (0x00000001)'
33    selection_set_0:
34        TargetObject|endswith:
35            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin'
36            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\shutdownwithoutlogon'
37            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications\ToastEnabled'
38            - 'SYSTEM\CurrentControlSet\Control\Storage\Write Protection'
39            - 'SYSTEM\CurrentControlSet\Control\StorageDevicePolicies\WriteProtect'
40        Details: 'DWORD (0x00000000)'
41    condition: 1 of selection_set_*
42falsepositives:
43    - Legitimate admin script
44level: medium

References

Related rules

to-top