Detectionmediumtest

MacOS Scripting Interpreter AppleScript

Detects execution of AppleScript of the macOS scripting language AppleScript.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Alejandro Ortuno, oscd.communityCreated Wed Oct 21Updated Wed Feb 011bc2e6c5-0885-472b-bed6-be5ea8eace55macos
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:
        Image|endswith: '/osascript'
        CommandLine|contains:
            - ' -e '
            - '.scpt'
            - '.js'
    condition: selection
False Positives

Application installers might contain scripts as part of the installation process.

MITRE ATT&CK
Rule Metadata
Rule ID
1bc2e6c5-0885-472b-bed6-be5ea8eace55
Status
test
Level
medium
Type
Detection
Created
Wed Oct 21
Modified
Wed Feb 01
Path
rules/macos/process_creation/proc_creation_macos_applescript.yml
Raw Tags
attack.executionattack.t1059.002
View on GitHub