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

Event ID 4729: A member was removed from a security-enabled global group

Written by a domain controller when a member is removed from a global security group. The rules use it to catch an account taken out of Protected Users, and pair it with 4728 to find short-lived privileged memberships.

Log source
Windows Security log
Detection value
Supporting
Volume
Low
Last updated
Audit subcategory
Audit Security Group Management (Account Management, Success)
Logged on
Domain controllers only
Event versions
0
Detects
2 attacks (1 rule · 3 detection logic)
MITRE ATT&CK
2 techniques in 2 tactics
Threat groups
13 groups that MITRE ATT&CK records using these techniques
Fields the rules read
TargetSid

When it is written

A domain controller writes 4729 each time a member is removed from a security-enabled global group of its domain, such as Domain Admins, Protected Users or a global group you created. Each removed member gets its own event. Global groups exist only in Active Directory, so only domain controllers write it, and Microsoft notes that the parts of the 4733 page about local groups do not apply.

A removal from a domain local or built-in group is event 4733, from a universal group event 4757, and deleting a global group is event 4730. The subcategory has no failure events.

The change is made on one domain controller, the one the administrative tool or script connected to, so collect the Security log of all of them.

How to turn it on

Advanced audit policy subcategory Audit Security Group Management, 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 > Account Management > Audit Security Group Management
Microsoft's recommendation per computer role
ComputerAuditNote
Domain controllersSuccessMicrosoft's general and stronger baselines both recommend Success auditing, to see security groups created, changed and deleted, members added and removed, and group membership enumerated. The subcategory has no failure events, so there is nothing to gain from Failure auditing.
Member serversSuccessMicrosoft's general and stronger baselines both recommend Success auditing, to see security groups created, changed and deleted, members added and removed, and group membership enumerated. The subcategory has no failure events, so there is nothing to gain from Failure auditing.
WorkstationsSuccessMicrosoft's general and stronger baselines both recommend Success auditing, to see security groups created, changed and deleted, members added and removed, and group membership enumerated. The subcategory has no failure events, so there is nothing to gain from Failure auditing.
Check the current setting
auditpol /get /subcategory:"Security Group Management"
Based on vendor documentation.
Turn it on (local policy; a domain GPO overrides it)
auditpol /set /subcategory:"Security Group Management" /success:enable
Based on vendor documentation.
The same on a Windows in another display language
auditpol /get /subcategory:"{0CCE9237-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 that removed the member. Event Viewer shows the resolved name when it can.v0
Account NameSubjectUserNameSubjectName of the account that removed the member.v0
Account DomainSubjectDomainNameSubjectDomain of that account. NT AUTHORITY for some well-known principals.v0
Logon IDSubjectLogonIdSubjectLogon ID of the subject's session on this domain controller, in hexadecimal. The logon event (4624) with the same ID shows where the session came from.v0
Security IDMemberSidMemberSID of the account that was removed, a user, a computer or a group. Event Viewer shows the resolved name when it can.v0
Account NameMemberNameMemberDistinguished name of the account that was removed (shown as Account Name), for example CN=Alice Smith,OU=Staff,DC=corp,DC=example,DC=com. A dash for some well-known security principals.v0
Security IDTargetSidGroupRead by 1 ruleSID of the group, the domain SID followed by the group's RID, such as 525 for Protected Users and 512 for Domain Admins.v0
Group NameTargetUserNameGroupName of the group (shown as Group Name), for example Protected Users. Names of the built-in groups are localized and can change, so match privileged groups on TargetSid.v0
Group DomainTargetDomainNameGroupDomain of the group (shown as Group Domain), usually its NetBIOS name.v0
PrivilegesPrivilegeListAdditional InformationPrivileges used for the operation. A dash when none were captured, as in the sample event of the 4733 page that Microsoft refers to; Microsoft says only that the list might not be captured.v0

Values to know

Security ID TargetSid

ValueMeaningSignal
Ends with -525Protected UsersThe member loses the group's protections, such as no NTLM, no DES or RC4 in Kerberos pre-authentication and no delegation, so a stolen hash or a delegation path works again. Matched by a rule rated high.Attack signal
Ends with -512, -516, -520, -522 or -526Domain Admins and the other privileged global groupsExpected during offboarding. A removal shortly after the same member was added (4728) is a detection hypothesis.Worth knowing
Ends with -518 or -519Schema Admins, Enterprise AdminsUniversal groups in a native-mode domain, so a removal is normally event 4757.Worth knowing

Security ID MemberSid

ValueMeaningSignal
A privileged or Tier 0 accountRemoved from Protected UsersCheck what the account did afterwards, NTLM authentication (4776) or Kerberos tickets with RC4 (4768, 4769), which the group had blocked.Attack signal
An account that was added to the same group shortly beforeA short-lived membershipUsed for one action and removed so that a later review shows nothing. A detection hypothesis pairs 4728 and 4729.Attack signal
A disabled or departing accountOffboardingExpected

Volume and noise

Microsoft rates the volume of the whole subcategory as low. Expect 4729 from offboarding and role changes, from provisioning products that keep group membership in line with an HR system, and from just-in-time access products that remove an administrator once the approved time is over. Microsoft describes the event as informational, to be reviewed when needed.

Removals from Protected Users should be rare: the group has no members by default, every member was added on purpose, and Microsoft says that removing the account from the group is the only way to change the protection it gives.

Keeping it manageable

  • Keep every 4729 event. The volume is low, and the hypotheses that pair a removal with an earlier addition (4728) or a later re-addition need both events.
  • Match Protected Users on TargetSid ending in -525, not on the name, so that the rule survives a renamed or localized group.
  • For removals from Domain Admins and the other privileged groups, alert only when the same member was added shortly before, or exclude your just-in-time product by SubjectUserSid for the pairing logic, so that ordinary offboarding does not alert.

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>4729</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>13826</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="MemberName">CN=Alice Smith,OU=Staff,DC=corp,DC=example,DC=com</Data>
    <Data Name="MemberSid">S-1-5-21-1004336348-1177238915-682003330-1104</Data>
    <Data Name="TargetUserName">SQL-Prod-Admins</Data>
    <Data Name="TargetDomainName">CORP</Data>
    <Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1131</Data>
    <Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1108</Data>
    <Data Name="SubjectUserName">adm-bob</Data>
    <Data Name="SubjectDomainName">CORP</Data>
    <Data Name="SubjectLogonId">0x4a3f21</Data>
    <Data Name="PrivilegeList">-</Data>
  </EventData>
</Event>

Attacks this event reveals

Detection rules that read this event:

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

Frequently asked questions

Which event shows that an account left Protected Users?

Event 4729, because Protected Users is a global group, with a TargetSid that ends in -525. The account that was removed is in MemberSid and MemberName, and the account that removed it in SubjectUserSid.

What changes for an account when it leaves Protected Users?

The protections of the group stop applying. Microsoft lists them as no NTLM, Digest or CredSSP authentication, no DES or RC4 in Kerberos pre-authentication, no constrained or unconstrained delegation, and ticket-granting tickets limited to four hours by default. A stolen NTLM hash or a delegation path that was useless becomes usable.

Why would an attacker remove an account from a privileged group?

To leave nothing behind. An account added to Domain Admins for one action and removed right after does not show up in a later membership review. Pairing 4729 with the 4728 that added the same member to the same group finds it.

References