Full SigmaHQ catalog

Author
Nextron Systems
Rule ID
c4042d54-110d-45dd-a0e1-05c47822c937
Collection
Core
Log source
linux / process_creation
Severity
medium
Maturity
test
First published
2022-06-03
Updated
2024-11-04
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: linux
detection:
    selection_img:
        - Image|endswith:
              - '/python'
              - '/python2'
              - '/python3'
        - Image|contains:
              - '/python2.'  # python image is always of the form ../python3.10; ../python is just a symlink
              - '/python3.'
    selection_cli_import:
        CommandLine|contains:
            - 'import pty'
            - 'from pty '
    selection_cli_spawn:
        CommandLine|contains: 'spawn'
    condition: all of selection_*
falsepositives:
    - Unknown