Detection rules › Sigma

Defrag Deactivation

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
Florian Roth (Nextron Systems), Bartlomiej Czyz (@bczyz1)
Source
github.com/SigmaHQ/sigma

Detects the deactivation and disabling of the Scheduled defragmentation task as seen by Slingshot APT group

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Defrag Deactivation
id: 958d81aa-8566-4cea-a565-59ccd4df27b0
status: test
description: Detects the deactivation and disabling of the Scheduled defragmentation task as seen by Slingshot APT group
references:
    - https://securelist.com/apt-slingshot/84312/
author: Florian Roth (Nextron Systems), Bartlomiej Czyz (@bczyz1)
date: 2019-03-04
modified: 2022-10-09
tags:
    - attack.privilege-escalation
    - attack.execution
    - attack.persistence
    - attack.t1053.005
    - attack.s0111
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\schtasks.exe'
        CommandLine|contains:
            - '/delete'
            - '/change'
        CommandLine|contains|all:
            - '/TN'
            - '\Microsoft\Windows\Defrag\ScheduledDefrag'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '\schtasks.exe'
    CommandLine|contains:
        - '/delete'
        - '/change'
    CommandLine|contains|all:
        - '/TN'
        - '\Microsoft\Windows\Defrag\ScheduledDefrag'

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
CommandLinematch
  • /TN corpus 2 (sigma 2)
  • /change corpus 3 (sigma 2, splunk 1)
  • /delete corpus 8 (sigma 6, splunk 2)
  • \Microsoft\Windows\Defrag\ScheduledDefrag
Imageends_with
  • \schtasks.exe corpus 56 (sigma 56)