Skip to main content
4729SecurityAccount ManagementSecurity tier 1

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

Event ID 4729 records that an account was removed from a security-enabled global group, the direct counterpart to a 4728 addition. Most removals are routine, but a known administrator quietly dropped from a privileged group, or the same member removed minutes after being added, are both signals worth an alert.

What Triggers Event 4729

Event 4729 is the direct counterpart to 4728: it fires when an account is removed from a security-enabled global group rather than added to one. The field schema mirrors 4728 almost exactly, SubjectUserSid, SubjectUserName, and SubjectLogonId for who performed the removal, MemberSid and MemberName for the account that was removed, TargetSid and TargetUserName for the group it was removed from, which makes the two events natural to correlate together despite the very different MITRE classification each one carries individually.

That classification difference is worth stating plainly: 4728, addition, maps to T1098 Account Manipulation and T1078 Valid Accounts, both escalation-flavored techniques, an attacker gaining rights they did not have. 4729, removal, maps instead to T1531, Account Access Removal, an impact-stage technique focused on denying access rather than gaining it. The same field schema, describing membership changes to the same class of group, carries an entirely different threat model depending on which direction the change runs.

Most 4729 activity is exactly what it looks like: routine offboarding, role changes that no longer require a given group's access, and periodic access-review cleanup removing memberships that accumulated past their useful need. None of this needs special scrutiny in isolation, and in most organizations the baseline volume here mirrors 4728's, a modest, steady trickle tied to normal personnel and role churn.

The pattern that turns a removal into a T1531 concern is who gets removed, not the removal mechanic itself. An attacker who has compromised an environment and wants to inhibit the response, or lock out the very administrators who would notice and undo the attacker's other changes, removes a known, legitimate administrator from a group they need for their job, Domain Admins, Group Policy Creator Owners, or a custom group tied to incident-response tooling. This is quiet sabotage: unlike disabling or deleting the admin's own account, which would be immediately obvious to that admin the next time they tried to log in, removing them from one specific group can go unnoticed for a while if the admin still has other access and does not immediately need the removed group's specific rights.

The add-then-remove pattern, covered from the addition side on the 4728 page, is detected with the identical correlation query run from this side: the same MemberSid appearing in a 4728 and then a 4729 within a short window, minutes rather than hours, indicates a transient privilege grant used for one action and then cleaned up, an attacker's attempt to minimize the window during which a point-in-time membership check would catch them.

Mass removal waves are the third pattern, and they carry a specific, less obvious threat model worth naming directly: an attacker dismantling a defensive lockout. If a security team has already responded to an earlier compromise by adding a break-glass response team to a privileged group, a wave of removals from that same group shortly afterward is the attacker actively working to undo the defenders' own containment action, which makes this pattern worth watching especially closely during and immediately after any active incident response.

Event 4729 Fields

FieldWhat it tells youSimulated value
SubjectUserSidSID of the account that requested the remove-member operation.S-1-5-21-424242-1050
SubjectUserNameAccount name that requested the remove-member operation.adm.lopez
SubjectLogonIdLogon ID correlating this change back to the Subject's 4624 logon.0x6c13b8
MemberSidSID of the account removed from the group.S-1-5-21-424242-1207
MemberNameDistinguished name of the removed account.CN=p.laurent,CN=Users,DC=corp,DC=socsimulator,DC=example
TargetSidSID of the group the member was removed from.S-1-5-21-424242-512
TargetUserNameName of the group the member was removed from.Domain Admins

Inspect Event 4729 Values

Click a field to inspect the full simulated value, the way you would expand it in a SIEM event view.

Example Event 4729 Log

A representative Security entry for Event 4729, generated deterministically by our telemetry engine so every field holds a realistic, internally consistent value.

Simulated example generated by SOCSimulator Research
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" />
    <EventID>4729</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2025-12-23T13:15:17.000Z" />
    <EventRecordID>804137</EventRecordID>
    <Channel>Security</Channel>
    <Computer>WS-SIM-001.corp.socsimulator.example</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="SubjectUserSid">S-1-5-21-424242-1050</Data>
    <Data Name="SubjectUserName">adm.lopez</Data>
    <Data Name="SubjectLogonId">0x6c13b8</Data>
    <Data Name="MemberSid">S-1-5-21-424242-1207</Data>
    <Data Name="MemberName">CN=p.laurent,CN=Users,DC=corp,DC=socsimulator,DC=example</Data>
    <Data Name="TargetSid">S-1-5-21-424242-512</Data>
    <Data Name="TargetUserName">Domain Admins</Data>
  </EventData>
</Event>

Detecting Event 4729

A known legitimate administrator removed from a privileged group (access-removal sabotage, T1531); match on MemberSid, since MemberName is a distinguished name

index=wineventlog sourcetype=WinEventLog:Security EventCode=4729
| lookup privileged_accounts.csv Member_SID OUTPUT is_privileged
| where is_privileged="true"
| table _time, Subject_Account_Name, Member_Name, Group_Name

Add-then-remove of the same member within minutes (transient privilege grab, shared query with 4728)

Lucene is the base filter; the same-member correlation runs in your SIEM.

index=wineventlog sourcetype=WinEventLog:Security (EventCode=4728 OR EventCode=4729)
| transaction Member_SID maxspan=15m
| where mvcount(EventCode)>1

Mass removal wave from one group in a short window (defensive lockout being dismantled)

index=wineventlog sourcetype=WinEventLog:Security EventCode=4729
| bucket _time span=1h
| stats dc(Member_Name) as removed by _time, Group_Name
| where removed >= 5

True Positive vs False Positive

Treat the baseline the same way as 4728's: routine, low volume, traceable to normal personnel and role changes, performed by a known, small population of group-management identities during business hours. Deviations from that baseline are what matter, and the two events are strong enough together that any detection built for one should query the other in the same pass.

The single highest-priority check is a removal targeting a known, currently active administrator or a member of a designated incident-response or break-glass group. Maintain that list explicitly, the same watchlist discipline used across every other privileged-account detection in this dataset, and alert on any removal touching it regardless of Subject identity or apparent justification, since a legitimate removal of an active admin from a group they still need is rare enough that a false alarm costs little compared to missing a real sabotage attempt.

The add-then-remove correlation deserves the same weight here as it does on the 4728 page, since it is the identical pattern viewed from its other half. Run it as a single query joining both event types by MemberSid rather than as two separate detections, since a MemberSid appearing in isolation in either event tells you less than the pair does together.

Mass removal waves need context-aware thresholds rather than a single fixed number: a wave during a documented offboarding project, a department closure, a contract ending for an entire vendor team, is explainable and traceable to a known Subject and a known business reason. The same volume of removals with no such explanation, particularly if it touches a group your security team relies on for incident response, or if it follows closely on the heels of a suspicious event elsewhere in the environment, should be escalated immediately rather than queued, since the entire point of this specific attack pattern is to degrade your ability to respond while you are still deciding whether to take it seriously.

Subject identity remains a useful secondary filter: removals performed by an account outside your known group-management population are worth a look on their own merits, the same standard applied to every other account-management event in this dataset. False positives cluster, predictably, around under-documented offboarding automation and legitimate but infrequent bulk access-review cleanups; document and allowlist the responsible Subject accounts once confirmed, and the residual noise from this event drops close to zero.

Practice Investigating Event 4729

No published room targets Event 4729 directly yet. The detection skills transfer, though: practice alert triage on realistic consoles across 37 free rooms in SOCSimulator Operations.

Browse free operations

Frequently Asked Questions

What does event ID 4729 mean?
It means an account was removed from a security-enabled global group. It is the direct counterpart to 4728 (member added), sharing the same Subject/Member/Target field schema.
Is event 4729 usually malicious?
No, most 4729 events are routine offboarding or role changes. It becomes a high-priority alert only in two shapes: a known-privileged account removed from a group it should stay in (possible sabotage or lockout of a legitimate defender), or the same member added and removed within minutes, which points at transient, tool-driven privilege use rather than a human administrator.
Why would an attacker remove someone from a security group instead of adding themselves?
Removing a legitimate administrator from a group they need (Domain Admins, a break-glass response group) can lock defenders out of the exact access they would use to respond to an incident, which is why MITRE classifies deliberate account or group access removal as its own technique, T1531, distinct from privilege escalation.

Sources

“Audit Security Group Management subcategory, which generates the security-enabled global group member-removed event (4729) and its counterparts”

“Field schema of the sibling group-membership event (Subject/Member/Target group), the same layout 4729 uses for global groups”

“T1531 Account Access Removal is the current MITRE ATT&CK Enterprise technique covering deliberate removal of account or group access to inhibit recovery”

Event ID

Event ID 4725: A User Account Was Disabled & Ransomware-Prep Detection

Event ID 4725 fires when an account is disabled. Learn the Subject/Target fields, the 4725 vs 4726 distinction, and how …

Read more
Event ID

Event ID 4726: A User Account Was Deleted & the Same-Day Create/Delete Tell

Event ID 4726 fires when an account is permanently deleted. Learn the 4726 vs 4725 distinction and how to catch a dispos…

Read more
Event ID

Event ID 4720: User Account Created & How to Detect It

Event ID 4720 logs every new user account, local or domain. Learn the SubjectUserName vs TargetUserName fields and detec…

Read more
Glossary

What is Persistence? SOC Glossary

Persistence is the set of techniques an adversary uses to keep access to a compromised system after whatever gave them t…

Read more
Glossary

What is Least Privilege? SOC Glossary

The principle of least privilege states that users, processes, and systems should hold only the minimum access rights re…

Read more
Glossary

What is SIEM? SOC Glossary

Security Information and Event Management (SIEM) is a platform that aggregates, normalizes, and correlates log data from…

Read more
Career Path

SOC Analyst (Tier 1) Career Guide: Salary & Skills

Tier 1 SOC Analysts are the front line. You monitor alert queues, triage incoming detections, classify them as true or f…

Read more
Career Path

Incident Responder Career Guide: Salary & Skills

Incident Responders lead the technical response when confirmed breaches happen. You coordinate containment, run forensic…

Read more
Comparison

SOCSimulator vs. LetsDefend: Platform Comparison

SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…

Read more
Event ID

Windows Event ID Library: SOC Reference

Windows Security and Sysmon event IDs with simulated log samples, field tables, and tested detection queries.

Read more
Feature

Shift Mode: Real-Time SOC Simulation

Practice alert triage under realistic time pressure with SLA timers and noise injection.

Read more
Feature

Operations: Guided Training Operations

Structured CTF-style investigation operations covering real-world attack scenarios.

Read more