01 / TRADECRAFT
2 examplesCommand reference
Execute2
EXAMPLE 01T1053.005
Create a recurring task to execute every minute.
COMMAND
schtasks /create /sc minute /mo 1 /tn "Reverse shell" /tr "{CMD}"EXAMPLE 02T1053.005
Create a scheduled task on a remote computer for persistence/lateral movement
COMMAND
schtasks /create /s targetmachine /tn "MyTask" /tr "{CMD}" /sc daily02 / ON DISK
Known paths
c:\windows\system32\schtasks.exec:\windows\syswow64\schtasks.exe03 / DEFENSIVE INTELLIGENCE
3 resourcesDetection & indicators
- Sigmaproc_creation_win_schtasks_creation.ymlgithub.com
- Elasticpersistence_local_scheduled_task_creation.tomlgithub.com
- Splunkschtasks_scheduling_job_on_remote_system.ymlgithub.com
Indicators & detection notes
- IOC
Suspicious task creation events
FURTHER READING