Sigma rule: Manipulation of User Computer or Group Security Principals Across AD

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-c6d92fdb368e, updated 2021-12-28T00:00:00.000Z.

Rule

Title
Manipulation of User Computer or Group Security Principals Across AD
Status
test
Level
medium
Author
frack113
Date
2021-12-28
File
rules/windows/powershell/powershell_script/posh_ps_directoryservices_accountmanagement.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Adversaries may create a domain account to maintain access to victim systems.
Domain accounts are those managed by Active Directory Domain Services where access and permissions are configured across systems and services that are part of that domain..

Log source

product
windows
category
ps_script
definition
Requirements: Script Block Logging must be enabled

Detection

selection:
    ScriptBlockText|contains: System.DirectoryServices.AccountManagement
condition: selection

False positives (as the rule lists them)

  • Legitimate administrative script

Tags

  • attack.persistence
  • attack.t1136.002

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_directoryservices_accountmanagement.yml

Sources and licences

  • SigmaHQ

    "Manipulation of User Computer or Group Security Principals Across AD" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_directoryservices_accountmanagement.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Manipulation of User Computer or Group Security Principals Across AD",
entity page, dataset version ref-c6d92fdb368e, updated 2021-12-28T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b29a93fb-087c-4b5b-a84d-ee3309e69d08 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b29a93fb-087c-4b5b-a84d-ee3309e69d08, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.