Full SigmaHQ catalog

Author
Nasreddine Bencherchali (Nextron Systems), oscd.community, Natalia Shornikova, frack113
Rule ID
1e0e1a81-e79b-44bc-935b-ddb9c8006b3d
Collection
Core
Log source
windows / process_creation
Severity
medium
Maturity
test
First published
2022-05-21
Updated
2023-08-17
MITRE ATT&CK
T1216

Detection logic

Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.

Sigma YAML
logsource:
    category: process_creation
    product: windows
detection:
    selection_pwsh:
        ParentImage|endswith:
            # Note: to avoid potential FPs we assume the script was launched from powershell. But in theory it can be launched by any Powershell like process
            - '\powershell.exe'
            - '\pwsh.exe'
        Image|endswith: '\powershell.exe'
        CommandLine|contains: ' -nologo -windowstyle minimized -file '
    selection_temp:
        # Note: Since the function uses "env:temp" the value will change depending on the context of exec
        CommandLine|contains:
            - '\AppData\Local\Temp\'
            - '\Windows\Temp\'
    condition: all of selection_*
falsepositives:
    - Unknown