Detectionhightest
OSACompile Run-Only Execution
Detects potential suspicious run-only executions compiled using OSACompile
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:
CommandLine|contains|all:
- 'osacompile'
- ' -x '
- ' -e '
condition: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
b9d9b652-d8ed-4697-89a2-a1186ee680ac
Status
test
Level
high
Type
Detection
Created
2023-01-31
Author
Path
rules/macos/process_creation/proc_creation_macos_osacompile_runonly_execution.yml
Raw Tags
attack.t1059.002attack.execution