1. Resources
  2. Detection sources
  3. Event ID 4672

Event ID 4672: Special privileges assigned to new logon

Written on the computer that creates a logon session when the session receives a sensitive privilege, such as debug programs, backup or act as part of the operating system. Every SYSTEM logon produces it, and so do administrators' logons.

Log source
Windows Security log
Detection value
Supporting
Volume
High (estimate)
Last updated
Audit subcategory
Audit Special Logon (Logon/Logoff, Success)
Logged on
All Windows computers
Event versions
0
Detects
1 attack (1 detection logic)
MITRE ATT&CK
1 technique in 2 tactics

When it is written

Windows writes 4672 for a new logon when the session is assigned any of the sensitive privileges Microsoft lists for this event, among them SeDebugPrivilege (debug programs), SeTcbPrivilege (act as part of the operating system), SeBackupPrivilege and SeRestorePrivilege, SeTakeOwnershipPrivilege, SeLoadDriverPrivilege, SeImpersonatePrivilege, SeSecurityPrivilege and SeEnableDelegationPrivilege. It is written on the computer where the session is created, and its Logon ID is the new session's, so it joins to the 4624 of the same logon on the same computer. Only a success form exists: the subcategory has no failure events.

The privileges come from the token, which lists the privileges held by the account or by its groups, so an administrator's logon produces the event. The token also carries the SIDs in the account's sIDHistory, which is why the library's SID-History Injection detection logic reads 4672 on domain controllers: an account that receives these privileges without any administrative membership that explains them.

How to turn it on

Advanced audit policy subcategory Audit Special Logon, Success. Set it in a Group Policy object linked to the computers that write the event:

Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Logon/Logoff > Audit Special Logon
Microsoft's recommendation per computer role
ComputerAuditNote
Domain controllersSuccessMicrosoft's general and stronger baselines both recommend Success auditing. Microsoft calls the subcategory very important because of Special Groups, which needs Success auditing to work, and notes that it also tracks logon sessions that receive sensitive privileges. It has no failure events, so there is no Failure recommendation.
Member serversSuccessMicrosoft's general and stronger baselines both recommend Success auditing. Microsoft calls the subcategory very important because of Special Groups, which needs Success auditing to work, and notes that it also tracks logon sessions that receive sensitive privileges. It has no failure events, so there is no Failure recommendation.
WorkstationsSuccessMicrosoft's general and stronger baselines both recommend Success auditing. Microsoft calls the subcategory very important because of Special Groups, which needs Success auditing to work, and notes that it also tracks logon sessions that receive sensitive privileges. It has no failure events, so there is no Failure recommendation.
Check the current setting
auditpol /get /subcategory:"Special Logon"
Based on vendor documentation.
Turn it on (local policy; a domain GPO overrides it)
auditpol /set /subcategory:"Special Logon" /success:enable
Based on vendor documentation.
The same on a Windows in another display language
auditpol /get /subcategory:"{0CCE921B-69AE-11D9-BED3-505054503030}"
Based on vendor documentation.

Run the commands in an elevated prompt on a computer that writes the event. Subcategory settings take effect only when the security option Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings is enabled (the default), and a Group Policy object that sets advanced audit policy replaces local changes at its next refresh. Microsoft's advanced audit policy reference

Fields

In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.

FieldWhat it holdsSince
Security IDSubjectUserSidSubjectSID of the account the privileges were assigned to (Security ID), the account of the new session. Event Viewer resolves it to a name. S-1-5-18 is SYSTEM.v0
Account NameSubjectUserNameSubjectName of that account. Computer accounts end with $.v0
Account DomainSubjectDomainNameSubjectDomain or computer name of the account, as a NetBIOS or DNS name in either case; NT AUTHORITY for well-known principals such as SYSTEM; the computer's name for a local account.v0
Logon IDSubjectLogonIdSubjectLogon ID of the new session, in hexadecimal. The 4624 of the same logon on this computer carries the same value as its TargetLogonId, with the logon type and the source.v0
PrivilegesPrivilegeListSubjectSensitive privileges assigned to the session (Privileges), by their constant names; in the XML they are separated by spaces, as in Microsoft's example. Microsoft's event page lists thirteen privileges that can appear.v0

Values to know

Security ID SubjectUserSid

ValueMeaningSignal
S-1-5-18SYSTEM (Local System)Every SYSTEM logon produces the event; Microsoft's recommendation leaves it out.Noise
S-1-5-19 or S-1-5-20LOCAL SERVICE or NETWORK SERVICEBuilt-in service accounts, also left out by Microsoft's recommendation.Noise
An account on your list of administratorsAn expected administrative logonExpected
Any other accountAdministrator-level privileges that no expected membership explainsWhat the SID-History Injection detection logic reports. Read the account's sIDHistory, its group memberships and the user rights of the computer. Accounts granted these rights directly, such as backup software, appear too and belong on the list.Attack signal

Privileges PrivilegeList

ValueMeaningSignal
SeDebugPrivilegeDebug programsAccess to the memory of other accounts' processes and the kernel. Microsoft recommends granting it to Administrators only.Worth knowing
SeTcbPrivilegeAct as part of the operating systemMicrosoft notes that it lets a process impersonate any user without authentication.Worth knowing
SeBackupPrivilege or SeRestorePrivilegeBack up or restore files and directoriesRead or write any file whatever its permissions. Expected for backup accounts and administrators.Worth knowing
SeEnableDelegationPrivilegeEnable computer and user accounts to be trusted for delegationLets the holder mark accounts as trusted for delegation, given write access to their account control flags.Worth knowing

Volume and noise

Microsoft notes that you will typically see many of these events, because every logon of the SYSTEM account produces one, and rates the Special Logon subcategory's volume as low on client computers and medium on domain controllers and network servers. Expect SYSTEM (S-1-5-18) at service starts and other system activity, administrators signing in and connecting over the network, management and monitoring accounts that hold administrative rights, and backup software whose account holds the backup and restore rights.

Keeping it manageable

  • Leave out S-1-5-18 (SYSTEM), S-1-5-19 (LOCAL SERVICE) and S-1-5-20 (NETWORK SERVICE): Microsoft's monitoring recommendation excludes them, and every SYSTEM logon adds an event.
  • Keep every other event on domain controllers: the SID-History Injection detection logic compares each account that receives these privileges with your list of expected administrators, so it needs all of them.
  • Keep that list current: the direct and nested members of the administrative groups and the service accounts granted these rights by policy. A new administrator who is not on it shows up as a finding.
  • Join to 4624 through the Logon ID (SubjectLogonId here, TargetLogonId there) for the logon type and the source address.
  • If some privileges should stay with very few accounts (Microsoft names SeDebugPrivilege), search PrivilegeList for them.

Sample event

Version 0, with made-up values.

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
    <EventID>4672</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>12548</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
    <EventRecordID>1048576</EventRecordID>
    <Correlation />
    <Execution ProcessID="712" ThreadID="2408" />
    <Channel>Security</Channel>
    <Computer>DC01.corp.example.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1108</Data>
    <Data Name="SubjectUserName">adm-alice</Data>
    <Data Name="SubjectDomainName">CORP</Data>
    <Data Name="SubjectLogonId">0x3a5c21f</Data>
    <Data Name="PrivilegeList">SeSecurityPrivilege SeBackupPrivilege SeRestorePrivilege SeTakeOwnershipPrivilege SeDebugPrivilege SeSystemEnvironmentPrivilege SeLoadDriverPrivilege SeImpersonatePrivilege SeEnableDelegationPrivilege</Data>
  </EventData>
</Event>

Attacks this event reveals

Detection logic (hypotheses that join this event with others) for:

Frequently asked questions

Why are there so many 4672 events for SYSTEM?

Microsoft notes that every logon of the SYSTEM account produces the event, because SYSTEM holds sensitive privileges. Its monitoring recommendation leaves out SYSTEM, LOCAL SERVICE and NETWORK SERVICE, and administrative accounts expected to hold the privileges, and watches every other account.

What does event 4672 tell me about an account?

That its new logon session received at least one of the sensitive privileges Microsoft lists, which in practice means administrator-level rights on that computer. Join it to the 4624 with the same Logon ID to see how and from where the account logged on, and compare the account with the administrators you expect.

Can event 4672 point to SID history abuse?

It can. Windows puts the SIDs of an account's sIDHistory in its access token at logon, so an account given the SID of an administrative group gets that group's privileges while its group memberships look ordinary. A 4672 on a domain controller for an account that no administrative membership or user right explains is a reason to read its sIDHistory; the library's SID-History Injection page describes this detection logic. It is not a rule: accounts granted the rights directly, such as backup software, appear too.

Which audit setting writes event 4672?

Audit Special Logon, in the Logon/Logoff category, with Success auditing. Microsoft recommends Success auditing for it on domain controllers, member servers and workstations; the subcategory has no failure events.

References