











The Detection Gap is a breakdown for security practitioners who have to make quick calls under tight time constraints. In each post, we walk through what one MITRE ATT&CK technique looks like when it's legitimate activity vs. when it's actually an attacker in your environment.
A new scheduled task shows up in your environment, set to run on system startup, executing under the System account. Nobody on the ops team remembers creating it. Could it just be a leftover from a software install months back, or is it how an attacker is still hiding in your environment after your last containment effort? Before we answer that, let’s take a moment to understand why attackers reach for scheduled tasks in the first place.
Scheduled tasks solve the exact problem every attacker has after initial access: how do you maintain access after a reboot, logoff, or credential rotation without dropping a second-stage payload that immediately stands out?. schtasks.exe ships on every Windows box, it's signed by Microsoft, and it's expected in almost every environment. Every IT team uses it constantly for entirely legitimate reasons: patch windows, backup jobs, log rotation, and software update checks. That legitimate volume is exactly what makes this technique effective.
A new scheduled task isn't inherently suspicious. Your environment probably creates dozens of them a week without anyone thinking twice. So the question isn't whether there's a scheduled task. There's always a scheduled task. The real question is which one doesn't belong.
IT and ops teams create scheduled tasks constantly, and they follow a recognizable shape:
Same utility, but notice its shape.
The command line itself tells the story. Legitimate task creation rarely looks like a single dense one-liner built to run unattended and unnoticed. But a malicious one frequently does. It’s built to survive reboot all while blending into a name that fits routine: schtasks /create /tn <name> /tr <path> /sc onlogon /ru System
Note: In plain English, the single line above tells Windows:
“Create a new scheduled task called <name>. Every time someone logs in, automatically run the program at <path> in the background using full, unrestricted SYSTEM privileges."
The manual version of this investigation includes: pulling every scheduled task creation event, cross-referencing the binary path against known-good software inventory, checking the run-as account, and determining whether the task name is trying to look like something it isn't.
Building a query and grinding through results by hand takes real skill. They’re invaluable investigation skills, especially in good threat hunting. Symantec CBX simply changes where that effort is spent.
Rather than manually reconstructing whether a task creation event connects to anything else suspicious, Threat Tracer surfaces the full creation chain and which process actually called schtasks.exe or made the underlying API call. It also provides clear insight into what the task points to, and what happened immediately before and after. Instead of rebuilding every step by hand, analysts can review the chain in context and spend more time interpreting what it means. Your job shifts from finding the connection to deciding whether it's expected or suspicious.
There's another layer worth knowing about specifically for this technique. More advanced adversaries don't just create a task, they sometimes hide it afterward by manipulating the task's registry-based security descriptor so it won't appear under a normal query of existing tasks. That deliberate evasion step makes visibility into the creation event itself critical. And much better than relying only on enumeration after the fact.
First, trace the parent process that triggered the task creation. A task created by a scheduled deployment tool or an interactive admin session under their own credentials reads very differently from a task created by a process chain that started with a document, a script host, or an unexpected PowerShell invocation.
Then look at the run-as context and the trigger type together. System-level privileges paired with an on-logon or on-startup trigger is a combination worth slowing down on, regardless of what else the chain shows.
Once you've seen that sequence, you’ll recognize it every time: not because the scheduled task itself is suspicious, but because the surrounding context tells you whether it belongs.
Before you close out, consider these questions about your own environment:
If the third one gave you pause, that's the whole point of this series. The task itself is rarely the smoking gun. What called it into existence usually is.
Next up, we'll look at another ATT&CK technique using the same approach: what's normal, what's not, and what tool can help you make that distinction faster.
To see how Symantec CBX helps analysts spend less time stitching together events, reach out to your in-region expert for more details.


Kirk Hasty
Technical Product Engineer & Manager of Technical Enablement, Enterprise Security Group, Broadcom
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。