Sigma rule: OSACompile Run-Only Execution

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

Rule

Title
OSACompile Run-Only Execution
Status
test
Level
high
Author
Sohan G (D4rkCiph3r)
Date
2023-01-31
File
rules/macos/process_creation/proc_creation_macos_osacompile_runonly_execution.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects potential suspicious run-only executions compiled using OSACompile

Log source

product
macos
category
process_creation

Detection

selection:
    CommandLine|contains|all:
        - 'osacompile'
        - ' -x '
        - ' -e '
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.t1059.002
  • attack.execution

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_osacompile_runonly_execution.yml

Sources and licences

  • SigmaHQ

    "OSACompile Run-Only Execution" by Sohan G (D4rkCiph3r) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_osacompile_runonly_execution.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 Run-Only Execution",
entity page, dataset version ref-f4beed03ff7a, updated 2023-01-31T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b9d9b652-d8ed-4697-89a2-a1186ee680ac (accessed 2026-11-03).
Underlying source: SigmaHQ rule b9d9b652-d8ed-4697-89a2-a1186ee680ac, 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.