Execution · Persistence · Privilege Escalation · ATT&CK v20
T1053.005 Scheduled Task/Job: Scheduled Task
A Persistence technique. Keeping access across reboots, password changes and clean-ups.
- T1053.005Technique ID
- Execution, Persistence, Privilege EscalationTactics
- 11Places taught
What the attacker does
The attacker creates a scheduled task on Windows to run their code at logon, at startup or on a timer, locally or on a remote machine.
How it shows up in the logs
- Security 4698 (task created) or 4702 (task updated), with the task XML in the event.
- TaskScheduler Operational 106 (registered) and 200 or 201 (action started or completed).
- schtasks /create in process creation logs, a task name that imitates a vendor, and an action in a user-writable path.
Questions to ask in triage
- What does the task run, as which account, and on what trigger?
- Who created it, and from which host?
- Is the same task on other machines?
Read T1053.005 on attack.mitre.org
A sub-technique of T1053.
Where you meet it in CyberSim
Detection rules in the shift
Alerts tagged with this technique, the way Sentinel tags an analytics rule.
- Installer child process created a scheduled task and an outbound connection
- Scheduled task created
- Scheduled task created by a user
- Scheduled task pushed to the domain via GPO
In the detection lab
Write the rule yourself.
- Suspicious scheduled task created
In the theory
In the hands-on labs
A simulated machine in your browser.
In the cases
Part of the answer in 1 investigation, in this learning path:
Which case is not said here: finding it is the case.
Events that can show it
- Event ID 4698: A scheduled task was created.
- Event ID 7045: A service was installed in the system.
- Sysmon event 13: RegistryEvent (Value Set)
In the glossary
More Persistence techniques
- T1053.003 Scheduled Task/Job: Cron
- T1098 Account Manipulation
- T1098.003 Account Manipulation: Additional Cloud Roles
- T1098.004 Account Manipulation: SSH Authorized Keys
- T1098.005 Account Manipulation: Device Registration
- T1136.001 Create Account: Local Account
- T1136.002 Create Account: Domain Account
- T1505.003 Server Software Component: Web Shell
- T1543.002 Create or Modify System Process: Systemd Service
- T1543.003 Create or Modify System Process: Windows Service
- T1547.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder
- T1556.006 Modify Authentication Process: Multi-Factor Authentication
Source: MITRE ATT&CK T1053.005, tactic TA0003.