Scheduled Tasks
Windows Task Scheduler can execute automated tasks. This tasks can execute binary files and also scripts. Also, The scheduled tasks is running behalf on user that created the task.
Enumeration
schtasks /query /fo LIST /vGet-ScheduledTask | ? { $_.Author -notlike "*Microsoft*" -and $_.TaskPath -notlike "*Microsoft\Windows*" } | Get-ScheduledTaskInfoschtasks /query /v /fo list /tn "<TaskPath><TaskName>"Exploit
References
Last updated