Join our Newsletter — 33% off our NHI Course
Home› Guides› Windows Well-Known SIDs Security Reference: Which SIDs Signal…
Guide Identity & Access Management (IAM)

Windows Well-Known SIDs Security Reference: Which SIDs Signal Privilege and How to Watch Them

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 13 min read
On this page

Windows makes every access decision on security identifiers, not names, so a defender who cannot read a SID cannot tell whether a log line or an ACL entry means trouble. Names can be renamed, localised or spoofed in display fields; the SID S-1-5-32-544 always means the built-in Administrators group, and a domain SID ending in 512 always means Domain Admins. This reference explains how to read a SID, lists the well-known SIDs and domain RIDs that matter for security, and shows which ones signal privilege in ACLs, group changes and logon events. It is written for Windows and Active Directory administrators, detection engineers and DFIR analysts. Every value comes from Microsoft's own documentation.

Key takeaways

  • Match on SIDs, not names. Accounts such as Administrator can be renamed but keep their SID, and group names differ by language, so detections keyed on names miss events.
  • The last number is the RID. In a domain SID, the RID identifies the account or group, so S-1-5-21-...-512 is Domain Admins in whichever domain the prefix names.
  • A short list signals privilege. RIDs 500, 502, 512, 518, 519, 520, 526 and 527 plus built-in groups S-1-5-32-544, 548, 549, 550 and 551 deserve alerting on any membership change.
  • SID history grants access silently. Any SID in an account's SIDHistory attribute can allow access, so a privileged SID added there acts like group membership that does not show in group lists.
  • Service identities are SIDs too. LocalSystem (S-1-5-18) carries the Administrators SID in its token, which is why services and their accounts belong in the same privilege review as people.

What SIDs are and how to read them

Microsoft describes a SID in string form as S-R-X-Y1-Y2-...-Yn. S marks the string as a SID, R is the revision level, X is the identifier authority and the Y values are subauthorities. In a domain or machine SID, every subauthority except the last forms the domain identifier, and the last value is the relative identifier (RID). Microsoft states that no two accounts or groups in a domain share the same RID.

Identifier authorityValueSID prefixWhat you see it on
SECURITY_NULL_SID_AUTHORITY0S-1-0Null SID, a group with no members
SECURITY_WORLD_SID_AUTHORITY1S-1-1World (Everyone), S-1-1-0
SECURITY_LOCAL_SID_AUTHORITY2S-1-2Local and Console Logon
SECURITY_CREATOR_SID_AUTHORITY3S-1-3Creator Owner, Creator Group and Owner Rights placeholders in ACEs
SECURITY_NT_AUTHORITY5S-1-5Built-in groups, service identities, domain and local accounts
SECURITY_AUTHENTICATION_AUTHORITY18S-1-18Authentication assertion SIDs

Three shapes cover most of what you will meet in logs:

  • Fixed well-known SIDs: the same on every Windows machine, such as S-1-5-18 (System) or S-1-5-32-544 (Administrators). The 32 subauthority marks the built-in domain.
  • Domain and machine SIDs: S-1-5-21 followed by three subauthorities unique to the domain or computer, then a RID. Well-known RIDs such as 500 and 512 sit at the end.
  • Capability and service SIDs: capability SIDs start with S-1-15-3 and grant Universal Windows apps access to resources; NT Service SIDs start with S-1-5-80 and identify individual services.

When reading an ACL or an event, take the domain identifier first: a privileged RID on a SID from a domain you do not recognise, or from a different forest, needs a different response from the same RID in your own domain.

Well-known SIDs table

The table lists the fixed SIDs most relevant to security work, with Microsoft's display names. The security note column is NHI Mgmt Group's reading of why each one matters.

SIDNameSecurity note
S-1-0-0Null SIDGroup with no members; often used when a SID value is not known
S-1-1-0World (Everyone)All users; write or full control for this SID on a share, file or AD object is a finding
S-1-5-7Anonymous LogonConnections with no user name and password; review any ACE granting it access
S-1-5-9Enterprise Domain ControllersAll domain controllers in the forest; replication rights normally sit here
S-1-5-11Authenticated UsersAuthenticated users and computers from any trusted domain, so broader than many admins assume
S-1-5-18System (LocalSystem)Hidden member of Administrators; on the network it uses the computer's domain identity
S-1-5-19LocalServiceOrdinary local user rights, anonymous on the network
S-1-5-20NetworkServiceOrdinary local user rights, uses the computer identity on the network
S-1-5-80-0All ServicesAll service processes; membership is controlled by the operating system
S-1-5-113Local accountUse in "Deny access to this computer from the network" to block local accounts by type
S-1-5-114Local account and member of Administrators groupBlocks network sign-in by local administrators regardless of account name
S-1-5-32-544AdministratorsFull control of the machine; on domain controllers, of the domain
S-1-5-32-545UsersStandard users; unexpected ACEs here are broad exposure
S-1-5-32-546GuestsShould be empty or tightly controlled
S-1-5-32-548Account OperatorsExists only on DCs; can create, modify and delete most users, groups and computers
S-1-5-32-549Server OperatorsExists only on DCs; can sign in interactively, start and stop services, back up and restore files
S-1-5-32-550Print OperatorsExists only on DCs; manages printers and queues; a protected group
S-1-5-32-551Backup OperatorsCan back up and restore all files regardless of the permissions protecting them
S-1-5-32-554Pre-Windows 2000 Compatible AccessRead access to all users and groups in the domain; review membership
S-1-5-32-555Remote Desktop UsersGrants Remote Desktop sign-in
S-1-5-32-562Distributed COM UsersComputer-wide DCOM launch and activation access
S-1-5-32-578Hyper-V AdministratorsComplete and unrestricted access to all Hyper-V features
S-1-5-32-580Remote Management UsersRemote management access to the computer

Microsoft's full table also covers logon-type SIDs such as S-1-5-2 (Network), S-1-5-4 (Interactive) and S-1-5-14 (Remote Interactive Logon), and authentication package SIDs such as S-1-5-64-10 (NTLM Authentication). These appear in access tokens and help explain how a session was created.

Well-known domain RIDs (500, 512, 518, 519)

Domain RIDs are appended to the domain identifier. Schema Admins, Enterprise Admins and Key Admins exist only in the forest root domain, so Microsoft writes their SIDs with the root domain identifier.

RIDAccount or groupScopeProtected (AdminSDHolder)Why it matters
500AdministratorEvery domain and every computerYesCannot be deleted, disabled or locked out, only renamed; always detectable by RID
501GuestEvery domain and computerNoShould stay disabled
502KRBTGTDomain controllers onlyYesUsed by the KDC; its key signs Kerberos tickets. See krbtgt account
512Domain AdminsDomainYesMember of Administrators on every domain-joined computer by default
513Domain UsersDomainNoAll user accounts; a privileged ACE here exposes everyone
515Domain ComputersDomainNoAll computers in the domain
516Domain ControllersDomainYesAll DCs; a non-DC member is a red flag
517Cert PublishersDomainNoComputers running AD Certificate Services
518Schema AdminsForest rootYesCan modify the AD schema; should be empty except during change windows
519Enterprise AdminsForest rootYesFull access to all domains in the forest
520Group Policy Creator OwnersDomainNoCan create Group Policy Objects, which can push code to computers
521Read-only Domain ControllersDomainYesAll RODCs
525Protected UsersDomainNoExtra protections against credential theft; a group to add admins to, not remove them from
526Key AdminsForest rootYesTrusted to modify key credential attributes
527Enterprise Key AdminsDomainYesEnterprise-level counterpart of Key Admins for key credential administration
553RAS and IAS ServersDomainNoServers that read remote access properties of users
571 / 572Allowed / Denied RODC Password Replication GroupDomainNoControls which passwords RODCs may cache

The protected column follows Microsoft's Appendix C list, which also includes the built-in Administrators, Account Operators, Backup Operators, Print Operators, Server Operators and Replicator groups.

Privileged SIDs to monitor

Group Policy and AD tooling resolve names, but alerting should be keyed on SIDs. A practical watch list has three tiers.

  • Tier 0 groups: -512, -518, -519, -526, -527, -516, S-1-5-32-544 on domain controllers, and S-1-5-9. Any membership change outside an approved change is an incident until proven otherwise. See the Tiered Administration and Enterprise Access Model Guide.
  • Operator groups: S-1-5-32-548, 549, 550 and 551. Microsoft documents that Account, Server and Backup Operators have no members by default; keep it that way unless a documented need exists. Backup Operators can back up and restore all files regardless of their permissions, which on a DC includes directory data.
  • Delegation and policy: -520 Group Policy Creator Owners and any account holding replication rights on the domain head. See How to Find Accounts With DCSync Rights in Active Directory and Remove Them.

Protected groups and AdminSDHolder

Microsoft's SDProp process runs every 60 minutes by default on the PDC emulator and resets the permissions of every protected account and group to match the AdminSDHolder object in CN=System. Inheritance is disabled on those objects. Two consequences matter for SID-based monitoring: an ACE added to AdminSDHolder spreads to every protected object within the hour, and a SID granted rights there gains persistent control that is easy to miss. Full mechanics are in the AdminSDHolder, SDProp and Protected Groups Guide.

Where identity fits

Service identities are where SIDs and non-human identity meet. A service running as S-1-5-18 has the Administrators SID in its token and acts as the computer account on the network, so it is effectively a privileged machine identity. Prefer NetworkService, LocalService, virtual service accounts under S-1-5-80, or a group managed service account for anything that does not need full local control. See the Group Managed Service Accounts (gMSA) Guide and How to find service accounts with Domain Admin rights.

SID history and abuse

When a user moves between domains, Windows gives it a new SID and copies the old one into the multi-valued SIDHistory attribute. Microsoft states that any SID in the access token, including one from SIDHistory, can allow or deny access. That is what makes migrations work, and also why a privileged SID in SIDHistory is so dangerous: the account gains the rights of that SID without appearing in the group's member list. MITRE ATT&CK tracks the abuse as T1134.005 SID-History Injection.

ControlWhat it doesWhere set
SID filtering (quarantine)With quarantine set to Yes, a trusting domain accepts only SIDs from the directly trusted domain; No accepts any SIDTrust properties; netdom trust /quarantine
SID history on forest trustsAllows or blocks migrated users in the trusted forest from using SID history; Microsoft advises enabling it only if you trust that forest's administratorsnetdom trust /enablesidhistory, outbound forest trusts only
Clean-up after migrationRemoves SIDHistory values once resources are re-permissioned, which removes the hidden access pathAccount attributes, as part of migration close-out
AuditEvent 4765 records SID history added to an account, with the SID List fieldAudit User Account Management on DCs

Trust types and their default filtering behaviour are covered in the Active Directory Trusts and SID Filtering Guide.

Using SIDs in detection

Windows security events carry SIDs in dedicated fields, which makes them stable keys for detection rules. The Active Directory Security Monitoring and Event IDs Guide covers the full event set; the table below focuses on SID fields.

EventTitleAudit subcategorySID fieldsAlert on
4672Special privileges assigned to new logonAudit Special LogonSubjectUserSidAny subject other than S-1-5-18, S-1-5-19, S-1-5-20 and expected admin accounts
4732A member was added to a security-enabled local groupAudit Security Group ManagementMemberSid, TargetSid, SubjectUserSidTargetSid S-1-5-32-544, 548, 549, 550, 551
4728A member was added to a security-enabled global groupAudit Security Group ManagementMemberSid, TargetSid, SubjectUserSidTargetSid ending -512, -520
4756A member was added to a security-enabled universal groupAudit Security Group ManagementMemberSid, TargetSid, SubjectUserSidTargetSid ending -519, -518, -527
4765SID History was added to an accountAudit User Account ManagementSource and target account SIDs, SID ListEvery occurrence outside a planned migration
4766An attempt to add SID History to an account failedAudit User Account ManagementTarget account SIDEvery occurrence

Microsoft's monitoring advice for 4732 is to watch high-value groups such as the built-in Administrators, Domain Admins and Enterprise Admins, and high-value accounts by Subject and Member Security ID. For 4672 it advises flagging subjects that are not LOCAL SYSTEM, NETWORK SERVICE or LOCAL SERVICE and are not expected administrators.

Rolling out SID-based detections

  1. Enable the Audit Security Group Management, Audit User Account Management and Audit Special Logon subcategories on domain controllers and servers through advanced audit policy.
  2. Build a lookup of your domain identifiers and the privileged RIDs and built-in SIDs in this page, and enrich events with it in the SIEM.
  3. Run new rules in report-only mode for two weeks against change tickets to remove expected noise, such as onboarding automation.
  4. Promote Tier 0 rules to paging alerts, and route operator group and 4672 anomalies to triage queues.
  5. Scan ACLs on AdminSDHolder, the domain head and GPOs for S-1-1-0, S-1-5-11 and -513 with write rights, and for unknown foreign domain SIDs.
  6. Review rule hits quarterly and retire or tune rules rather than disabling the audit subcategory; rollback means lowering severity, never turning off collection.

Metrics

  • Tier 0 membership: count of members of -512, -518, -519 and S-1-5-32-544 on DCs, trending down and stable.
  • Operator groups: number of non-empty groups among S-1-5-32-548 to 551.
  • SIDHistory residue: accounts still holding SIDHistory values after migration close-out.
  • Unapproved changes: privileged group additions without a matching change ticket.
  • Service accounts in privileged groups: non-human accounts holding -512 or S-1-5-32-544 membership.

Common failure patterns

  • Name-based rules: alerting on "Domain Admins" by name, which misses localised systems and renamed groups.
  • Ignoring the domain identifier: treating any -512 as yours, so a foreign SID in an ACL passes review.
  • Forgotten SIDHistory: migrations that never clean up, leaving privileged hidden access for years.
  • Populated operator groups: Backup Operators and Server Operators used as convenient admin-lite groups on DCs.
  • Everyone and Authenticated Users with write: broad SIDs granted modify rights on GPO folders or AD objects during troubleshooting and never removed.

Framework mapping

FrameworkReferenceRelevance
MITRE ATT&CKT1134.005 SID-History Injection; T1098 Account Manipulation; T1078.002 Domain AccountsHidden privilege and group changes keyed on SIDs
NIST SP 800-53 Rev. 5AC-2 Account Management; AC-6 Least Privilege; AU-6 Audit Record Review, Analysis, and ReportingPrivileged group control and monitoring
NIST CSF 2.0PR.AA-05; DE.CM-03Least privilege and monitoring of account activity

Practitioner checklist

  • Record your forest's domain identifiers and build a SID lookup for privileged RIDs and built-in groups.
  • Rewrite name-based detections to key on TargetSid and SubjectUserSid.
  • Alert on every membership change to -512, -518, -519, -526, -527 and S-1-5-32-544 on DCs.
  • Empty Account, Server, Print and Backup Operators unless a documented need exists.
  • Audit SIDHistory across all accounts and remove values left from finished migrations.
  • Confirm quarantine (SID filtering) on external trusts and SID history settings on forest trusts.
  • Review the AdminSDHolder ACL for unexpected SIDs at least quarterly.
  • Move services off S-1-5-18 where they do not need full local control.

Standards and references

Related NHI Mgmt Group resources: AdminSDHolder, SDProp and Protected Groups Guide · Active Directory Trusts and SID Filtering Guide · Active Directory Security Monitoring and Event IDs Guide · Tiered Administration and Enterprise Access Model Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.