Event ID 4732: Who Was Added to a Local Security Group — and by Whom
Published · Updated
Someone added an account to a security-enabled local group — the event names the group, the member that was added and the account that performed the change, which is how you tell a help-desk action from an attacker granting itself rights.
Logged on: Microsoft states the event generates on domain controllers, member servers, and workstations — the computer that holds the group, so a workstation's own local group change is audited on that workstation.
Microsoft's title
4732(S): A member was added to a security-enabled local group.
Source: Microsoft's event 4732 documentation · field names checked against it on every build
Fields that matter in an investigation
| Field | XML / Sentinel | What it tells you |
|---|---|---|
| Security ID | SubjectUserSid | SID of the account that requested the "add member to the group" operation — the actor to hold responsible for the change. |
| Account Name | SubjectUserName | Name of the account that requested the operation; check it against the people and service accounts allowed to change group membership. |
| Account Domain | SubjectDomainName | Subject's domain or computer name; for local accounts it holds the name of the computer the account belongs to, and well-known principals such as LOCAL SERVICE show "NT AUTHORITY". |
| Logon ID | SubjectLogonId | Hexadecimal value that correlates the change with recent events carrying the same Logon ID — Microsoft's example is event 4624, which gives you the session, its logon type and source address. |
| Security ID | MemberSid | SID of the account that was added to the group; on a workstation or member server this is often the only usable identifier of the new member. |
| Account Name | MemberName | Distinguished name of the account that was added, for example "CN=Auditor,CN=Users,DC=contoso,DC=local"; for local groups this field typically has "-", even if the new member is a domain account. |
| Security ID | TargetSid | SID of the group the member was added to — the reliable way to track a group whose name was changed or is ambiguous between hosts. |
| Group Name | TargetUserName | Name of the group that gained a member, for example ServiceDesk; this is what decides the severity of the event. |
| Group Domain | TargetDomainName | Domain or computer name of the group; for a local group it contains the name of the computer the group belongs to, and built-in groups show "Builtin". |
| Privileges | PrivilegeList | User privileges used during the operation, such as SeBackupPrivilege; Microsoft notes this parameter might not be captured, in which case it appears as "-". |
What it records
Microsoft’s description is short: “This event generates every time a new member was added to a security-enabled (security) local group.” It fires on domain controllers, member servers and workstations, so the host in the Computer field is the machine that owns the group — a change to a workstation’s local Administrators group is audited on that workstation, not on a domain controller, while the built-in domain local groups on a DC (Microsoft’s own example is AccountOperators on DC01.contoso.local) are audited on the DC.
Every record answers three questions. Subject is the account that requested the “add member to the group” operation, with its Security ID, Account Name, Account Domain and Logon ID. Member is what was added, as a Security ID and an Account Name holding the distinguished name — except for local groups, where Microsoft says the name field typically holds a dash, leaving the SID as the only usable identifier. Group is where it was added, as a Security ID, Group Name and Group Domain; for a local group the Group Domain holds the computer name, and built-in groups are shown as Builtin. The Privileges field lists the user privileges used during the operation, such as SeBackupPrivilege, and appears as a dash when nothing was captured.
Two quirks matter when counting events. Each added member produces its own 4732, so one administrative action against five accounts is five events. And an empty 4735, a security-enabled local group was changed, usually precedes the 4732 — Microsoft says you will typically see it “without any changes in it”.
When it matters
The group name sets the severity. Microsoft’s monitoring guidance tells you to watch this event for the Group Name values of high-value local or domain security groups — the built-in local administrators group, domain admins and enterprise admins are the named examples — and to watch the Subject Security ID and Member Security ID when you have high-value accounts, accounts that should never be used, or an allowlist of accounts permitted to make such changes.
| Pattern | Reading |
|---|---|
| Member added to a host’s local Administrators group by an account that is not help desk | Local privilege escalation or persistence on that host |
| The same member added to local groups on several machines in minutes | Scripted spread of access across hosts |
| Addition outside working hours by a privileged account | Microsoft’s anomaly case: watching how and when a particular account is being used |
| Subject in another domain, or an external account | Microsoft’s external-accounts monitoring case |
| A computer account added to a group meant for users, or the reverse | Microsoft calls out this mismatch explicitly |
| 4732 followed shortly by a 4733 removing the same member | Access used and then cleaned up |
A 4732 is only half a story: the Subject’s Logon ID tells you how that administrator got onto the box. If the preceding logon came from an unfamiliar address, or followed a burst of wrong-password failures such as 0xC000006A, the account performing the change is itself suspect.
How to investigate
Start by listing every addition and who made it:
SecurityEvent
| where TimeGenerated > ago(24h)
| where EventID == 4732
| project TimeGenerated, Computer, GroupName = TargetUserName, GroupDomain = TargetDomainName,
MemberName, MemberSid, AddedBy = SubjectUserName, AddedByDomain = SubjectDomainName,
SubjectLogonId, PrivilegeList
| order by TimeGenerated desc
Then narrow to the groups you have decided are high value, and look at who touched them over a week:
let sensitiveGroups = dynamic(["Administrators","Account Operators","Backup Operators",
"Server Operators","Print Operators","Remote Desktop Users"]);
SecurityEvent
| where TimeGenerated > ago(7d)
| where EventID == 4732
| where TargetUserName in~ (sensitiveGroups)
| summarize Additions = count(), Members = make_set(MemberSid, 20),
Hosts = make_set(Computer, 20) by TargetUserName, SubjectUserName, SubjectDomainName
| order by Additions desc
Finally, resolve the session behind the change by joining the Subject Logon ID to the 4624 that created it:
let adds = SecurityEvent
| where TimeGenerated > ago(24h) and EventID == 4732
| project AddTime = TimeGenerated, AddHost = Computer, GroupName = TargetUserName,
MemberName, MemberSid, SubjectUserName, SubjectLogonId;
SecurityEvent
| where TimeGenerated > ago(25h) and EventID == 4624
| project LogonTime = TimeGenerated, Computer, TargetLogonId, LogonType, IpAddress,
WorkstationName, AuthenticationPackageName, LogonAccount = TargetUserName
| join kind=inner adds on $left.TargetLogonId == $right.SubjectLogonId
| project AddTime, LogonTime, AddHost, GroupName, MemberName, MemberSid,
SubjectUserName, LogonAccount, LogonType, IpAddress, WorkstationName
| order by AddTime desc
From there, pivot on the same Logon ID to 4672 for the privileges that session held and to 4688 for what it ran, and check whether the member that was added was also created (4720), enabled (4722) or had its password reset (4724) in the same window — that trio plus a 4732 is account creation with rights attached. Watch for a matching 4733 removing the member again. Without a SIEM, export the Security log as XML from Event Viewer and load it into the free browser log analyzer.
Related events and codes
- Event ID 4624 An account was successfully logged on.
- Event ID 4672 Special privileges assigned to new logon.
- Event ID 4720 A user account was created.
- Event ID 4722 A user account was enabled.
- Event ID 4724 An attempt was made to reset an account's password.
- Event ID 4733 A member was removed from a security-enabled local group.
- Event ID 4738 A user account was changed.
- Event ID 4798 A user's local group membership was enumerated.
- Event ID 4799 A security-enabled local group membership was enumerated.
- 0xC000006A The account exists and the password was wrong. One event is a typo; many against one account is brute force; one source failing across many real accounts is password spraying.
- 0xC0000234 The account is locked because the lockout threshold was reached; every further attempt fails with this code until the lockout ends or an administrator unlocks it.
Detect it
Frequently Asked Questions
- Why is the member's Account Name just a dash?
- Microsoft documents that for local groups the member Account Name field "typically has “ - “ value, even if new member is a domain account", and well-known security principals also show "-". Resolve the member from the Member Security ID (MemberSid) instead, which is always populated.
- Four people were added to a group at once — why do I see four events?
- That is expected. Microsoft states that "For every added member you will get separate 4732 event", so a bulk membership change produces one event per member, all from the same subject and usually within the same second and the same Logon ID.
- Why does a 4735 appear just before the 4732 with nothing changed in it?
- Microsoft notes you "will typically see “4735: A security-enabled local group was changed.” event without any changes in it prior to 4732 event". Treat the empty 4735 as a side effect of the membership write, not as a separate modification to investigate.
- Which groups are worth alerting on rather than just recording?
- Microsoft's recommendation is to monitor this event with the Group Name values that correspond to high-value local or domain security groups, and gives the built-in local administrators group, domain admins and enterprise admins as examples. Everything else is usually kept as an informational record and reviewed on demand.
Find every 4732 in your own logs
Load a Windows Security event export into the free browser analyzer to group events by account, source address and status, with password spraying, brute force and lockout storms flagged. Nothing is uploaded.
Investigating something right now? LogTriage checks every address in the file against threat intelligence and writes the incident report: 10 analyses a month free. The incident pack adds the in-depth AI analysis and files up to 100 MB: 25 analyses for $19, one payment, no subscription. Pricing
How this page was made. The official definitions, field names and examples on it are copied by script from the sources it links and re-checked against them on every build. The investigation advice was drafted with AI from those sources and passed a separate review before publishing. What is checked, and how · found a mistake? [email protected]