Shell Context Menu Command Tampering

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects changes to shell context menu commands. Use this rule to hunt for potential anomalies and suspicious shell commands.

Severity

Attention

Rule Requirement

Criteria

Action1: actionname = "Registry value modified" AND (OBJECTNAME contains "\Software\Classes" AND OBJECTNAME contains "\shell" AND OBJECTNAME contains "\command") OR ((OBJECTNAME endswith "\Software\Classes" AND isExist(OBJECTVALUENAME)) OR (OBJECTNAME endswith "\shell" AND isExist(OBJECTVALUENAME)) OR (OBJECTNAME endswith "\command" AND isExist(OBJECTVALUENAME))) 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)