Adversaries may abuse task scheduling functionality to facilitate initial or recurring execution of malicious code. Utilities exist within all major operating systems to schedule programs or scripts to be executed at a specified date and time. A task can also be scheduled on a remote system, provided the proper authentication is met (ex: RPC and file and printer sharing in Windows environments). Scheduling a task on a remote system typically requires being a member of an admin or otherwise privileged group on the remote system.(Citation: TechNet Task Scheduler Security)
Adversaries may use task scheduling to execute programs at system startup or on a scheduled basis for persistence. These mechanisms can also be abused to run a process under the context of a specified account (such as one with elevated permissions/privileges).
View in MITRE ATT&CK®Technique ID | Technique Name | Number of Mappings |
---|---|---|
T1053.001 | At (Linux) | 10 |
T1053.002 | At (Windows) | 15 |
T1053.003 | Cron | 12 |
T1053.004 | Launchd | 9 |
T1053.005 | Scheduled Task | 17 |
T1053.006 | Systemd Timers | 12 |