Potential Persistence Via Event Viewer Events.asp

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects potential registry persistence technique using the Event Viewer "Events.asp" technique

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Registry value modified" AND (OBJECTNAME contains "\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgram,\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionURL" OR ((OBJECTNAME endswith "\Microsoft\Windows NT\CurrentVersion\Event Viewer" AND OBJECTVALUENAME startswith "MicrosoftRedirectionProgram") OR (OBJECTNAME endswith "\Microsoft\Windows NT\CurrentVersion\Event Viewer" AND OBJECTVALUENAME startswith "MicrosoftRedirectionURL"))) AND ((PROCESSNAME notendswith "C:\WINDOWS\system32\svchost.exe" OR (OBJECTNAME notendswith "\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgram" AND (OBJECTNAME notendswith "\Microsoft\Windows NT\CurrentVersion\Event Viewer" OR OBJECTVALUENAME != "MicrosoftRedirectionProgram")) OR INFORMATION != "%%SystemRoot%%\PCHealth\HelpCtr\Binaries\HelpCtr.exe") AND (PROCESSNAME notendswith "C:\WINDOWS\system32\svchost.exe" OR (OBJECTNAME notendswith "\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgramCommandLineParameters" AND (OBJECTNAME notendswith "\Microsoft\Windows NT\CurrentVersion\Event Viewer" OR OBJECTVALUENAME != "MicrosoftRedirectionProgramCommandLineParameters")) OR INFORMATION != "-url hcp://services/centers/support?topic=%%s") AND INFORMATION != "http://go.microsoft.com/fwlink/events.asp" AND INFORMATION != "(Empty)") select Action1.HOSTNAME,Action1.MESSAGE,Action1.OBJECTNAME,Action1.PROCESSNAME,Action1.PREVVAL,Action1.CHANGES

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)