windows enabled community high v1.0.0

schtasks

Schedule periodic tasks Located at: c:\windows\system32\schtasks.exe; c:\windows\syswow64\schtasks.exe.

📋 Live Preview
schtasks
schtasks

Sandbox: execFile · Timeout: 30s

Capabilities

security.execution.command

Contract

Outputs

process.output

Command execution output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networklow
Disk I/Olow

Examples

Create a recurring task to execute every minute. (Create a recurring task to keep reverse shell session(s) alive)

schtasks /create /sc minute /mo 1 /tn "Reverse shell" /tr "{CMD}"

Create a scheduled task on a remote computer for persistence/lateral movement (Create a remote task to run daily relative to the the time of creation)

schtasks /create /s targetmachine /tn "MyTask" /tr "{CMD}" /sc daily

Detection

Documentation

schtasks

schtasks is a Windows LOLBin. Schedule periodic tasks Located at: c:\windows\system32\schtasks.exe; c:\windows\syswow64\schtasks.exe.

References