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

Event ID 4728: A member was added to a security-enabled global group

Written by a domain controller when a member is added to a global security group, such as Domain Admins. Read by the rules for privileged group membership, the Exchange security groups and the ESX Admins group.

Log source
Windows Security log
Detection value
Essential
Volume
Low
Last updated
Audit subcategory
Audit Security Group Management (Account Management, Success)
Logged on
Domain controllers only
Event versions
0, 1
Detects
5 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

A domain controller writes 4728 each time a member is added to a security-enabled global group of its domain: Domain Admins, Domain Controllers, Group Policy Creator Owners, Key Admins, Protected Users or any global group you created. Each added member gets its own event. The event names the group whose member list changed, so adding a group as a member is one event, and the accounts already in that group do not get events of their own. Microsoft's group scope table lets a global group hold only accounts and other global groups of its own domain, so the member in MemberSid belongs to the same domain as the group.

Global groups exist only in Active Directory, so only domain controllers write 4728, and Microsoft notes that the parts of the 4732 page about local groups do not apply to it. A member added to a domain local or built-in group is event 4732, to a universal group event 4756. 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 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. 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 IDMemberSidMemberRead by 1 ruleSID of the account that was added, a user, a computer or another group. Event Viewer shows the resolved name when it can.v0
Account NameMemberNameMemberDistinguished name of the account that was added (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 6 rulesSID of the group, the domain SID followed by the group's relative identifier (RID). Built-in domain groups have fixed RIDs, such as 512 for Domain Admins.v0
Group NameTargetUserNameGroupRead by 3 rulesName of the group (shown as Group Name), for example Domain Admins. 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, sometimes the DNS name in either case.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 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 documents 4728 only as a variant of 4732, whose page lists 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. Microsoft does not say which update introduced version 1 or what the field holds for an ordinary membership without a time limit. 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
Ends with -512Domain AdminsAdministrative control of the domain. Matched by the rule for domain and forest administrative groups. By default its membership can be changed by the Administrators and Domain Admins groups of the domain and by Enterprise Admins, according to Microsoft's group reference.Attack signal
Ends with -516Domain ControllersThe group of the domain's domain controllers. Its members should be domain controller computer accounts only. Microsoft's group reference says new domain controllers are added to it automatically, so a promotion is the routine source. It does not say whether that addition is written as 4728, so check it on a promotion of your own.Attack signal
Ends with -520, -522 or -526Group Policy Creator Owners, Cloneable Domain Controllers, Key AdminsGlobal groups whose rights lead to control of the domain in one more step. Matched by the rule for privileged operator groups.Attack signal
Ends with -527Enterprise Key AdminsAdministrative actions on key objects across the forest. Microsoft's group reference lists its scope as global; the rules read it in all three member-added events.Attack signal
Ends with -518 or -519Schema Admins, Enterprise AdminsMicrosoft lists both as universal groups in a native-mode domain, where an addition is event 4756, and as global groups only in a mixed-mode domain. The rules read 4728 as well.Attack signal
Ends with -525Protected UsersAdding an account protects it. A removal from this group is event 4729, which a rule watches; a removal followed shortly by this re-addition is a detection hypothesis (protection lifted for one action).Expected
S-1-5-32-544, -548 to -551, -554, -555, -557, -559, -562, -569, -580; ends with -517 or -571Built-in and domain local groups (Administrators, the operator groups, Pre-Windows 2000 Compatible Access, Remote Desktop Users, Cert Publishers, Allowed RODC Password Replication Group and others)The same rules watch them, but an addition to them is event 4732, never 4728.Worth knowing

Group Name TargetUserName

ValueMeaningSignal
ESX AdminsThe group that domain-joined VMware ESXi hosts trust by name (CVE-2024-37085)Not a built-in group and absent by default. Microsoft reports that domain-joined hosts without VMware's update for CVE-2024-37085 give full administrative access to the members of any domain group with this name, matched by name and not by SID; it does not say that the group's scope matters. A group renamed to ESX Admins brings its existing members along without a member-added event, so watch the rename too (4781, 4737). If your hosts were set to use another group, watch that name.Attack signal
Exchange Windows Permissions, Exchange Trusted Subsystem, Organization ManagementExchange security groupsMicrosoft describes them as universal groups, so an addition is normally event 4756. The rule reads 4728 in case a group's scope was changed.Worth knowing
DnsAdminsDNS administrators of the domainA domain local group matched by name in the operator group rule. Additions to it are event 4732.Worth knowing

Security ID MemberSid

ValueMeaningSignal
S-1-1-0 or S-1-5-7Everyone or Anonymous LogonThe rule looks for them as new members of Pre-Windows 2000 Compatible Access, a built-in group, so the match comes from 4732.Worth knowing
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
A group SIDA group was nested in the target groupIts members gain the target group's access without events of their own. List the nested group's members when the target group is privileged.Worth knowing

Volume and noise

Microsoft rates the volume of the whole subcategory as low. Expect 4728 from ordinary group administration: onboarding and role changes, provisioning and identity governance products that keep group membership in line with an HR system, and just-in-time access products that add an administrator to a group and remove it again later.

Microsoft describes the event as informational, to be reviewed when needed, and recommends watching it closely for the high-value groups such as Domain Admins. Its Active Directory security guidance says Domain Admins should hold no day-to-day user accounts, apart from a secured built-in Administrator account, and advises alerting on any change to its membership, so additions to it should be rare.

Keeping it manageable

  • Keep every 4728 event. The volume is low, and the hypotheses that pair an addition with a later removal need both events.
  • Match the built-in privileged groups on TargetSid (the RID at the end), not on the name: names are localized on non-English domains and some can be renamed.
  • Add your own Tier 0 groups to the list the rules watch: groups nested in Domain Admins or Administrators, and groups that hold rights on domain controllers. The well-known RIDs cover only the default groups.
  • Exclude the service account of a just-in-time or provisioning product by SubjectUserSid only for the rules on ordinary groups, never for the privileged groups.

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>4728</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">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>
    <Data Name="MembershipExpirationTime">2026-11-18T17:30:12.0000000Z</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 an account added to Domain Admins?

Event 4728, because Domain Admins is a global group, with a TargetSid that ends in -512. Enterprise Admins and Schema Admins are universal groups in a native-mode domain, so additions to them are 4756, and the built-in groups such as Administrators, Account Operators and Backup Operators are 4732. Watch all three events.

Is 4728 written when a user is added to a group that is nested in Domain Admins?

Not for Domain Admins. The event names the group whose member list changed, so the domain controller writes 4728, 4732 or 4756 for the nested group, depending on its scope. Its new member gains the rights of Domain Admins all the same, which is why groups nested in privileged groups belong on the list you watch.

Can an account join a global group without a 4728 event?

Yes, through its primary group. The primaryGroupID attribute of the account makes it a member of that group without a change to the group's member list. That change appears in event 4738 as a changed Primary Group ID. Microsoft Defender for Identity lists accounts with a non-default primary group as a posture finding for that reason.

What is the Expiration time field?

It is MembershipExpirationTime, added in version 1 of the event. Microsoft does not document it. Its name and type match the time-limited group membership that Windows Server 2016 added with the Privileged Access Management feature, where a member is removed automatically once its time-to-live ends.

References