Schtasks
Description
Manual generation of schtask registering a binary to run from non-standard paths.
MITRE ATT&CK Techniques
| ID | Technique | Tactic |
|---|---|---|
| T1053.005 | Scheduled Task | Execution, Persistence, Privilege Escalation |
Environment Details
| Field | Value |
|---|---|
| Environment | attack_range |
| Directory | schtasks |
| Test Date | 2020-12-07 |
Datasets
The following datasets were collected during this attack simulation:
Windows-Sysmon
- Path:
/datasets/attack_techniques/T1053.005/schtasks/windows-sysmon.log - Sourcetype:
XmlWinEventLog - Source:
XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Related Detections
The following detections in our security content repository use this attack data for testing:
| Detection Name | Type | Source | MITRE ATT&CK | Analytic Story |
|---|---|---|---|---|
| Suspicious Scheduled Task from Public Directory | Anomaly |
Endpoint | T1053.005 | XWorm, Medusa Ransomware, CISA AA23-347A, Azorult, Scheduled Tasks, Living Off The Land, Ransomware, Crypto Stealer, Salt Typhoon, Quasar RAT, DarkCrystal RAT, Ryuk Ransomware, CISA AA24-241A, Malicious Inno Setup Loader, Windows Persistence Techniques, MoonPeak, China-Nexus Threat Activity, Scattered Spider, APT37 Rustonotto and FadeStealer, Lokibot |
Usage Instructions
Replay with Splunk Attack Data
Replay attack data with replay.py from Splunk Attack Data.
1python replay.py --dataset /datasets/attack_techniques/T1053.005/schtasks/windows-sysmon.log --index attack_data
Manual Import
- Download the dataset files from the paths listed above
- Configure your Splunk instance with the appropriate sourcetypes
- Import the logs using the Splunk Add Data wizard
Related Content
Find more detections and analytics for this attack technique in our security content repository.
Source: GitHub | Version: 1.0