A scheduled task was disabled.
Disabling security-related scheduled tasks (AV update tasks, backup jobs, monitoring heartbeats) to impair defenses.
Alert: disabling of AV, backup, or monitoring tasks.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName | Tactic | Technique |
|---|---|
| Defense Evasion | Impair Defenses (T1562) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 4701 // A scheduled task was disabled
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=4701
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# A scheduled task was disabled — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
A scheduled task was disabled. A scheduled task was disabled.
Event 4701 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Policy Change' subcategory (Success and/or Failure).
Event 4701 is associated with: Impair Defenses (T1562).
Alert: disabling of AV, backup, or monitoring tasks.