Schedule periodic tasks Located at: c:\windows\system32\schtasks.exe; c:\windows\syswow64\schtasks.exe.
schtasks schtasks Sandbox: execFile · Timeout: 30s
security.execution.command Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
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 schtasks is a Windows LOLBin. Schedule periodic tasks Located at: c:\windows\system32\schtasks.exe; c:\windows\syswow64\schtasks.exe.