Skip to main content
T1053Executionmedium difficulty

Scheduled Task/Job

Scheduled tasks give adversaries timed or recurring execution that survives reboots, making them a favorite for both execution and persistence. Built-ins such as schtasks and the Task Scheduler on Windows, or cron, at, and launchd on Unix, can run code as a chosen account or at startup, even on remote hosts. Defenders watch for task creation referencing encoded PowerShell, user-writable paths, or off-hours timing, plus integrity changes to crontab and cron.d files.

Practice detecting Scheduled Task/Job on realistic XDR, SIEM alerts in SOCSimulator Operations.

XDRSIEM

What is Scheduled Task/Job?

Scheduled Task/Job is documented as technique T1053 in MITRE ATT&CK® v19.1 under the Execution tactic. Detection requires visibility into XDR, SIEM telemetry.

Detection Strategies

The following detection strategies help SOC analysts identify Scheduled Task/Job activity. These methods apply across XDR, SIEM environments and can be implemented as detection rules, correlation queries, or behavioral analytics in your security platform.

  1. 1

    Monitor schtasks.exe and at.exe process creation events, particularly those creating tasks that run at system startup, execute from unusual paths, or use obfuscated command line arguments including encoded PowerShell.

  2. 2

    Audit the Windows Task Scheduler registry keys and XML task definitions for recently created or modified tasks, focusing on tasks using SYSTEM or Administrator accounts and tasks pointing to executable paths in user-writable locations.

  3. 3

    Monitor cron file modifications on Linux systems using file integrity monitoring, alerting on changes to /etc/crontab, /etc/cron.d/, user crontabs, and /etc/rc.local which are commonly abused for persistence.

  4. 4

    Correlate scheduled task creation events with user authentication events to identify tasks created immediately after suspicious logins or during known attack timeframes identified through incident response.

  5. 5

    Alert on scheduled tasks executing PowerShell or cmd.exe with encoded arguments, or tasks that download content from the internet using certutil, bitsadmin, or curl as these patterns indicate malicious use.

Example Alerts

These realistic alert examples show what Scheduled Task/Job looks like in your security tools. Use them to tune detection rules and train analysts to recognize true positives versus false positives in live environments.

HighSIEM

Suspicious Scheduled Task Created for Persistence

New scheduled task created via schtasks.exe named "WindowsUpdateHelper" configured to run at system startup. The task executes PowerShell with an encoded command from a file in %AppData%\Local\Temp. This naming convention and execution pattern is consistent with persistence mechanisms used by multiple commodity malware families.

HighXDR

Scheduled Task Running Encoded PowerShell

Scheduled task fired and executed powershell.exe with -EncodedCommand flag. Decoded payload retrieves a remote script from a CDN domain and executes it in memory without writing to disk. The task was created 6 days ago by an account that has not logged in since, suggesting it was created during a previous compromise that was partially remediated.

CriticalSIEM

Cron Job Added for Backdoor Persistence on Linux Server

File integrity monitoring detected modification to /etc/cron.d/ on a production web server. New cron entry executes a bash script from /tmp/.hidden every 5 minutes. The script establishes a reverse shell connection to an external IP address. The modification timestamp matches a period of unusual SSH authentication activity from an Asian IP address block.

Frequently Asked Questions

How do SOC analysts detect Scheduled Task/Job?
Detection centers on XDR, SIEM telemetry for the execution phase of the attack. Monitor schtasks.exe and at.exe process creation events, particularly those creating tasks that run at system startup, execute from unusual paths, or use obfuscated command line arguments including encoded PowerShell. Audit the Windows Task Scheduler registry keys and XML task definitions for recently created or modified tasks, focusing on tasks using SYSTEM or Administrator accounts and tasks pointing to executable paths in user-writable locations.
What does a Scheduled Task/Job alert look like?
A representative SIEM detection is "Suspicious Scheduled Task Created for Persistence" (high severity): New scheduled task created via schtasks.exe named "WindowsUpdateHelper" configured to run at system startup. The task executes PowerShell with an encoded command from a file in %AppData%\Local\Temp. This naming convention and execution pattern is consistent with persistence mechanisms used by multiple commodity malware families.
Which tools detect Scheduled Task/Job, and how can I practice?
Scheduled Task/Job (T1053) is best surfaced with XDR, SIEM telemetry, which exposes the execution signals described above. Practice detecting it on those exact consoles in SOCSimulator Operations, free.
Glossary

What is IOC? SOC Glossary

An Indicator of Compromise (IOC) is an observable artifact, such as a file hash, IP address, domain name, URL, registry …

Read more
Glossary

What is EDR? SOC Glossary

Endpoint Detection and Response (EDR) is a security technology that continuously monitors endpoint activity, recording p…

Read more
Glossary

What is Alert Triage? SOC Glossary

Alert triage is the structured process of reviewing, prioritizing, and investigating security alerts to determine their …

Read more
Glossary

What is TTPs? SOC Glossary

Tactics, Techniques, and Procedures (TTPs) describe the behavioral patterns, methods, and operational processes threat a…

Read more
Career Path

SOC Analyst (Tier 2) Career Guide: Salary & Skills

Tier 2 SOC Analysts handle the investigations that Tier 1 escalates. You dig into multi-stage attacks, coordinate contai…

Read more
Career Path

Incident Responder Career Guide: Salary & Skills

Incident Responders lead the technical response when confirmed breaches happen. You coordinate containment, run forensic…

Read more
Tool

XDR Training Console: SOCSimulator

The XDR console in SOCSimulator replicates the investigation workflow of platforms like CrowdStrike Falcon, Microsoft De…

Read more
Tool

SIEM Training Console: SOCSimulator

The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…

Read more
Comparison

SOCSimulator Vs. Letsdefend: Platform Comparison

SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…

Read more
Glossary

SOC Glossary: Security Operations Terminology

Complete glossary of Security Operations Center terminology for aspiring SOC analysts.

Read more
Feature

Shift Mode: Real-Time SOC Simulation

Practice alert triage under realistic time pressure with SLA timers and noise injection.

Read more
Feature

Operations: Guided Training Operations

Structured CTF-style investigation operations covering real-world attack scenarios.

Read more