Built-in Accounts and Privileged Accounts: Taxonomy and Scope
Concept
Section titled βConceptβThe Windows operating system and Active Directory provide built-in accounts and privileged security groups configured out-of-the-box to facilitate bootstrapping, system maintenance, and core service operations.
These principals operate with strict boundaries defined by their execution context (local host vs forest-wide).
Why This Matters in DFIR
Section titled βWhy This Matters in DFIRβPrivileged principals represent the primary objectives for adversaries advancing along the attack chain:
- Abuse of Built-in Service Identities: Services running under
NETWORK SERVICEorLOCAL SERVICEare frequently targeted for local privilege escalation (Potato exploits) abusingSeImpersonatePrivilegeto reachSYSTEM. - Stealthy Tier-1 and Tier-0 Lateral Movement: Attackers do not always add themselves to
Domain Admins. They frequently target secondary privileged groups such asAccount Operators,Backup Operators(grantingntds.dittheft viaSeBackupPrivilege), orDnsAdmins. - Infrastructure Identity Persistence: The
krbtgtaccount (RID502) is the core Kerberos service account. Extracting its password hash allows for unconstrained Golden Ticket creation.
How It Works
Section titled βHow It Worksβ1. Operating System Built-in Service Accounts
Section titled β1. Operating System Built-in Service AccountsβEvery Windows system includes three non-interactive service accounts:
| Principal | SID | Password Handling | Network Identity | Key Privileges |
|---|---|---|---|---|
SYSTEM (LocalSystem) | S-1-5-18 | Managed by OS kernel | Authenticates as the computer account (COMPUTER$) | Full local OS privileges (SeDebug, SeTcb, SeImpersonate) |
LOCAL SERVICE | S-1-5-19 | None (internal context) | Anonymous / Null Session only | Highly restricted local privileges |
NETWORK SERVICE | S-1-5-20 | None (internal context) | Authenticates as the computer account (COMPUTER$) | Restricted local privileges, authenticated network reach |
2. Active Directory Privileged Groups Hierarchy
Section titled β2. Active Directory Privileged Groups Hierarchyβ βββββββββββββββββββββββββββββββββ β Enterprise Admins β (Entire Forest) βββββββββββββββββ¬ββββββββββββββββ β βββββββββββββββββΌββββββββββββββββ β Domain Admins β (Specific Domain) βββββββββββββββββ¬ββββββββββββββββ β βββββββββββββββββΌββββββββββββββββ β BUILTIN\Administrators β (Local Machine or DC) βββββββββββββββββββββββββββββββββEnterprise Admins(RID519): Exists only in the forest root domain. Holds absolute authority over forest schema, configuration, and all child domains.Domain Admins(RID512): Administrative group for a specific domain. By default, added to the localAdministratorsgroup of every domain-joined workstation and server.Administrators(RID544,S-1-5-32-544): Local group present on every Windows OS. On a DC, this group manages the DC itself.Backup Operators(RID551): HoldsSeBackupPrivilegeandSeRestorePrivilege, permitting physical copies ofntds.ditregardless of directory ACLs.Account Operators(RID548): Can create and modify accounts across the domain (outside protected groups).
What Is Possible
Section titled βWhat Is Possibleβ- Domain Theft via
Backup Operators: An analyst must recognize that membership inBackup Operatorsenables complete domain credential theft withoutDomain Adminsmembership. - Pivoting as
COMPUTER$fromSYSTEM: If an application service runs asLocalSystem, outbound SMB/RPC requests present the machineβs domain credentials (APP01$). - Enforcing Modern Guardrails: Placing accounts in the
Protected Usersgroup disables NTLM caching in LSASS and prevents unconstrained delegation.
What Is Not Possible
Section titled βWhat Is Not Possibleβ- Direct Schema Modification by Child Domain Admins: Modifying the forest schema requires membership in
Schema Adminsin the forest root. - Network Impersonation via
LOCAL SERVICE: UnlikeNETWORK SERVICEandSYSTEM, it cannot presentCOMPUTER$credentials over the wire. - Permanent ACL Tampering on Protected Accounts: The
SDPropbackground system process periodically overwrites modified ACLs on protected principals using theAdminSDHoldertemplate.
Forensic Artifacts
Section titled βForensic ArtifactsβEventID: 4672 # Special Privileges Assigned to New LogonSubjectUserName: operator1SubjectUserSid: S-1-5-21-111111111-222222222-333333333-1108PrivilegeList: SeBackupPrivilege SeRestorePrivilege SeSecurityPrivilege
EventID: 4728 # Member Added to Security GroupTargetUserName: Domain AdminsTargetSid: S-1-5-21-111111111-222222222-333333333-512MemberSid: S-1-5-21-111111111-222222222-333333333-1190Key Takeaways
Section titled βKey TakeawaysβSYSTEMis not an Active Directory account: on the network, it acts asCOMPUTER$.Backup Operatorsis functionally equivalent toDomain Adminsdue tontds.ditaccess.Enterprise Adminsis the sole true forest-wide security boundary.- Monitoring Event ID 4672 reveals high-privilege token generation.