Detection rules › Sigma

Run Once Task Execution as Configured in Registry

Severity
low
Author
Avneet Singh @v3t0_, oscd.community, Christopher Peacock @SecurePeacock (updated)
Source
upstream

This rule detects the execution of Run Once task as configured in the registry

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1112 Modify Registry
Defense EvasionT1112 Modify Registry

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_img

or:
Description: 'Run Once Wrapper'
Image|endswith: '\runonce.exe'

Stage 2: all of selection_cli

or:
CommandLine|endswith: '/r'
CommandLine|contains: '/AlternateShellStartup'

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
CommandLineends_with
  • /r
CommandLinematch
  • /AlternateShellStartup
Descriptioneq
  • Run Once Wrapper
Imageends_with
  • \runonce.exe corpus 4 (sigma 4)