kevmap

TechniquesT1053.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 sourceChannelData component
WinEventLog:SecurityEventCode=4698DC0001 Scheduled Job Creation
WinEventLog:SecurityEventCode=4702DC0012 Scheduled Job Modification
WinEventLog:SysmonEventCode=1DC0032 Process Creation
WinEventLog:SysmonEventCode=11DC0039 File Creation
WinEventLog:SysmonEventCode=13, 14DC0063 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.

FieldDescription
TimeWindowDefines threshold for grouping task creation and associated execution within suspicious time proximity.
UserContextFilters based on non-standard user accounts or execution under SYSTEM when not typical for the environment.
TaskNamePatternAllows defenders to flag obfuscated, randomized, or suspicious task names outside normal conventions.
CommandLineEntropyThresholdFlags tasks executing heavily obfuscated PowerShell or binary blobs via base64 or encoding.

KEV CVEs whose mapped technique this analytic detects

CVEVendor / productState
CVE-2021-34473Microsoft Exchange ServerMapped
CVE-2023-46604Apache ActiveMQMapped