Sigma rule: Tasks Folder Evasion

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-c338616208a2, updated 2022-12-25T00:00:00.000Z.

Rule

Title
Tasks Folder Evasion
Status
test
Level
high
Author
Sreeman
Date
2020-01-13
Modified
2022-12-25
File
rules/windows/process_creation/proc_creation_win_susp_task_folder_evasion.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

The Tasks folder in system32 and syswow64 are globally writable paths.
Adversaries can take advantage of this and load or influence any script hosts or ANY .NET Application
in Tasks to load and execute a custom assembly into cscript, wscript, regsvr32, mshta, eventvwr

Log source

product
windows
category
process_creation

Detection

selection1:
    CommandLine|contains:
        - 'echo '
        - 'copy '
        - 'type '
        - 'file createnew'
selection2:
    CommandLine|contains:
        - ' C:\Windows\System32\Tasks\'
        - ' C:\Windows\SysWow64\Tasks\'
condition: all of selection*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.execution
  • attack.stealth
  • attack.t1574.001

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_susp_task_folder_evasion.yml

Sources and licences

  • SigmaHQ

    "Tasks Folder Evasion" by Sreeman (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_task_folder_evasion.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: Tasks Folder Evasion",
entity page, dataset version ref-c338616208a2, updated 2022-12-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/cc4e02ba-9c06-48e2-b09e-2500cace9ae0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule cc4e02ba-9c06-48e2-b09e-2500cace9ae0, 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.