In this post, we covered part 4 of Windows Persistence Techniques and particularly we covered scheduled tasks as part of TryHackMe win local persistence.
The most common way to schedule tasks is using the built-in Windows task scheduler. The task scheduler allows for granular control of when your task will start, allowing you to configure tasks that will activate at specific hours, repeat periodically or even trigger when specific system events occur. From the command line, you can use
schtasks to interact with the task scheduler. A complete reference for the command can be found on Microsoft’s website.