Full SigmaHQ catalog

Author
Nextron Systems
Rule ID
480e7e51-e797-47e3-8d72-ebfce65b6d8d
Collection
Core
Log source
windows / process_creation
Severity
high
Maturity
test
First published
2022-06-03
MITRE ATT&CK
T1059

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_img:
        Image|endswith:
            - 'python.exe' # no \ bc of e.g. ipython.exe
            - 'python3.exe'
            - 'python2.exe'
    selection_cli_1:
        CommandLine|contains|all:
            - 'import pty'
            - '.spawn('
    selection_cli_2:
        CommandLine|contains: 'from pty import spawn'
    condition: selection_img and 1 of selection_cli_*
falsepositives:
    - Unknown