Detection rules › Sigma

User Added to Remote Desktop Users Group

Severity
high
Author
Florian Roth (Nextron Systems)
Source
upstream

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

MITRE ATT&CK coverage

TacticTechniques
Initial AccessT1133 External Remote Services
PersistenceT1133 External Remote Services, T1136.001 Create Account: Local Account
Lateral MovementT1021.001 Remote Services: Remote Desktop Protocol

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: 'Remote Desktop Users'
CommandLine|contains: 'Usuarios de escritorio remoto'
CommandLine|contains: 'Utilisateurs du Bureau à distance'

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)
  • Add-LocalGroupMember corpus 3 (sigma 3)
  • Remote Desktop Users corpus 3 (sigma 3)
  • Usuarios de escritorio remoto corpus 3 (sigma 3)
  • Utilisateurs du Bureau à distance corpus 3 (sigma 3)
  • localgroup corpus 3 (sigma 3)