Security · Privilege
4732 · A member was added to a security-enabled local group
Logged when an account is added to a security-enabled local group, either on a member server or workstation (the machine's own Administrators or Remote Desktop Users) or a domain-local group on a DC such as BUILTIN\Administrators. Attackers use it to plant a backdoor admin or RDP account on a host they already control, so an unticketed 4732 on a server or DC is a high-priority review.
Where it is logged
Key fields to read
| Field | What it tells you |
|---|---|
| TargetUserName | The local group that was modified, e.g. Administrators or Remote Desktop Users. |
| TargetDomainName | Builtin for built-in local groups, or the computer/domain name for others. |
| MemberSid | SID of the added account. For local accounts MemberName is often -, so the SID is the reliable value. |
| MemberName | Distinguished name of the added account when it is a domain account. |
| SubjectUserName | Account that performed the change (a local admin, domain admin or SYSTEM for GPO-driven changes). |
| SubjectLogonId | Session of the operator; pivot to 4624 and 4688 to see how and with what tool the change was made. |
Sample event
Log Name: Security
EventID: 4732
TimeCreated: 2026-11-20T22:07:51.880Z
Computer: NW-FIN-WS07.northwind.local
SubjectUserName: m.okafor
SubjectDomainName: NORTHWIND
SubjectLogonId: 0x3D2E91
MemberName: -
MemberSid: S-1-5-21-1180699209-877415012-3182924384-1004
TargetUserName: Administrators
TargetDomainName: Builtin
TargetSid: S-1-5-32-544
PrivilegeList: -How to triage it
- 1Identify the group (
TargetUserName,TargetSidsuch asS-1-5-32-544Administrators orS-1-5-32-555Remote Desktop Users) and the host. - 2Resolve
MemberSidto an account; a local SID ending in-1000+ is a local user, so check for a preceding 4720 on the same host. - 3Check for a ticket or known admin activity by
SubjectUserName; confirm whether this user is expected to be a local admin. - 4Pivot on
SubjectLogonIdto 4688/Sysmon 1 to find the command used (net localgroup administrators ... /add, PowerShellAdd-LocalGroupMember). - 5Look for follow-on use of the new membership: RDP logons (4624 type 10), service installs (7045) or credential access.
Benign vs suspicious
Usually benign
- GPO Restricted Groups or LAPS/endpoint management tooling enforcing local admin membership (operator often
SYSTEMor the computer account). - IT granting temporary local admin for a software install, documented in a ticket.
- New server build scripts adding the server admin group during provisioning.
Red flags
- A newly created local account (4720 on the same host minutes earlier) added to
Administrators. - The operator is a standard user account, or the change came from
cmd.exe/powershell.exespawned by Office or a browser. - Additions to
Remote Desktop Userson servers or DCs without a request, especially followed by type 10 logons from unusual IPs. - Changes to
BUILTIN\Administratorson a domain controller (equivalent to domain admin on DCs).
Hunt for it: Splunk & KQL
index=wineventlog EventCode=4732 TargetUserName IN ("Administrators", "Remote Desktop Users")
SubjectUserName!="*$"
| table _time, host, SubjectUserName, TargetUserName, MemberName, MemberSid
| sort - _time// Sentinel SecurityEvent: new local admin / RDP group members, excluding computer-account (GPO) changes
SecurityEvent
| where TimeGenerated > ago(7d)
| where EventID == 4732
| where TargetSid in ("S-1-5-32-544", "S-1-5-32-555")
| where SubjectUserName !endswith "$"
| project TimeGenerated, Computer, Operator = SubjectUserName, Group = TargetUserName, MemberName, MemberSidField names depend on your add-on and table. More translations in the Splunk vs KQL cheat sheet.
Interview question
“How would you detect an attacker creating a backdoor local admin on a workstation?”
✓ Strong answer sketch
I would correlate a 4720 local account creation with a 4732 adding that same SID to Administrators (S-1-5-32-544) on the same host within a short window. I would also hunt process telemetry (4688 or Sysmon 1) for net user /add and net localgroup administrators /add command lines, which tells me which parent process made the change. Legitimate local admin assignment is usually done by GPO or management tooling running as SYSTEM, so a human operator or an Office-spawned shell stands out. Finally, I would check whether the new account then logged on via RDP or network logons.
Frequently asked questions
Why is MemberName "-" in Event 4732?
When the added account is a local account (not a domain object) there is no distinguished name, so Windows writes -. Use MemberSid and resolve it on that host.
Does 4732 fire for the Remote Desktop Users group?
Yes. Any security-enabled local or domain-local group, including Remote Desktop Users, Backup Operators and Administrators, logs 4732 when a member is added.