Skip to content

Windows Event ID 4726: A user account was deleted

Written when a user account is deleted. It captures an attacker erasing an account they are done with to hide traces, or the disruptive deletion of a legitimate account.

Overview

The subcategory is Audit User Account Management. It is generated when an account is deleted. Paired with creation 4720, read it across the account’s lifecycle.

How it is triggered

  • Deletion via net user /delete, account deletion in AD, Remove-ADUser, and so on.

Security review points

  • There is a pattern where an attacker deletes an account they created and used during a breach, after achieving their goal, to erase traces (defense evasion). A short sequence of creation 4720, use, then deletion 4726 suggests a coherent attack.
  • Deletion of an important legitimate account (administrator, service account) can mean availability disruption or configuration destruction, so investigate.

Notes for log review

  • It occurs during offboarding (many operations only disable, not delete) and cleanup. Check that the deletion target, acting subject, and timing align with the operational flow.
  • Since deletion loses the account information, reconstruct what the account was by cross-referencing pre-deletion logs such as creation and group addition 4732.

MITRE ATT&CK mapping

TechniqueTacticWhat this event shows
T1070.009 Clear PersistenceStealthDeleting accounts created during the compromise to remove traces
T1531 Account Access RemovalImpactDeletion of important legitimate accounts

Mapping as of ATT&CK v19.2. ATT&CK detection strategy DET0040 (T1070.009) also lists this event ID as a log source. To search by technique, see the ATT&CK reverse lookup.

Detection rules

Microsoft Sentinel has 3 public detection rules that use this event ID as a condition.

RuleTypeSeverity
User account created and deleted within 10 minsSentinel analytics ruleMedium
Long lookback User Account Created and Deleted within 10minsSentinel hunting query-
Tracking Privileged Account Rare ActivitySentinel 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
Target Account\Account NameThe deleted account
Subject\Account NameThe subject that performed the deletion

References