Detectionmediumtest
Suspicious Installer Package Child Process
Detects the execution of suspicious child processes from macOS installer package parent process. This includes osascript, JXA, curl and wget amongst other interpreters
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
macOSProcess Creation
ProductmacOS← raw: macos
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
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_installerFalse Positives
Legitimate software uses the scripts (preinstall, postinstall)
MITRE ATT&CK
Rule Metadata
Rule ID
e0cfaecd-602d-41af-988d-f6ccebb2af26
Status
test
Level
medium
Type
Detection
Created
Sat Feb 18
Author
Path
rules/macos/process_creation/proc_creation_macos_installer_susp_child_process.yml
Raw Tags
attack.t1059attack.t1059.007attack.t1071attack.t1071.001attack.executionattack.command-and-control