Detection rules › Sigma

Scheduled Task Created - Registry

Status
test
Severity
low
Log source
product windows, category registry_event
Author
Center for Threat Informed Defense (CTID) Summiting the Pyramid Team
Source
github.com/SigmaHQ/sigma

Detects the creation of a scheduled task via Registry keys.

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Scheduled Task Created - Registry
id: 93ff0ceb-e0ef-4586-8cd8-a6c277d738e3
status: test
description: Detects the creation of a scheduled task via Registry keys.
references:
    - https://center-for-threat-informed-defense.github.io/summiting-the-pyramid/analytics/task_scheduling/
    - https://posts.specterops.io/abstracting-scheduled-tasks-3b6451f6a1c5
author: Center for Threat Informed Defense (CTID) Summiting the Pyramid Team
date: 2023-09-27
tags:
    - attack.execution
    - attack.persistence
    - attack.privilege-escalation
    - attack.s0111
    - attack.t1053.005
    - car.2013-08-001
    - detection.threat-hunting
logsource:
    product: windows
    category: registry_event
detection:
    selection:
        TargetObject|contains:
            - '\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks\'
            - '\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\'
    condition: selection
falsepositives:
    - Likely as this is a normal behaviour on Windows
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|contains:
        - '\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks\'
        - '\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\'

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.

FieldKindValues
TargetObjectmatch
  • \Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks\
  • \Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\