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

Event ID 4732: A member was added to a security-enabled local group

Written when a member is added to a local security group: on member servers and workstations for their own groups, on domain controllers for domain local and built-in groups such as Administrators, Backup Operators and DnsAdmins.

Log source
Windows Security log
Detection value
Essential
Volume
Low
Last updated
Audit subcategory
Audit Security Group Management (Account Management, Success)
Logged on
All Windows computers
Event versions
0, 1
Detects
4 attacks (8 rules · 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
MemberSidTargetSidTargetUserName

When it is written

Windows writes 4732 each time a member is added to a security-enabled local group, one event per added member. Which groups that covers depends on the computer. On member servers and workstations they are the computer's own groups, such as its Administrators or Remote Desktop Users group, and the computer itself writes the event. On domain controllers they are the domain local groups of the domain (DnsAdmins, Cert Publishers, the two RODC password replication groups and any group you create with that scope) and the built-in groups of the Builtin container, such as Administrators, Account Operators and Backup Operators, which apply to every domain controller of the domain. Microsoft's group scope table lets a domain local group hold accounts and groups from any domain of the forest and from trusted domains, so MemberSid can carry the SID of another domain.

Group Domain (TargetDomainName) tells the cases apart: the computer name for a group of a member server or workstation, the domain name for a domain local group, Builtin for a built-in group. Microsoft notes that a 4735 event without any changed attribute usually comes just before 4732. The subcategory has no failure events.

On domain controllers the change is made on the one the tool connected to, so collect the Security log of all of them. Additions to the local groups of other computers are visible only in those computers' own logs.

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 added the member. Event Viewer shows the resolved name when it can.v0
Account NameSubjectUserNameSubjectName of the account that added the member.v0
Account DomainSubjectDomainNameSubjectDomain of that account, or the computer name for a local account. NT AUTHORITY for some well-known principals.v0
Logon IDSubjectLogonIdSubjectLogon ID of the subject's session on the computer that wrote the event, in hexadecimal. The logon event (4624) with the same ID shows where the session came from.v0
Security IDMemberSidMemberRead by 1 ruleSID of the account that was added, 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 added (shown as Account Name). Microsoft notes that for local groups it is usually a dash, even when the member is a domain account, and it is a dash for some well-known principals. Its own sample event, a group of the domain on a domain controller, holds the distinguished name. Use MemberSid.v0
Security IDTargetSidGroupRead by 6 rulesSID of the group. Built-in groups have fixed SIDs of the form S-1-5-32-; domain local groups have the domain SID and a RID; groups of a member server or workstation have that computer's own SID and a RID.v0
Group NameTargetUserNameGroupRead by 3 rulesName of the group (shown as Group Name), for example Administrators. Built-in group names are localized, so match them on TargetSid.v0
Group DomainTargetDomainNameGroupDomain or computer of the group (shown as Group Domain). The computer name for a group of a member server or workstation, the domain name for a domain local group, Builtin for a built-in group.v0
PrivilegesPrivilegeListAdditional InformationPrivileges used for the operation. A dash when none were captured, as in Microsoft's sample event; Microsoft says only that the list might not be captured.v0
Expiration timeMembershipExpirationTimeAdditional InformationShown as Expiration time. Version 1. Microsoft does not document this field; its name and its date and time type match time-limited group membership, which Windows Server 2016 added to Active Directory with the Privileged Access Management feature. What it holds for a membership without a time limit is not documented.v1

Event versions

The Windows event template has two versions. Version 0 has the original 10 fields. Version 1 adds MembershipExpirationTime (shown as Expiration time). Microsoft's event page lists only version 0 and does not describe the new field. Its name and type, a date and time, match the time-limited group membership (expiring links with a time-to-live) that Windows Server 2016 introduced with the Privileged Access Management feature for Active Directory. Microsoft does not say which update introduced version 1 or what the field holds for a membership without a time limit, such as any membership of a group on a member server or workstation. The sample event on this page shows a membership with a time limit; the form of its value follows the template's date and time type, not a Microsoft example.

  • Version 0: 10 fields
  • Version 1: 11 fields, adds MembershipExpirationTime

Values to know

Security ID TargetSid

ValueMeaningSignal
S-1-5-32-544AdministratorsOn a domain controller the built-in Administrators group of the domain, with control of every domain controller. On any other computer its local Administrators group. The rule matches both.Attack signal
S-1-5-32-548, -549, -550 or -551Account Operators, Server Operators, Print Operators, Backup OperatorsBuilt-in operator groups with rights on domain controllers, such as signing in locally or backing up and restoring files. Matched by the rule for privileged operator groups.Attack signal
S-1-5-32-557Incoming Forest Trust BuildersMembers can create incoming one-way trusts to the forest.Attack signal
S-1-5-32-554Pre-Windows 2000 Compatible AccessRead access to all users and groups of the domain. Microsoft says it should have no members once no Windows NT 4.0 or older system remains.Attack signal
S-1-5-32-555 or -580Remote Desktop Users, Remote Management UsersRemote Desktop sign-in and remote management access (WMI over WS-Management). On domain controllers Microsoft advises keeping Remote Desktop Users empty. Watched at a low level.Attack signal
S-1-5-32-559, -562 or -569Performance Log Users, Distributed COM Users, Cryptographic OperatorsNarrower rights on domain controllers, watched at a low level.Attack signal
Ends with -517Cert PublishersA domain local group that publishes certificates for users in the directory. Certification authority servers are its expected members.Attack signal
Ends with -571Allowed RODC Password Replication GroupPasswords of its members may be cached on read-only domain controllers. It has no members by default.Attack signal
Ends with -512, -516, -518, -519, -520, -522, -526 or -527Global and universal privileged groups (Domain Admins, Enterprise Admins and others)The same rules watch them, but additions to them are events 4728 and 4756.Worth knowing

Security ID MemberSid

ValueMeaningSignal
S-1-1-0 or S-1-5-7Everyone or Anonymous LogonAdded to Pre-Windows 2000 Compatible Access, it extends the group's read access beyond authenticated accounts. Rated high. Microsoft lists Everyone and Anonymous as the group's default members where the domain was created in the pre-Windows 2000 compatible permissions mode, so they can be members already without a recent event. Check the current membership as well.Attack signal
Same as SubjectUserSidThe account added itselfNeeds only write access to the group's member attribute or the Self-Membership validated write. One of the detection hypotheses for privileged groups.Attack signal

Group Name TargetUserName

ValueMeaningSignal
DnsAdminsDNS administrators of the domainA domain local group in the Users container, by Microsoft's Appendix B, with no fixed SID, so the rule matches its default name. It exists only where the DNS server role is or was installed on a domain controller.Attack signal
ESX AdminsThe group that domain-joined VMware ESXi hosts trust by name (CVE-2024-37085)Microsoft describes a domain group, matched by the hosts by name and not by SID, on hosts without VMware's update for CVE-2024-37085. A local group with this name on a member server also matches the rule; check Group Domain. A group renamed to ESX Admins brings its existing members along without a member-added event, so watch the rename too (4781, 4735).Attack signal
Exchange Windows Permissions, Exchange Trusted Subsystem, Organization ManagementExchange security groupsMicrosoft describes them as universal groups, so additions are normally event 4756. The rule reads 4732 in case a group's scope was changed.Worth knowing

Group Domain TargetDomainName

ValueMeaningSignal
BuiltinA built-in groupOn a domain controller it applies to all domain controllers of the domain, elsewhere to that computer only.Worth knowing
The domain's NetBIOS nameA domain local groupWritten only by domain controllers.Worth knowing
The computer's nameA group created on that member server or workstationWorth knowing

Volume and noise

Microsoft rates the volume of the whole subcategory as low and describes 4732 as an informational event, apart from high-value groups such as the local Administrators group, Domain Admins and Enterprise Admins.

On domain controllers most events come from managing domain local groups, typically the groups that grant access to file shares and other resources. On member servers and workstations they come from software that adds its service accounts to local groups during installation, from administrators granting local access, and from Group Policy settings or management products that set the membership of local groups.

Some additions are made by Windows itself. Microsoft's group reference says that joining a domain adds Domain Admins to the computer's Administrators group and Domain Users to its Users group. Its Microsoft Entra documentation says that joining a device to Microsoft Entra ID adds the Global Administrator and Microsoft Entra Joined Device Local Administrator roles and the user who performs the join to the local Administrators group. Microsoft does not describe the events of a join; expect 4732 for these additions on that computer when the subcategory is already audited at that moment.

Keeping it manageable

  • Collect 4732 from member servers and workstations as well if you want to see changes to their local Administrators group. The Administrators rule matches S-1-5-32-544 on every computer, so give the domain controller case and the local case their own severity.
  • Match the built-in groups on TargetSid, not on the name: built-in group names are localized on non-English systems.
  • Where Group Policy or a management product sets local group membership on many computers, exclude its changes by SubjectUserSid and host group for the member server and workstation rules, never for domain controllers.
  • On domain controllers keep every 4732 event. The volume is low, and most groups the rules watch there are built-in or domain local.

Sample event

Version 1, 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>4732</EventID>
    <Version>1</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">FileShare-Finance-RW</Data>
    <Data Name="TargetDomainName">CORP</Data>
    <Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1132</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>
    <Data Name="MembershipExpirationTime">2026-11-18T17:30:12.0000000Z</Data>
  </EventData>
</Event>

Attacks this event reveals

Detection rules that read this event:

Frequently asked questions

Why does an addition to the local Administrators group of a workstation match a rule for domain administrators?

The built-in Administrators group has the same SID, S-1-5-32-544, on every computer. On a domain controller it is the Administrators group of the domain; on a member server or workstation it is the computer's local group. If those computers forward their Security log, their additions match too, so tell the cases apart by the computer that wrote the event.

Why is the member's Account Name a dash?

Microsoft notes that for local groups the field usually holds a dash, even when the member is a domain account. The member is always in MemberSid, which Event Viewer resolves to a name when it can.

Which groups on a domain controller produce 4732 rather than 4728?

The built-in groups of the Builtin container (Administrators, Account Operators, Server Operators, Backup Operators, Print Operators and the others with S-1-5-32 SIDs) and the domain local groups, such as DnsAdmins, Cert Publishers and the Allowed and Denied RODC Password Replication groups. Global groups such as Domain Admins are 4728, universal groups such as Enterprise Admins 4756.

Does the domain controller log it when a domain account is added to a server's local Administrators group?

No. The group lives on the server, so the server writes 4732 in its own Security log. To see these changes, collect the Security log of the servers, or manage local administrator membership centrally and watch that instead.

References