Detectionhightest

Tasks Folder Evasion

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

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
SreemanCreated Mon Jan 13Updated Sun Dec 25cc4e02ba-9c06-48e2-b09e-2500cace9ae0windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
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
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
cc4e02ba-9c06-48e2-b09e-2500cace9ae0
Status
test
Level
high
Type
Detection
Created
Mon Jan 13
Modified
Sun Dec 25
Author
Path
rules/windows/process_creation/proc_creation_win_susp_task_folder_evasion.yml
Raw Tags
attack.privilege-escalationattack.defense-evasionattack.persistenceattack.executionattack.t1574.001
View on GitHub