Security event 4700
A scheduled task was enabled
Channel: Security. Category: Object Access: Audit Other Object Access Events (Scheduled Tasks).
What it records
Generated every time a scheduled task is enabled (a task must be enabled to run at its scheduled time), recording the Task Name and its XML content.
Why it matters
Useful for detecting re-activation of a dormant task, e.g., an attacker or malware re-enabling a previously disabled scheduled task to resume a persistence mechanism without recreating it (which would trigger the more heavily scrutinized 4698).
What triggers it
Administrative re-enabling of a task after maintenance, or an adversary flipping a previously disabled malicious task back on.
Fields that carry the answer
| Field | What it tells you |
|---|---|
| Task Name | Path of the re-enabled task, useful for catching an attacker or malware reactivating a previously disabled persistence mechanism without recreating it (which would trigger 4698). |
| Task Content | Full XML of the task at the time it was enabled, which confirms what action/schedule is about to resume running. |
In practice
Task Name \Microsoft\Windows\WindowsUpdate\UpdateAssistant is enabled by CORP\svcadmin as part of routine patch management. Unremarkable. The same event firing for \Updater\SyncHelper under Subject CORP\jsmith, a task that had sat disabled for months, is worth pulling the Task Content XML for, since quietly re-enabling a dormant task is a stealthier way to resume persistence than creating a fresh one (which would trigger the more scrutinized 4698).
Sample record
A scheduled task was enabled.
Subject:
Security ID: S-1-5-21-3457937927-2839227994-823803824-1104
Account Name: jsmith
Account Domain: CORP
Logon ID: 0x2A9F31
Task Information:
Task Name: \Microsoft\Windows\UpdateOrchestrator\UpdateCheck
Task Content: <?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<Settings>
<Enabled>true</Enabled>
</Settings>
<Actions Context="Author">
<Exec>
<Command>C:\Windows\Temp\update.exe</Command>
</Exec>
</Actions>
</Task>ATT&CK techniques
- T1053.005: Scheduled Task
Sources
Paste a record into Event XML or open a log in EVTX Reader.