Full SigmaHQ catalog

Author
Sohan G (D4rkCiph3r)
Rule ID
e0cfaecd-602d-41af-988d-f6ccebb2af26
Collection
Core
Log source
macos / process_creation
Severity
medium
Maturity
test
First published
2023-02-18
MITRE ATT&CK
T1059, T1059.007, T1071, T1071.001

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: macos
detection:
    selection_installer:
        ParentImage|endswith:
            - '/package_script_service'
            - '/installer'
        Image|endswith:
            - '/sh'
            - '/bash'
            - '/dash'
            - '/python'
            - '/ruby'
            - '/perl'
            - '/php'
            - '/javascript'
            - '/osascript'
            - '/tclsh'
            - '/curl'
            - '/wget'
        CommandLine|contains:
            - 'preinstall'
            - 'postinstall'
    condition: selection_installer
falsepositives:
    - Legitimate software uses the scripts (preinstall, postinstall)