This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
A scheduled task was created
editA scheduled task was created
editIndicates the creation of a scheduled task using Windows event logs. Adversaries can use these to establish persistence, move laterally, and/or escalate privileges.
Rule type: eql
Rule indices:
- winlogbeat-*
- logs-system.*
Severity: low
Risk score: 21
Runs every: 5 minutes
Searches indices from: now-9m (Date Math format, see also Additional look-back time
)
Maximum alerts per execution: 100
References:
Tags:
- Elastic
- Host
- Windows
- Threat Detection
- Persistence
Version: 2 (version history)
Added (Elastic Stack release): 8.5.0
Last modified (Elastic Stack release): 8.6.0
Rule authors: Elastic
Rule license: Elastic License v2
Potential false positives
editLegitimate scheduled tasks may be created during installation of new software.
Rule query
editiam where event.action == "scheduled-task-created" and /* excluding tasks created by the computer account */ not user.name : "*$" and /* TaskContent is not parsed, exclude by full taskname noisy ones */ not winlog.event_data.TaskName : ("\\OneDrive Standalone Update Task-S-1-5-21*", "\\OneDrive Standalone Update Task-S-1-12-1-*", "\\Hewlett-Packard\\HP Web Products Detection", "\\Hewlett-Packard\\HPDeviceCheck")
Threat mapping
editFramework: MITRE ATT&CKTM
-
Tactic:
- Name: Persistence
- ID: TA0003
- Reference URL: https://attack.mitre.org/tactics/TA0003/
-
Technique:
- Name: Scheduled Task/Job
- ID: T1053
- Reference URL: https://attack.mitre.org/techniques/T1053/
Rule version history
edit- Version 2 (8.6.0 release)
-
-
Updated query, changed from:
iam where event.action == "scheduled-task-created" and /* excluding tasks created by the computer account */ not user.name : "*$" and /* TaskContent is not parsed, exclude by full taskname noisy ones */ not winlog.event_data.TaskName : ("\\OneDrive Standalone Update Task-S-1-5-21*", "\\Hewlett-Packard\\HP Web Products Detection", "\\Hewlett-Packard\\HPDeviceCheck")
-