Techniques › T1053.005 › AN1221
AN1221 Analytic 1221
Windows · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detects the creation, modification, or deletion of scheduled tasks through Task Scheduler, WMI, PowerShell, or API-based methods followed by execution from svchost.exe or taskeng.exe. Includes detection of hidden or anomalous scheduled tasks, especially those created under SYSTEM or suspicious user contexts.</p>
- Detects
- T1053.005 Scheduled Task
- Part of
- DET0441 Detection of Suspicious Scheduled Task Creation and Execution on Windows
Log sources and channels
Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.
| Log source | Channel | Data component |
|---|---|---|
| WinEventLog:Security | EventCode=4698 | DC0001 Scheduled Job Creation |
| WinEventLog:Security | EventCode=4702 | DC0012 Scheduled Job Modification |
| WinEventLog:Sysmon | EventCode=1 | DC0032 Process Creation |
| WinEventLog:Sysmon | EventCode=11 | DC0039 File Creation |
| WinEventLog:Sysmon | EventCode=13, 14 | DC0063 Windows Registry Key Modification |
Mutable elements
Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.
| Field | Description |
|---|---|
TimeWindow | Defines threshold for grouping task creation and associated execution within suspicious time proximity. |
UserContext | Filters based on non-standard user accounts or execution under SYSTEM when not typical for the environment. |
TaskNamePattern | Allows defenders to flag obfuscated, randomized, or suspicious task names outside normal conventions. |
CommandLineEntropyThreshold | Flags tasks executing heavily obfuscated PowerShell or binary blobs via base64 or encoding. |
KEV CVEs whose mapped technique this analytic detects
| CVE | Vendor / product | State |
|---|---|---|
| CVE-2021-34473 | Microsoft Exchange Server | Mapped |
| CVE-2023-46604 | Apache ActiveMQ | Mapped |