Detection rules › Sigma

User Added to Local Administrators Group

Severity
medium
Author
Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects addition of users to the local administrator group via "Net" or "Add-LocalGroupMember".

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1098 Account Manipulation
Privilege EscalationT1098 Account Manipulation

Event coverage

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

Stages and Predicates

Stage 1: all of selection_main

or:
CommandLine|contains: ' -Group '
CommandLine|contains: 'Add-LocalGroupMember '
CommandLine|contains: ' /add'
CommandLine|contains: 'localgroup '

Stage 2: all of selection_group

or:
CommandLine|contains: ' administrateur'
CommandLine|contains: ' administrators '

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
  • -Group corpus 3 (sigma 3)
  • /add corpus 5 (sigma 5)
  • administrateur corpus 3 (sigma 3)
  • administrators corpus 2 (sigma 2)
  • Add-LocalGroupMember corpus 3 (sigma 3)
  • localgroup corpus 3 (sigma 3)