Common Information
Type Value
Value
Scheduled Task - T1053
Category Attack-Pattern
Type Mitre-Enterprise-Attack-Attack-Pattern
Misp Type Cluster
Description Utilities such as at and schtasks, along with the Windows Task Scheduler, can be used to schedule programs or scripts to be executed at a date and time. A task can also be scheduled on a remote system, provided the proper authentication is met to use RPC and file and printer sharing is turned on. Scheduling a task on a remote system typically required being a member of the Administrators group on the the remote system. (Citation: TechNet Task Scheduler Security) An adversary may use task scheduling to execute programs at system startup or on a scheduled basis for persistence, to conduct remote Execution as part of Lateral Movement, to gain SYSTEM privileges, or to run a process under the context of a specified account. Detection: Monitor scheduled task creation from common utilities using command-line invocation. Legitimate scheduled tasks may be created during installation of new software or through system administration functions. Monitor process execution from the <code>svchost.exe</code> in Windows 10 and the Windows Task Scheduler <code>taskeng.exe</code> for older versions of Windows. (Citation: Twitter Leoloobeek Scheduled Task) If scheduled tasks are not used for persistence, then the adversary is likely to remove the task when the action is complete. Monitor Windows Task Scheduler stores in <code>%systemroot%\System32\Tasks</code> for change entries related to scheduled tasks that do not correlate with known software, patch cycles, etc. Data and events should not be viewed in isolation, but as part of a chain of behavior that could lead to other activities, such as network connections made for Command and Control, learning details about the environment through Discovery, and Lateral Movement. Configure event logging for scheduled task creation and changes by enabling the "Microsoft-Windows-TaskScheduler/Operational" setting within the event logging service. (Citation: TechNet Forum Scheduled Task Operational Setting) Several events will then be logged on scheduled task activity, including: (Citation: TechNet Scheduled Task Events) *Event ID 106 - Scheduled task registered *Event ID 140 - Scheduled task updated *Event ID 141 - Scheduled task removed Tools such as Sysinternals Autoruns may also be used to detect system changes that could be attempts at persistence, including listing current scheduled tasks. (Citation: TechNet Autoruns) Look for changes to tasks that do not correlate with known software, patch cycles, etc. Suspicious program execution through scheduled tasks may show up as outlier processes that have not been seen before when compared against historical data. Monitor processes and command-line arguments for actions that could be taken to create tasks. Remote access tools with built-in features may interact directly with the Windows API to perform these functions outside of typical system utilities. Tasks may also be created through Windows system management tools such as Windows Management Instrumentation and PowerShell, so additional logging may need to be configured to gather the appropriate data. Platforms: Windows Data Sources: File monitoring, Process command-line parameters, Process monitoring, Windows event logs Effective Permissions: Administrator, SYSTEM, User Permissions Required: Administrator, SYSTEM, User Remote Support: Yes Contributors: Travis Smith, Tripwire, Leo Loobeek, @leoloobeek, Alain Homewood, Insomnia Security
Details Published Attributes CTI Title
Details Website 2024-11-15 33 DONOT's Attack On Maritime & Defense Manufacturing
Details Website 2024-11-13 55 HawkEye Malware: Technical Analysis
Details Website 2024-11-13 55 HawkEye Malware: Technical Analysis - ANY.RUN's Cybersecurity Blog
Details Website 2024-11-13 55 HawkEye | PredatorPain
Details Website 2024-11-12 122 Hamas-affiliated Threat Actor WIRTE Continues its Middle East Operations and Moves to Disruptive Activity
Details Website 2024-11-12 122 Hamas-affiliated Threat Actor WIRTE Continues its Middle East Operations and Moves to Disruptive Activity - Check Point Research
Details Website 2024-11-12 1 Interlock Ransomware Detection: High-Profile and Double-Extortion Attacks Using a New Ransomware Variant - SOC Prime
Details Website 2024-11-12 13 LodaRAT: Established malware, new victim patterns | Rapid7 Blog
Details Website 2024-11-12 1 SOC Prime Threat Bounty Digest — October 2024 Results - SOC Prime
Details Website 2024-11-12 0 Automate secure introduction of HashiCorp Vault clients without platform identity
Details Website 2024-11-12 35 Lock5 (Medusa Ransomware)
Details Website 2024-11-11 19 [Blue Team Labs Online Write-up] Ozarks
Details Website 2024-11-11 17 KQL KC7 — A Scandal in Valdoria Part 1
Details Website 2024-11-10 3 🚨 Malicious PyPI Package Steals AWS Keys 🚨
Details Website 2024-11-10 10 AsyncRAT's Infection Tactics via Open Directories: Technical Analysis - Cybersecurity Insiders
Details Website 2024-11-08 71 Breaking Down Earth Estries Persistent TTPs in Prolonged Cyber Operations
Details Website 2024-11-08 4 The Good, the Bad and the Ugly in Cybersecurity - Week 45
Details Website 2024-11-07 33 AsyncRAT’s Infection Tactics via Open Directories: Technical Analysis
Details Website 2024-11-07 33 Analysis of AsyncRAT's Infection Tactics via Open Directories
Details Website 2024-11-07 66 European diplomats targeted by APT29 (Cozy Bear) with WINELOADER
Details Website 2024-11-07 18 SUNSPOT Malware: A Technical Analysis | CrowdStrike
Details Website 2024-11-06 102 Threat Campaign Spreads Winos4.0 Through Game Application | FortiGuard Labs
Details Website 2024-11-06 26 Bengal cat lovers in Australia get psspsspss’d in Google-driven Gootloader campaign
Details Website 2024-11-06 44 GodFather Malware Targets 500 Banking & Crypto Apps Worldwide
Details Website 2024-11-04 102 Cloudy With a Chance of RATs: Unveiling APT36 and the Evolution of ElizaRAT