To access material, start machines and answer questions login.
Scheduled tasks are widely used by system administrators to remotely manage and automate endpoints across an environment. However, attackers abuse this same capability to execute payloads on remote hosts, deploy tooling across a compromised domain, and perform other malicious activities to achieve their objectives.
In this room, we will focus on remote scheduled task execution as a lateral movement technique in Windows environments. You will learn how to identify, correlate, and reconstruct remote scheduled task execution during real-world investigations.
Learning Objectives
- Recognize the attacker toolchain for remote scheduled task abuse (
schtasks /sand Impacket atexec) - Correlate task creation across source and destination hosts using Logon ID and IP pivots
- Investigate remote task execution through event logs (TaskScheduler/Operational, Security, Sysmon)
- Investigate remote task execution through forensic artifacts (TaskCache registry, on-disk XML, Prefetch) when logs are gone
- Apply audit policies and preventive controls that reduce exposure
Prerequisites
- Windows Event Logs: Security and Operational channels (Windows Event Logs)
- Windows Forensics: Registry, Prefetch, Amcache, MFT (Windows Forensics 1, Windows Forensics 2)
- KAPE: Triage collection and parsing (KAPE)
- Sysmon: Process creation and Hashes field (Sysmon)
Machine Access
Before proceeding, start the lab by clicking the green Start Machine button. Please wait about two minutes for the machine instance to launch.
Set up your virtual environment
We provide access to an analyst workstation preloaded with the KAPE triage images for this room. Once it's up, a session opens on the right side of the screen; if you don't see it, click the blue Show Split View button at the top of the page. If you prefer using RDP, you can use the following credentials:
Credentials
Only needed if you're using your own machine.
On the Desktop you'll find two folders: Walkthrough\ holds the triages we'll use in Tasks 3, 4, and 5, and Challenge\ holds the triage for the Investigation Challenge in Task 6. All forensic tools are pre-installed and live in the DFIR Tools folder on the Desktop.
I have successfully started my analyst workstation instance.
Ready to learn Cyber Security?
The Scheduled Task Lateral Movement Analysis room is only available for Premium or Max subscribers. Signup now to access more than 500 free rooms and learn cyber security through a fun, interactive learning environment.
Already have an account? Log in
