CyberKit

Event IDs

Security event 4699

A scheduled task was deleted

Channel: Security. Category: Object Access: Audit Other Object Access Events (Scheduled Tasks).

What it records

Generated every time an existing scheduled task is deleted, recording the Task Name and the XML content of the deleted task.

Why it matters

Deletion of a scheduled task located directly under the Task Scheduler Library root node can indicate an attacker cleaning up a persistence mechanism after use. Microsoft notes this event does not often occur, so any occurrence involving a known-critical task warrants review.

What triggers it

Routine administrative task cleanup/decommissioning, or an attacker removing a scheduled task used for persistence/execution to cover their tracks after achieving their objective.

Fields that carry the answer

Key fields
FieldWhat it tells you
Task NamePath of the deleted scheduled task. Deletion of a task located directly under the Task Scheduler Library root node can indicate an attacker cleaning up a persistence mechanism.
Task ContentFull XML of the task as it existed at deletion. It preserves the trigger/action/run-as details of what was removed, which is otherwise lost.

In practice

A 4699 for Task Name \Updater (the same root-level task created by an earlier 4698) appears shortly after a burst of suspicious activity subsides, with Task Content preserving the deleted task's <Command> pointing at C:\ProgramData\updater.exe. Deletion of a task Microsoft flags as unusual on its own, paired with the earlier creation event, reads as an intruder cleaning up a persistence mechanism after use.

Sample record

A scheduled task was deleted.

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

ATT&CK techniques

Sources

Paste a record into Event XML or open a log in EVTX Reader.