Detection rules › Sigma

Potential Persistence Via Logon Scripts - CommandLine

Severity
high
Author
Tom Ueltschi (@c_APT_ure)
Source
upstream

Detects the addition of a new LogonScript to the registry value "UserInitMprLogonScript" for potential persistence

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1037.001 Boot or Logon Initialization Scripts: Logon Script (Windows)
Privilege EscalationT1037.001 Boot or Logon Initialization Scripts: Logon Script (Windows)

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: selection

CommandLine|contains: UserInitMprLogonScript

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • UserInitMprLogonScript