Disable Internal Tools or Feature in Registry

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects registry modifications that change features of internal Windows tools (malware like Agent Tesla uses this technique)

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Registry value modified" AND ((OBJECTNAME endswith "SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisableCMD,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoControlPanel,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRun,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\StartMenuLogOff,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableChangePassword,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableLockWorkstation,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskmgr,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\NoDispBackgroundPage,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\NoDispCPL,SOFTWARE\Policies\Microsoft\Windows\Explorer\DisableNotificationCenter,SOFTWARE\Policies\Microsoft\Windows\System\DisableCMD" OR (OBJECTNAME endswith "SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,SOFTWARE\Policies\Microsoft\Windows\Explorer,SOFTWARE\Policies\Microsoft\Windows\System" AND OBJECTVALUENAME = "DisableCMD,NoControlPanel,NoRun,StartMenuLogOff,DisableChangePassword,DisableLockWorkstation,DisableRegistryTools,DisableTaskmgr,NoDispBackgroundPage,NoDispCPL,DisableNotificationCenter,DisableCMD")) AND (INFORMATION = "DWORD (0x00000001)" OR (CHANGES = 1 AND NEWTYPE = "REG_DWORD"))) OR ((OBJECTNAME endswith "SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin,Software\Microsoft\Windows\CurrentVersion\Policies\System\InactivityTimeoutSecs,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\shutdownwithoutlogon,SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications\ToastEnabled,SYSTEM\CurrentControlSet\Control\Storage\Write Protection,SYSTEM\CurrentControlSet\Control\StorageDevicePolicies\WriteProtect" OR (OBJECTNAME endswith "SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,Software\Microsoft\Windows\CurrentVersion\Policies\System,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications,SYSTEM\CurrentControlSet\Control\Storage,SYSTEM\CurrentControlSet\Control\StorageDevicePolicies" AND OBJECTVALUENAME = "ConsentPromptBehaviorAdmin,InactivityTimeoutSecs,shutdownwithoutlogon,ToastEnabled,Write Protection,WriteProtect")) AND (INFORMATION = "DWORD (0x00000000)" OR (CHANGES = 0 AND NEWTYPE = "REG_DWORD"))) select Action1.HOSTNAME,Action1.MESSAGE,Action1.OBJECTNAME,Action1.PROCESSNAME,Action1.PREVVAL,Action1.CHANGES

Detection

Execution Mode

realtime

Log Sources

Windows

Author

frack113, Nasreddine Bencherchali (Nextron Systems), CrimpSec