Suspicious Remove Account From Domain Admin Group (via ps_script)

This rule detects threat actors may interrupt availability of system and network resources by inhibiting access to accounts used by legitimate users. Accounts may be deleted, locked, or manipulated (ex: changed credentials) to remove access to accounts.

SigmamediumWindowsv1
sigma
title: Suspicious Remove Account From Domain Admin Group (via ps_script)
id: 32319fa2-5673-56a4-b019-1abe2b0ce11a
status: stable
description: 'This rule detects threat actors may interrupt availability of system and network resources by inhibiting access to accounts used by legitimate users. Accounts may be deleted, locked, or manipulated (ex: changed credentials) to remove access to accounts.'
references:
    - https://attack.mitre.org/techniques/T1531/
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1531/T1531.md#atomic-test-3---remove-account-from-domain-admin-group
author: Huntrule Team
date: 2026-06-28
tags:
    - attack.impact
    - attack.t1531
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection:
        ScriptBlockText|contains|all:
            - 'Remove-ADGroupMember'
            - '-Identity '
            - '-Members '
    condition: selection
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

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