← cd ~/events
// events/4732 · Groups
Event ID 4732A member was added to a security-enabled local group
A member was added to a local security group (or a domain local group on a DC). One event per member added.
| Log | Security |
|---|---|
| Source | Microsoft-Windows-Security-Auditing |
| Area | Groups |
What to check
Alert on changes to high-value groups such as the built-in Administrators group.
Find it with PowerShell
Run on the machine that logs it, as an administrator.
Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4732 } -MaxEvents 50 |
Format-List TimeCreated, Id, MessageHunt for it in Sentinel or Log Analytics
Security events land in the SecurityEvent table when you collect them with the Windows Security Events connector or a data collection rule.
SecurityEvent
| where TimeGenerated > ago(7d)
| where EventID == 4732
| project TimeGenerated, Computer, Account, Activity
| order by TimeGenerated descRelated Groups events
- Event ID 4733: A member was removed from a security-enabled local group
- Event ID 4728: A member was added to a security-enabled global group
- Event ID 4729: A member was removed from a security-enabled global group
- Event ID 4756: A member was added to a security-enabled universal group
- Event ID 4757: A member was removed from a security-enabled universal group