Full SigmaHQ catalog

Author
Andreas Braathen (mnemonic.io)
Rule ID
fb96c26c-9f85-4ae7-af0d-ed1ed1f1f5ce
Collection
Threat hunting
Log source
linux / file_event
Severity
medium
Maturity
test
First published
2024-04-25
MITRE ATT&CK
T1059.006

Detection logic

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

Sigma YAML
logsource:
    product: linux
    category: file_event
detection:
    selection:
        TargetFilename|re: '(?i)/lib/python3\.([5-9]|[0-9]{2})/site-packages/' # Unix and macOS
        TargetFilename|endswith: '.pth'
    condition: selection
falsepositives:
    - Although .pth files are discouraged due to potential security implications, these are legitimate files by specification.