Skip to content
SOC Analyst Role
  • Loading index…

↑↓ navigate · ↵ open · Esc close

en

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.

high prioritySecurity logPrivilegeMITRE T1098

Where it is logged

Security log on the machine whose local group changed: the endpoint or server itself, or a DC for domain-local groups. Requires Audit Security Group Management success auditing; it is often not enabled on workstations by default, so enforce it via GPO and forward endpoint Security logs.

Key fields to read

FieldWhat it tells you
TargetUserNameThe local group that was modified, e.g. Administrators or Remote Desktop Users.
TargetDomainNameBuiltin for built-in local groups, or the computer/domain name for others.
MemberSidSID of the added account. For local accounts MemberName is often -, so the SID is the reliable value.
MemberNameDistinguished name of the added account when it is a domain account.
SubjectUserNameAccount that performed the change (a local admin, domain admin or SYSTEM for GPO-driven changes).
SubjectLogonIdSession of the operator; pivot to 4624 and 4688 to see how and with what tool the change was made.

Sample event

4732 — synthetic example
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

  1. 1Identify the group (TargetUserName, TargetSid such as S-1-5-32-544 Administrators or S-1-5-32-555 Remote Desktop Users) and the host.
  2. 2Resolve MemberSid to an account; a local SID ending in -1000+ is a local user, so check for a preceding 4720 on the same host.
  3. 3Check for a ticket or known admin activity by SubjectUserName; confirm whether this user is expected to be a local admin.
  4. 4Pivot on SubjectLogonId to 4688/Sysmon 1 to find the command used (net localgroup administrators ... /add, PowerShell Add-LocalGroupMember).
  5. 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 SYSTEM or 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.exe spawned by Office or a browser.
  • Additions to Remote Desktop Users on servers or DCs without a request, especially followed by type 10 logons from unusual IPs.
  • Changes to BUILTIN\Administrators on a domain controller (equivalent to domain admin on DCs).

Hunt for it: Splunk & KQL

Splunk SPL
index=wineventlog EventCode=4732 TargetUserName IN ("Administrators", "Remote Desktop Users")
  SubjectUserName!="*$"
| table _time, host, SubjectUserName, TargetUserName, MemberName, MemberSid
| sort - _time
Sentinel KQL
// 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, MemberSid

Field 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.

More SOC interview questions

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.