scheduled task
A job that Windows Task Scheduler runs automatically on a trigger, such as at logon, at startup or every hour.
In more detail
Attackers register tasks to run their code again after reboots and logoffs (ATT&CK T1053.005). Security event 4698 records a new task with its full XML in TaskContent: read its trigger, the account it runs as, its run level and the command.
Related terms
- persistence — Anything an attacker sets up so their access survives reboots, logoffs and password changes, such as a scheduled task or a new key.
- Windows event ID — The number that identifies a type of event in a Windows event log, such as 4625 for a failed logon.
- SYSTEM account — The most powerful built-in Windows account, used by the operating system and many services, with more rights than an administrator.
Taught in
- Cyber Kill Chain vs MITRE ATT&CK Framework — Security Operations & Threat Hunting (SOC)
- Detecting Persistence: Tasks, Registry & Services — Security Operations & Threat Hunting (SOC)