Sigma rule: Osacompile Execution By Potentially Suspicious Applet/Osascript

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-fff61a338938, updated 2023-04-03T00:00:00.000Z.

Rule

Title
Osacompile Execution By Potentially Suspicious Applet/Osascript
Status
test
Level
medium
Author
Sohan G (D4rkCiph3r), Red Canary (Idea)
Date
2023-04-03
File
rules/macos/process_creation/proc_creation_macos_suspicious_applet_behaviour.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects potential suspicious applet or osascript executing "osacompile".

Log source

product
macos
category
process_creation

Detection

selection:
    ParentImage|endswith:
        - '/applet'
        - '/osascript'
    CommandLine|contains: 'osacompile'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.t1059.002

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_suspicious_applet_behaviour.yml

Sources and licences

  • SigmaHQ

    "Osacompile Execution By Potentially Suspicious Applet/Osascript" by Sohan G (D4rkCiph3r), Red Canary (Idea) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_suspicious_applet_behaviour.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Osacompile Execution By Potentially Suspicious Applet/Osascript",
entity page, dataset version ref-fff61a338938, updated 2023-04-03T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a753a6af-3126-426d-8bd0-26ebbcb92254 (accessed 2026-11-03).
Underlying source: SigmaHQ rule a753a6af-3126-426d-8bd0-26ebbcb92254, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.