Common Information
Type Value
Value
Scheduled Task - T1053.005
Category Attack-Pattern
Type Mitre-Attack-Pattern
Misp Type Cluster
Description Adversaries may abuse the Windows Task Scheduler to perform task scheduling for initial or recurring execution of malicious code. There are multiple ways to access the Task Scheduler in Windows. The [schtasks](https://attack.mitre.org/software/S0111) utility can be run directly on the command line, or the Task Scheduler can be opened through the GUI within the Administrator Tools section of the Control Panel. In some cases, adversaries have used a .NET wrapper for the Windows Task Scheduler, and alternatively, adversaries have used the Windows netapi32 library to create a scheduled task. The deprecated [at](https://attack.mitre.org/software/S0110) utility could also be abused by adversaries (ex: [At](https://attack.mitre.org/techniques/T1053/002)), though <code>at.exe</code> can not access tasks created with <code>schtasks</code> or the Control Panel. An adversary may use Windows Task Scheduler to execute programs at system startup or on a scheduled basis for persistence. The Windows Task Scheduler can also be abused to conduct remote Execution as part of Lateral Movement and/or to run a process under the context of a specified account (such as SYSTEM). Similar to [System Binary Proxy Execution](https://attack.mitre.org/techniques/T1218), adversaries have also abused the Windows Task Scheduler to potentially mask one-time execution under signed/trusted system processes.(Citation: ProofPoint Serpent) Adversaries may also create "hidden" scheduled tasks (i.e. [Hide Artifacts](https://attack.mitre.org/techniques/T1564)) that may not be visible to defender tools and manual queries used to enumerate tasks. Specifically, an adversary may hide a task from `schtasks /query` and the Task Scheduler by deleting the associated Security Descriptor (SD) registry value (where deletion of this value must be completed using SYSTEM permissions).(Citation: SigmaHQ)(Citation: Tarrask scheduled task) Adversaries may also employ alternate methods to hide tasks, such as altering the metadata (e.g., `Index` value) within associated registry keys.(Citation: Defending Against Scheduled Task Attacks in Windows Environments)
Details Published Attributes CTI Title
Details Website 2013-08-27 11 Did It Execute? | Mandiant
Details Website 2013-07-09 13 Owning Unix and Windows systems with a (somewhat) limited vulnerability
Details Website 2013-07-06 31 HowTo: Determine Program Execution
Details Website 2013-01-15 3 PowerShell Basics–Using the Help Subsystem
Details Website 2012-12-01 27 MSERT (Microsoft Safety Scanner) and PowerShell
Details Website 2012-11-02 4 Scheduled task triggers
Details Website 2012-05-04 0 Links and Tools
Details Website 2012-03-03 0 Immediate Response
Details Website 2010-01-05 33 How to Document Servers with SYDI
Details Website 2009-09-11 5 At
Details Website 2009-04-11 6 Abusing the Scheduler with Meterpreter
Details Website 2009-02-21 2 Looking for "Bad Stuff", part I