Service failed to log on with its configured service account.
Credential changes to service accounts (password changes, account locks) causing service failures. Attackers changing service account passwords to disrupt security services.
Alert: logon failure for security tool service accounts. Investigate who changed the service account credentials.
param1param2Computer | Tactic | Technique |
|---|---|
| Impact | Account Access Removal (T1531) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
Event
| where EventLog == "System" and EventID == 7038 // The service was unable to log on as the configured account
// EventData holds: param1, param2, Computer
| project TimeGenerated, Computer, RenderedDescription
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:System" EventCode=7038
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# The service was unable to log on as the configured account — add EventData fields: param1, param2, Computer`
The service was unable to log on as the configured account. Service failed to log on with its configured service account.
Event 7038 is written to the System channel by Service Control Manager / Kernel. Logged by default in the System channel; no audit policy required.
Event 7038 is associated with: Account Access Removal (T1531).
Alert: logon failure for security tool service accounts. Investigate who changed the service account credentials.