Detection rules › Sigma

New Service Creation Using PowerShell

Severity
low
Author
Timur Zinniatullin, Daniil Yugoslavskiy, oscd.community
Source
upstream

Detects the creation of a new service using powershell.

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1543.003 Create or Modify System Process: Windows Service
Privilege EscalationT1543.003 Create or Modify System Process: Windows Service

Event coverage

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

Stages and Predicates

Stage 1: selection

CommandLine|contains: -BinaryPathName
CommandLine|contains: New-Service

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
  • -BinaryPathName corpus 2 (sigma 2)
  • New-Service corpus 2 (sigma 2)