Command Executed Via Run Dialog Box - Registry

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects execution of commands via the run dialog box on Windows by checking values of the "RunMRU" registry key. This technique was seen being abused by threat actors to deceive users into pasting and executing malicious commands, often disguised as CAPTCHA verification steps.

Severity

Attention

Rule Requirement

Criteria

Action1: actionname = "Registry value modified" AND (OBJECTNAME contains "\Microsoft\Windows\CurrentVersion\Explorer\RunMRU" OR (OBJECTNAME endswith "\Microsoft\Windows\CurrentVersion\Explorer" AND OBJECTVALUENAME startswith "RunMRU")) AND OBJECTNAME notendswith "\MRUList" AND (INFORMATION notcontains "ping" AND INFORMATION != "%appdata%\1,%localappdata%\1,%public%\1,%temp%\1,calc\1,dxdiag\1,explorer\1,gpedit.msc\1,mmc\1,notepad\1,regedit\1,services.msc\1,winver\1") select Action1.HOSTNAME,Action1.MESSAGE,Action1.OBJECTNAME,Action1.PROCESSNAME,Action1.PREVVAL,Action1.CHANGES

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Ahmed Farouk, Nasreddine Bencherchali