A user account was disabled. TargetUserName=disabled account.
Disabling security service accounts or IT admin accounts sabotages incident response. Also pre-ransomware: attackers disable backup accounts before deploying payloads.
Alert: security/IT/backup service accounts disabled. Alert: disabling by non-expected admin. Correlate with 4726 (deletion) — disable-then-delete is cleanup pattern.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName | Tactic | Technique |
|---|---|
| Impact | Account Access Removal (T1531) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 4725 // A user account was disabled
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=4725
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# A user account was disabled — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
A user account was disabled. A user account was disabled. TargetUserName=disabled account.
Event 4725 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Account Management' subcategory (Success and/or Failure).
Event 4725 is associated with: Account Access Removal (T1531).
Alert: security/IT/backup service accounts disabled. Alert: disabling by non-expected admin. Correlate with 4726 (deletion) — disable-then-delete is cleanup pattern.