Skip to content

Windows Event ID 4731: A security-enabled local group was created

Written when a security-enabled local group is created. It captures the creation of a group, the unit by which privileges are granted.

Overview

The subcategory is Audit Security Group Management. It is generated when a (security-enabled) local group usable for granting access rights is created. A group is the unit for granting privileges to members in bulk, so creating one signifies a change in the privilege design.

How it is triggered

  • Local group creation via net localgroup <name> /add, Computer Management, New-LocalGroup, and so on.

Security review points

  • An attacker may create their own group to consolidate privileges and accounts in it, for later privilege management or masquerading. Confirm the creating subject and group name are as expected.
  • Creating a group alone grants no privileges, but combine it with the following member addition (4732) and rights grants to that group (4704) to track a privilege-expansion sequence.

Notes for log review

  • Local groups are also created during application installs and legitimate operations. Match against normal patterns of creating subject and group name.
  • Creation of domain global/universal groups is a separate event (4727 / 4754, etc.). Do not confuse those with the local-group 4731.

MITRE ATT&CK mapping

No technique covers group creation directly. Evaluate it together with the member additions (T1098.007 Additional Local or Domain Groups) and right assignments that follow.

Mapping as of ATT&CK v19.2. To search by technique, see the ATT&CK reverse lookup.

Detection rules

SigmaHQ has 1 and Microsoft Sentinel has 2 public detection rules that use this event ID as a condition.

RuleTypeSeverity
Group created then added to built in domain local or global groupSentinel analytics ruleMedium
Potential Exploitation of CVE-2024-37085 - Suspicious ESX Admins Group ActivitySigma (threat-specific)High
Group added to Built in Domain Local or Global GroupSentinel hunting query-

Rules are collected from SigmaHQ r2026-07-01 and from Azure-Sentinel as of 2026-10-09, limited to those whose conditions include this event ID. Sentinel rules are limited to those that query the SecurityEvent or WindowsEvent table. “Threat-specific” rules target a particular threat group or malware, and “needs setup” rules require values for your environment. Severity is the value each rule’s author assigned.

Key fields

FieldMeaning
New Group\Group NameThe created group name
Subject\Account NameThe subject that created the group

References