NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 40 min
Read task events and task XML, read the three Sysmon WMI events, and write detection logic that separates hidden persistence from inventory jobs and monitoring agents.
The task rule at Kestrel fires on any 4698 whose creator is not SYSTEM. Last week that meant Ravi Nair's inventory job and an OneDrive updater, both fine. It also meant nothing when someone changed an existing task instead of creating one, and that is how a changed Adobe update task on wks-fin-014 went unreviewed for a day. Mina Castellan wants the rule to read the content of a task and not only who made it.
Scheduled tasks and WMI subscriptions share a property that makes them good persistence and hard detections: both are built into Windows, both run with high privilege when asked to, and both are configured through data and not through a new executable. The evidence is therefore in the record of the change, and the record contains more than the name.
You will work from a Security log export of task events, two task definitions, a baseline of known tasks and a Sysmon export with the three WMI event types. The aim is a rule that reads the action, the trigger and the principal, and a short list of look alikes with the change numbers that clear them.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in