Windows Task Scheduler
Last updated
Last updated
To perform lateral movement using scheduled tasks, an attacker would typically use a compromised user account to schedule a task on a remote system. This task would then execute code or commands that would allow the attacker to move laterally across the network, escalate privileges, or access sensitive data.
Create / edit a Scheduled Job/Task. The job can be created on the local or a remote computer.
Parameter | Description |
---|---|
/S system
Remote system (default is local)
/SC schedule
The schedule frequency: Minute, Hourly, Daily, Weekly, Monthly, Once, Onstart,Onlogon,Onidle.
[/RU username [/RP password]]
Run job as this user.
/TN taskname
A name which uniquely identifies the scheduled task.
/TR taskrun
Pathname of the executable to run.