T1053 Scheduled Task/Job
ExecutionPersistencePrivilege Escalationon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0094 Cross-Platform Behavioral Detection of Scheduled Task/Job Abuse
AN0258 Windows
Detects creation or modification of scheduled tasks using schtasks.exe, at.exe, or COM objects followed by execution of outlier processes tied to the scheduled job.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4698 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=2 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
AN0259 Linux
Detects creation or modification of cron jobs via crontab, /etc/cron.* directories, or systemd timer units with execution by unusual users or non-standard intervals.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLwrite, rename | Not mapped to Sentinel yet. |
auditd:SYSCALLexecve | Not mapped to Sentinel yet. |
linux:osquerycrontab, systemd_timers | Not mapped to Sentinel yet. |
AN0260 macOS
Detects creation or alteration of LaunchAgents or LaunchDaemons with corresponding plist modification followed by execution of associated binaries.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogprocess launch | Not mapped to Sentinel yet. |
fs:fsusagedisk activity on /Library/LaunchAgents or LaunchDaemons | Not mapped to Sentinel yet. |
macos:osquerylaunchd_jobs | Not mapped to Sentinel yet. |
AN0261 Containers
Detects unusual use of `cron` or `sleep` loops inside containers executing unfamiliar scripts or binaries repeatedly.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve | Not mapped to Sentinel yet. |
containerd:runtimefile change monitoring within /etc/cron.*, /tmp, or mounted volumes | Not mapped to Sentinel yet. |
AN0262 ESXi
Detects modification of ESXi cron jobs, local.sh scripts, or scheduled API calls to persist custom binaries or shell scripts.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:vmkernelStartup script and task execution logs | Not mapped to Sentinel yet. |
esxi:hostdshell access or job registration | Not mapped to Sentinel yet. |
esxi:cronmanual edits to /etc/rc.local.d/local.sh or cron.d | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (32)
- AV detections related to Tarrask malware
- Critical Risks
- CYFIRMA - High severity File Hash Indicators with Block Action and Malware
- CYFIRMA - High severity Trojan Network Indicators - Block Recommended Rule
- CYFIRMA - High severity Trojan Network Indicators - Monitor Recommended Rule
- CYFIRMA - Medium severity File Hash Indicators with Block Action and Malware
- CYFIRMA - Medium severity Trojan Network Indicators - Block Recommended Rule
- CYFIRMA - Medium severity Trojan Network Indicators - Monitor Recommended Rule
- Google SecOps - Multi-Event Correlated Alert
- Mimecast Secure Email Gateway - AV
- Mimecast Secure Email Gateway - AV
- Mimecast Secure Email Gateway - Virus
- Mimecast Secure Email Gateway - Virus
- New Agent Added to Pool by New User or Added to a New OS Type
- Pathlock TDnR - SAP Batch Job Events
- Pathlock TDnR - SAP System Job Monitoring Events
- Powershell Empire Cmdlets Executed in Command Line
- Vulerabilities
- AWSCloudTrail - Lambda function code updated
- Azure DevOps - New Release Pipeline Created
- Crypto currency miners EXECVE
- Editing Linux scheduled tasks through Crontab
- Kubernetes daemonset or cronjob by non-automation identity
- Linux scheduled task Aggregation
- Possible exploitation of Apache log4j component detected
How the Content Hub rules for T1053 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
73 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- HackTool - CrackMapExec Execution Patterns
- Scheduled Task/Job At
- Diamond Sleet APT Scheduled Task Creation
- HAFNIUM Exchange Exploitation Activity
- OilRig APT Activity
- OilRig APT Registry Persistence
- OilRig APT Schedule Task Persistence - Security
- OilRig APT Schedule Task Persistence - System
- Turla Group Commands May 2020
- ChromeLoader Malware Execution
- HackTool - CrackMapExec Execution
- HackTool - Default PowerSploit/Empire Scheduled Task Creation
- HackTool - SharPersist Execution
- Important Scheduled Task Deleted/Disabled
- Interactive AT Job
- Kapeka Backdoor Persistence Activity
- Kapeka Backdoor Scheduled Task Creation
- Operation Wocao Activity
- Operation Wocao Activity - Security
- Persistence and Execution at Scale via GPO Scheduled Task
- Potential ACTINIUM Persistence Activity
- Potential BearLPE Exploitation
- Potential Persistence Via Powershell Search Order Hijacking - Task
- Potential Registry Persistence Attempt Via Windows Telemetry
- Remote Schedule Task Lateral Movement via ATSvc
Mitigations
M1018User Account ManagementM1022Restrict File and Directory PermissionsM1026Privileged Account ManagementM1028Operating System ConfigurationM1047Audit
Sub-techniques
T1053.002AtT1053.003CronT1053.005Scheduled TaskT1053.006Systemd TimersT1053.007Container Orchestration Job
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.