Detectionmediumtest

Suspicious PowerShell Invocation From Script Engines

Detects suspicious powershell invocations from interpreters or unusual programs

Convert In Phoenix Studio

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

Launch
Florian Roth (Nextron Systems)Created Wed Jan 16Updated Thu Jan 0595eadcb2-92e4-4ed1-9031-92547773a6dbwindows
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:
    selection:
        ParentImage|endswith:
            - '\wscript.exe'
            - '\cscript.exe'
        Image|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
    filter_health_service:
        CurrentDirectory|contains: '\Health Service State\'
    condition: selection and not 1 of filter_*
False Positives

Microsoft Operations Manager (MOM)

Other scripts

MITRE ATT&CK
Rule Metadata
Rule ID
95eadcb2-92e4-4ed1-9031-92547773a6db
Status
test
Level
medium
Type
Detection
Created
Wed Jan 16
Modified
Thu Jan 05
Path
rules/windows/process_creation/proc_creation_win_powershell_script_engine_parent.yml
Raw Tags
attack.executionattack.t1059.001
View on GitHub