What is Scheduled Task/Job?

Using the operating system's own scheduler to run attacker code — at boot, at a set time, or on a trigger. Simple, reliable, survives reboots, and hides among the hundreds of legitimate tasks already there.

Scheduled Task/Job covers abuse of task scheduling facilities — Windows Task Scheduler, cron, systemd timers, container orchestration jobs — for execution, persistence and privilege escalation. It is one of the most common persistence mechanisms in real intrusions because it is trivial to set up, needs no custom code, works remotely, and blends into environments that already contain hundreds of legitimate scheduled tasks with unremarkable names. It can also escalate privilege where a task runs as a more privileged account than the one that can modify it. Defensively the good news is that task creation and modification are logged by default on modern systems, so detection is largely a matter of collecting and reviewing those events, with particular attention to tasks created remotely or running from unusual paths such as user profile or temporary directories. For decision-makers, this is a reminder that eviction requires enumerating persistence mechanisms, not just removing what was found first.

Source: MITRE ATT&CK (T1053).

Practice it in a lab

Free, hands-on labs that teach Scheduled Task/Job. 3 more labs also cover it.

Related terms

All glossary terms

Related