Event ID 4725: A user account was disabled
Event ID 4725 records that an account was disabled, a reversible state change that blocks logon domain-wide while leaving the account object intact. The pattern worth alerting on is a security or backup service account disabled outside any documented maintenance window, since that is a known pre-ransomware impact step.
What Triggers Event 4725
Event 4725 records that an account was disabled, a state change that blocks the account from logging on anywhere in the domain while leaving the account object itself, its SID, its group memberships, and its attribute history, fully intact. That reversibility is the defining difference from deletion, 4726: a disabled account can be re-enabled in seconds by anyone with the right permission, which is exactly why disabling is the tool of choice for both routine offboarding and, less benignly, for deliberately locking someone out without the finality of removing them.
SubjectUserSid, SubjectUserName, and SubjectLogonId identify who performed the disable, correlating back to that Subject's own 4624 logon. TargetUserName, TargetSid, and TargetDomainName identify the account that was disabled. In the routine case this is IT or HR-driven: an employee's last day, a contractor's engagement ending, a compromised account being disabled defensively while an investigation runs. None of those cases need Subject and Target to be anything other than a known admin account and a known departing user.
The pattern that separates routine offboarding from something worth escalating is the Target's role, not the act of disabling itself. A standard user account disabled during business hours by a known HR-integrated provisioning tool or a known IT admin is the overwhelming majority case and rarely needs review beyond a periodic audit. A security-relevant service account, a backup agent's authentication identity, a monitoring tool's credential, or an EDR or SIEM forwarder's account disabled at any time is categorically different, because disabling those specific accounts does not remove a user's access, it removes a defense.
MITRE catalogs this second pattern under T1531, Account Access Removal, an impact-stage technique distinct from privilege escalation: the goal is not gaining more access, it is denying recovery capability to the defenders who would otherwise detect, respond to, or roll back an attack already underway. Disabling a backup service's account ahead of a destructive action removes the ability to restore from backup after the fact. Disabling a monitoring or SIEM-forwarding account blinds the very telemetry pipeline that would have caught the disable event itself, which is why this specific event, ironically, sometimes represents the last clean signal before visibility degrades.
A second pattern worth its own detection logic is volume: a wave of account disables hitting many distinct Target accounts inside a short window. Legitimate mass-disable events do happen, a scripted contractor-offboarding batch, a compliance-driven account cleanup, but they are traceable to a known automation identity and typically fall inside a documented change window. An unannounced, high-volume disable wave is a recognized precursor and companion action to ransomware deployment, used to lock users and responders out of the environment while the primary attack proceeds.
Event 4725 Fields
| Field | What it tells you | Simulated value |
|---|---|---|
SubjectUserSid | SID of the account that performed the disable operation. | S-1-5-21-424242-1050 |
SubjectUserName | Account name that performed the disable operation. | adm.lopez |
SubjectLogonId | Logon session ID of the Subject, correlates back to their 4624. | 0x2d71f6 |
TargetUserName | Account name that was disabled. | svc.inventory |
TargetSid | SID of the account that was disabled. | S-1-5-21-424242-786183 |
TargetDomainName | Domain or computer name of the account that was disabled. | corp.socsimulator.example |
Inspect Event 4725 Values
Click a field to inspect the full simulated value, the way you would expand it in a SIEM event view.
Example Event 4725 Log
A representative Security entry for Event 4725, generated deterministically by our telemetry engine so every field holds a realistic, internally consistent value.
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Security-Auditing" />
<EventID>4725</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2025-02-11T17:49:16.000Z" />
<EventRecordID>611167</EventRecordID>
<Channel>Security</Channel>
<Computer>WS-SIM-001.corp.socsimulator.example</Computer>
<Security />
</System>
<EventData>
<Data Name="SubjectUserSid">S-1-5-21-424242-1050</Data>
<Data Name="SubjectUserName">adm.lopez</Data>
<Data Name="SubjectLogonId">0x2d71f6</Data>
<Data Name="TargetUserName">svc.inventory</Data>
<Data Name="TargetSid">S-1-5-21-424242-786183</Data>
<Data Name="TargetDomainName">corp.socsimulator.example</Data>
</EventData>
</Event>Detecting Event 4725
Security or backup service account disabled outside a maintenance window (ransomware impact prep, T1531)
index=wineventlog sourcetype=WinEventLog:Security EventCode=4725 | lookup security_service_accounts.csv Target_Account_Name OUTPUT is_security_svc | where is_security_svc="true" | table _time, Subject_Account_Name, Target_Account_Name
Mass account-disable wave (ransomware or destructive-impact stage, many Targets in a short window)
index=wineventlog sourcetype=WinEventLog:Security EventCode=4725 | bucket _time span=1h | stats dc(Target_Account_Name) as disabled_count by _time | where disabled_count >= 10
Account disabled by someone outside the IT/help-desk group
index=wineventlog sourcetype=WinEventLog:Security EventCode=4725 | lookup helpdesk_admins.csv Subject_Account_Name OUTPUT is_helpdesk | where isnull(is_helpdesk) | table _time, Subject_Account_Name, Target_Account_Name
True Positive vs False Positive
The baseline for 4725 in most organizations is narrow, similar in shape to 4724's reset pattern: a small, known set of HR-integrated provisioning tools and IT-admin accounts disabling standard user accounts during business hours, each one traceable to an offboarding ticket or an HR system event. That narrowness makes deviations comparatively easy to spot without heavy tuning.
Target role is the single highest-leverage triage axis for this event. Maintain an explicit, actively curated list of security-relevant service accounts, backup agents, EDR and SIEM forwarders, monitoring credentials, and any account whose disablement would blind or cripple your ability to detect or recover from an incident. Any 4725 against an account on that list, from any Subject, at any time, deserves an immediate page rather than a queued review, because the cost of a false alarm here is trivial compared to the cost of a missed one.
Subject identity remains the secondary check for standard-user disables: a disable performed by an account outside your known HR-provisioning or help-desk population is worth investigating even against a low-sensitivity Target, since it means someone or something outside the normal offboarding path is exercising this permission, and that alone is worth understanding regardless of whether the specific disable turns out to be legitimate.
Volume is the third axis and the one most directly tied to the impact-stage risk this event carries. A disable wave, many distinct Target accounts disabled within an hour, should trigger an alert regardless of which accounts are affected, because the pattern itself, independent of any single account's sensitivity, is the recognized precursor to environment-wide impact. Set the threshold low relative to your organization's normal offboarding cadence; a genuine HR-driven batch process is easy to allowlist by Subject account once identified, and everything outside that allowlist reaching the same volume threshold deserves scrutiny.
False positives concentrate almost entirely around under-documented automation: HR-system integrations, identity-governance platforms, and contractor-lifecycle tools that disable accounts as part of routine, policy-driven processes but were never explicitly added to the known-good Subject list. The fix, as with several of this event's siblings, is documenting and allowlisting those automation identities explicitly, since an undocumented account with disable rights is an audit gap that deserves closing on its own merits, independent of whether any specific disable it performs turns out to be malicious.
Practice Investigating Event 4725
No published room targets Event 4725 directly yet. The detection skills transfer, though: practice alert triage on realistic consoles across 37 free rooms in SOCSimulator Operations.
Browse free operationsFrequently Asked Questions
- What does event ID 4725 mean?
- It means an account was disabled, blocking it from logging on anywhere in the domain while leaving the account object itself intact. It names both the Subject who disabled it and the Target account affected.
- What is the difference between event 4725 and event 4726?
- 4725 disables an account, a reversible state change that keeps the account object and its SID intact. 4726 deletes the account object entirely, which cannot be undone by re-enabling. Only an Active Directory Recycle Bin restore or a backup brings the original SID back, while re-creating the account issues a new one.
- Why would ransomware operators disable accounts before deploying?
- Disabling backup, monitoring, and security-tooling service accounts removes the defenses that would detect or roll back the attack, and disabling IT admin accounts delays the response team's ability to intervene once encryption starts. Both are impact-stage actions under MITRE T1531.
Sources
“Field schema (SubjectUserSid/SubjectUserName/SubjectLogonId/TargetUserName/TargetSid/TargetDomainName) for the account-disabled event”
“T1531 Account Access Removal covers disabling accounts to inhibit system recovery, the basis for treating a service-account disable as impact-stage sabotage”
Related SOC Training Resources
Event ID 4720: User Account Created & How to Detect It
Event ID 4720 logs every new user account, local or domain. Learn the SubjectUserName vs TargetUserName fields and detec…
Read more Event IDEvent ID 4723: Password Change Attempt (Self-Service) & Detection
Event ID 4723 fires when a user changes their own password. Learn the difference from 4724, the Audit Failure signal, an…
Read more Event IDEvent ID 4724: Password Reset Attempt & How to Catch Mass Resets
Event ID 4724 fires when someone resets another account's password. Learn the Subject/Target fields, the 4724 vs 4723 di…
Read more GlossaryWhat is Persistence? SOC Glossary
Persistence is the set of techniques an adversary uses to keep access to a compromised system after whatever gave them t…
Read more GlossaryWhat is Least Privilege? SOC Glossary
The principle of least privilege states that users, processes, and systems should hold only the minimum access rights re…
Read more GlossaryWhat is SIEM? SOC Glossary
Security Information and Event Management (SIEM) is a platform that aggregates, normalizes, and correlates log data from…
Read more Career PathSOC Analyst (Tier 1) Career Guide: Salary & Skills
Tier 1 SOC Analysts are the front line. You monitor alert queues, triage incoming detections, classify them as true or f…
Read more Career PathIncident Responder Career Guide: Salary & Skills
Incident Responders lead the technical response when confirmed breaches happen. You coordinate containment, run forensic…
Read more ComparisonSOCSimulator vs. LetsDefend: Platform Comparison
SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…
Read more Event IDWindows Event ID Library: SOC Reference
Windows Security and Sysmon event IDs with simulated log samples, field tables, and tested detection queries.
Read more FeatureShift Mode: Real-Time SOC Simulation
Practice alert triage under realistic time pressure with SLA timers and noise injection.
Read more FeatureOperations: Guided Training Operations
Structured CTF-style investigation operations covering real-world attack scenarios.
Read more