Skip to content
CyberSimStart training

Windows Security log

4698 A scheduled task was created.

A scheduled task was registered. TaskContent holds the full task XML: the trigger, the account it runs as and the command.

Fields to read

FieldWhat it tells you
SubjectUserNameWho created the task.
TaskNameThe path and name, for example \Microsoft\Windows\UpdateOrchestrator\Reboot.
TaskContentThe task XML: look at Actions/Exec/Command and Arguments.

Normal

  • Windows and software updaters (browsers, OneDrive, vendor tools) registering their own tasks.

Suspicious

  • A task under \Microsoft\Windows\ created by a user instead of SYSTEM: something posing as Windows.
  • A command in AppData, Temp or C:\Users\Public, or PowerShell with an encoded command.
  • The same new task appearing on many hosts at once.

Find it

Microsoft Sentinel (KQL)

SecurityEvent
| where EventID == 4698

Splunk (SPL)

index=wineventlog source="XmlWinEventLog:Security" EventCode=4698

Table, index and source names as CyberSim uses them; your workspace may name them differently.

Where you meet it in CyberSim

Cases

Alerts in the shift

The detection lab

ATT&CK techniques it can show

In the glossary

Other Security events

Source: Microsoft Learn: event 4698