Windows PowerShell Script: Remove Account From Domain Admin Group via Remove-ADGroupMember

Alerts on PowerShell commands removing specified members via Remove-ADGroupMember, potentially disrupting Domain Admin access.

FreeReviewedSigma · Medium · v2
Product
windows
Category
ps_script
Author
frack113 (SigmaHQ), DRL 1.1
Published
2021-12-26
Updated
2026-07-31

ATT&CK techniques

Impact
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

What it detects

This rule flags PowerShell script block content that calls Remove-ADGroupMember while specifying an Identity and Members parameter, indicating an attempt to remove an account from a domain admin group. Reducing or altering privileged group membership can disrupt administrative access and availability for legitimate users. It relies on Script Block Logging telemetry to capture the relevant PowerShell command text in Windows.

Related detections9 linkedT1531 — drag to rearrange
Suspicious Account Disable via net user active no (via process_creation)
AWS IAM SAML Provider Deletion via CloudTrail
Linux userdel Execution: User Account Deletion via userdel
Linux groupdel Executed to Delete a User Group
Windows Security Logoff Events (Event ID 4634/4647)
Okta User Account Lockout Triggered by Max Sign-In Attempts
Google Cloud: Service Account Disabled or Deleted via IAM Audit Events
Azure Kubernetes Service Service Account Modified or Deleted Activity Log Events
AWS ElastiCache Cache Security Group Modified or Deleted via CloudTrail
Windows PowerShell Script: Remove Account From Domain Admin Group via Remove-ADGroupMember
Pivot detection · T1531 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

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