Detection rules › Sigma

Uncommon One Time Only Scheduled Task At 00:00

Severity
high
Author
pH-T (Nextron Systems)
Source
upstream

Detects scheduled task creation events that include suspicious actions, and is run once at 00:00

MITRE ATT&CK coverage

TacticTechniques
ExecutionT1053.005 Scheduled Task/Job: Scheduled Task
PersistenceT1053.005 Scheduled Task/Job: Scheduled Task
Privilege EscalationT1053.005 Scheduled Task/Job: Scheduled Task

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_img

or:
Image|contains: '\schtasks.exe'
OriginalFileName: schtasks.exe

Stage 2: all of selection_cli

or:
CommandLine|contains: '\AppData\'
CommandLine|contains: cscript
CommandLine|contains: powershell
CommandLine|contains: regsvr32.exe
CommandLine|contains: vbscript
CommandLine|contains: 'wmic '
CommandLine|contains: wmic.exe
CommandLine|contains: wscript

Stage 3: all of selection_time

CommandLine|contains: '00:00'
CommandLine|contains: once

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
  • 00:00
  • \AppData\ corpus 8 (sigma 8)
  • cscript corpus 12 (sigma 12)
  • once
  • powershell corpus 16 (sigma 16)
  • regsvr32.exe corpus 2 (sigma 2)
  • vbscript corpus 2 (sigma 2)
  • wmic corpus 2 (sigma 2)
  • wmic.exe corpus 2 (sigma 2)
  • wscript corpus 12 (sigma 12)
Imagematch
  • \schtasks.exe
OriginalFileNameeq
  • schtasks.exe corpus 14 (sigma 14)