Windows: User Added to Local Administrators Group via Net or Add-LocalGroupMember

Flags Windows command lines that add a user to the local administrators group via net.exe or Add-LocalGroupMember.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-08-12
Updated
2026-07-30

ATT&CK techniques

Persistence → Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule identifies attempts to add a user to the local administrators group on Windows using either net.exe (localgroup ... /add) or PowerShell’s Add-LocalGroupMember. Adding accounts to local administrators enables immediate privilege escalation and can establish persistence even without exploiting a vulnerability. It relies on process creation telemetry and matches specific command-line substrings indicating the target group and administrative add action.

Related detections9 linkedT1098 — drag to rearrange
Suspicious Kerberos Constrained Delegation Configuration via msDS-AllowedToDelegateTo
Malicious Domain and Enterprise Admins Group Addition via net group Domain Add (via process_creation)
Suspicious Route53 Domain Transfer Lock Disabled via Scattered Spider Technique
Suspicious Domain Admin Account Creation via net (via process_creation)
Suspicious Guest Account Privilege Escalation (via process_creation)
Suspicious Login Shell Assigned to Service Account games on Linux
Suspicious dMSA Object Access with Migration AccessMask
Windows HackTool Execution: GoldenDMSA.exe Launch with Directory Manipulation Parameters
Suspicious Compute Instance Metadata Modification in GCP
Windows: User Added to Local Administrators Group via Net or Add-LocalGroupMember
Pivot detection · T1098 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.