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

Event ID 4764: A group’s type was changed

Written by a domain controller when a group's type changes, for security and distribution groups alike. A distribution group turned into a security group gives every member its access without a member-added event.

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
1 attack (1 rule)
MITRE ATT&CK
1 technique in 2 tactics
Threat groups
7 groups that MITRE ATT&CK records using these techniques
Fields the rules read
GroupTypeChange

When it is written

A domain controller writes 4764 each time the type of a group in its domain changes, for security groups and distribution groups alike. Only domain controllers write it. Change Type (GroupTypeChange) holds the old and the new type, each a combination of security enabled (a security group) or security disabled (a distribution group) with the scope, local, global or universal, and Microsoft notes that the two are never the same.

The event belongs to Audit Security Group Management even when a distribution group changes. Microsoft's page for Audit Distribution Group Management says so too: to watch type changes, monitor 4764 with Security Group Management success auditing enabled. On the 4735 page Microsoft adds that a type change writes the change event of the new type's subcategory, so a group converted into a security group also produces a security group change event (4735, 4737 or 4755) for its scope. The subcategory has no failure events.

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 changed the type. Event Viewer shows the resolved name when it can.v0
Account NameSubjectUserNameSubjectName of the account that changed the type.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
Change TypeGroupTypeChangeSubjectRead by 1 ruleThe change (shown as Change Type), in the form Changed to . Each side is Security Enabled or Security Disabled followed by Local Group, Global Group or Universal Group, and the two sides are never the same.v0
Security IDTargetSidGroupSID of the group, the domain SID followed by its RID. The event carries it whichever way the type changes, so use it to follow the group.v0
Group NameTargetUserNameGroupName of the group whose type changed (shown as Group Name).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 Microsoft's sample event; Microsoft says only that the list might not be captured.v0

Values to know

Change Type GroupTypeChange

ValueMeaningSignal
Security Disabled Global Group Changed to Security Enabled Global Group.A distribution group became a security groupIts members now carry the group's SID, so permissions granted to the group and membership of security groups it is nested in take effect at once. The rule matches any value that starts with Security Disabled and contains to Security Enabled, whatever the scope.Attack signal
Security Disabled Universal Group Changed to Security Enabled Universal Group.The same for a universal groupAttack signal
Security Enabled Local Group Changed to Security Disabled Local Group.A security group became a distribution groupThe group stops granting access, and its members lose what it gave them. Microsoft's own sample event shows this change.Worth knowing
Security Enabled Global Group Changed to Security Enabled Universal Group.A change of scope; the group stays a security groupMicrosoft's list of values allows the two sides to differ in scope only.Expected

Security ID TargetSid

ValueMeaningSignal
A group nested in a privileged groupThe conversion makes the nesting effectiveA distribution group can be a member of a security group without granting anything. Once converted, its members inherit the rights of the group it sits in, such as Domain Admins.Attack signal
Any other groupAn ordinary type changeExpected

Volume and noise

Microsoft rates the volume of the whole subcategory as low. Expect type changes when administrators convert mail distribution lists into security groups so they can be used in permissions, and when security groups are retired into distribution lists. Microsoft describes 4764 as an informational event, to be reviewed when needed, and recommends watching it for critical groups, such as the built-in Administrators group, Domain Admins, Enterprise Admins and critical distribution groups.

Keeping it manageable

  • Keep every 4764 event. The volume is low, and the rule reads the conversion from a distribution group to a security group.
  • When a distribution group becomes a security group, list its members and the groups it is a member of at that moment: they gain the group's access with no member-added event.
  • Enable Audit Distribution Group Management on domain controllers if you need to know who was added to a distribution group before it was converted. Microsoft recommends that subcategory only when needed, so without it those additions are not logged at all.

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>4764</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="GroupTypeChange">Security Disabled Universal Group Changed to Security Enabled Universal Group.</Data>
    <Data Name="TargetUserName">Finance-Announce</Data>
    <Data Name="TargetDomainName">CORP</Data>
    <Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1135</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:

Frequently asked questions

Why is converting a distribution group into a security group a detection?

The members of a distribution group gain nothing from it in access control. Once it becomes a security group, they all carry its SID, so any permission granted to the group, and membership of any security group it was already nested in, applies to them at once. No member-added event is written, because nobody was added. An attacker who can change a group's type can use that to hand access to accounts that were placed in the group earlier.

Which audit setting writes 4764?

Audit Security Group Management, success auditing, on domain controllers, even when the group is a distribution group. Microsoft's page for Audit Distribution Group Management says the same.

Can I see who was in the distribution group before it was converted?

Only if Audit Distribution Group Management was enabled, which logs members added to distribution groups as 4746, 4751 and 4761. Microsoft recommends that subcategory only when needed. Otherwise read the group's current members right after the conversion.

References