Detectionhightest

WScript or CScript Dropper - File

Detects a file ending in jse, vbe, js, vba, vbs written by cscript.exe or wscript.exe

Convert In Phoenix Studio

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

Launch
Tim SheltonCreated Mon Jan 10Updated Fri Dec 02002bdb95-0cf1-46a6-9e08-d38c128a6127windows
Log Source
WindowsFile Event
ProductWindows← raw: windows
CategoryFile Event← raw: file_event

Events for file system activity including creation, modification, and deletion.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        Image|endswith:
            - '\wscript.exe'
            - '\cscript.exe'
        TargetFilename|startswith:
            - 'C:\Users\'
            - 'C:\ProgramData'
        TargetFilename|endswith:
            - '.jse'
            - '.vbe'
            - '.js'
            - '.vba'
            - '.vbs'
    condition: selection
False Positives
Unknown

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

References
1
Resolving title…
WScript or CScript Dropper (cea72823-df4d-4567-950c-0b579eaf0846)
Rule Metadata
Rule ID
002bdb95-0cf1-46a6-9e08-d38c128a6127
Status
test
Level
high
Type
Detection
Created
Mon Jan 10
Modified
Fri Dec 02
Path
rules/windows/file/file_event/file_event_win_cscript_wscript_dropper.yml
Raw Tags
attack.executionattack.t1059.005attack.t1059.007
View on GitHub