Sigma rule: Renamed Schtasks Execution

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-6a5adf20031c, updated 2026-10-02T00:00:00.000Z.

Rule

Title
Renamed Schtasks Execution
Status
experimental
Level
high
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2025-11-27
Modified
2026-10-02
File
rules/windows/process_creation/proc_creation_win_renamed_schtasks_execution.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of renamed schtasks.exe binary, which is a legitimate Windows utility used for scheduling tasks.
One of the very common persistence techniques is schedule malicious tasks using schtasks.exe.
Since, it is heavily abused, it is also heavily monitored by security products. To evade detection, threat actors may rename the schtasks.exe binary to schedule their malicious tasks.

Log source

product
windows
category
process_creation

Detection

selection_cmd_operation:
    CommandLine|contains|windash:
        - ' /create '
        - ' /delete '
        - ' /query '
        - ' /change '
        - ' /run '
        - ' /end '
selection_cmd_flags:
    CommandLine|contains|windash:
        - ' /tn '
        - ' /tr '
        - ' /sc '
        - ' /st '
        - ' /ru '
        - ' /fo '
selection_pe:
    OriginalFileName: 'schtasks.exe'
filter_main_cmd:
    CommandLine|contains: 'schtasks'
filter_main_img:
    Image|endswith: '\schtasks.exe'
filter_optional_cmd_openfiles:
    CommandLine|contains|all:
        - 'openfiles'
        - ' /query '
        - ' /fo'
condition: (all of selection_cmd_* and not filter_main_cmd and not filter_optional_cmd_openfiles) or (selection_pe and not filter_main_img)

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.execution
  • attack.persistence
  • attack.privilege-escalation
  • attack.stealth
  • attack.t1036.003
  • attack.t1053.005

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_renamed_schtasks_execution.yml

Sources and licences

  • SigmaHQ

    "Renamed Schtasks Execution" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_renamed_schtasks_execution.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Renamed Schtasks Execution",
entity page, dataset version ref-6a5adf20031c, updated 2026-10-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f91e51c9-f344-4b32-969b-0b6f6b8537d4 (accessed 2026-11-03).
Underlying source: SigmaHQ rule f91e51c9-f344-4b32-969b-0b6f6b8537d4, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.