Detection rules › Sigma
Scheduled Task Creation Via Schtasks.EXE
Detects the creation of scheduled tasks by user accounts via the "schtasks" utility.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution | T1053.005 Scheduled Task/Job: Scheduled Task |
| Persistence | T1053.005 Scheduled Task/Job: Scheduled Task |
| Privilege Escalation | T1053.005 Scheduled Task/Job: Scheduled Task |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
| Security-Auditing | 4688 | A new process has been created. |
Stages and Predicates
Stage 1: selection
CommandLine|contains: ' /create '
Image|endswith: '\schtasks.exe'
Stage 2: not 1 of filter_main_system_user
or:
User|contains: AUTHORI
User|contains: AUTORI
Stage 3: not 1 of filter_optional_msoffice
Image: ['C:\Windows\SysWOW64\schtasks.exe', 'C:\Windows\System32\schtasks.exe']
ParentImage: ['C:\Program Files (x86)\Microsoft Office\root\integration\integrator.exe', 'C:\Program Files\Microsoft Office\root\integration\integrator.exe']
CommandLine|contains: 'Microsoft\Office\Office Performance Monitor'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
Image | eq |
|
ParentImage | eq |
|
User | match |
|
Neighbors
Stricter alternatives (narrower than this rule)
The rules below may be useful if you find the current rule is too noisy / lacks specificity.
- Suspicious Scheduled Task Creation Involving Temp Folder (adds 2 filters)