Detectionmediumtest

Osacompile Execution By Potentially Suspicious Applet/Osascript

Detects potential suspicious applet or osascript executing "osacompile".

Open in Detection LabConvert ruleBuild Package
Sohan G (D4rkCiph3r), Red CanaryCreated 2023-04-03a753a6af-3126-426d-8bd0-26ebbcb92254macos
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:
        ParentImage|endswith:
            - '/applet'
            - '/osascript'
        CommandLine|contains: 'osacompile'
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

MITRE ATT&CK
Rule Metadata
Rule ID
a753a6af-3126-426d-8bd0-26ebbcb92254
Status
test
Level
medium
Type
Detection
Created
2023-04-03
Path
rules/macos/process_creation/proc_creation_macos_suspicious_applet_behaviour.yml
Raw Tags
attack.executionattack.t1059.002
View on GitHub