Sigma rule: JXA In-memory Execution Via OSAScript
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-695d2e211f06, updated 2023-01-31T00:00:00.000Z.
Rule
- Title
- JXA In-memory Execution Via OSAScript
- Status
- test
- Level
- high
- Author
- Sohan G (D4rkCiph3r)
- Date
- 2023-01-31
- File
- rules/macos/process_creation/proc_creation_macos_jxa_in_memory_execution.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects possible malicious execution of JXA in-memory via OSAScript
Log source
- product
- macos
- category
- process_creation
Detection
selection_main:
CommandLine|contains|all:
- 'osascript'
- ' -e '
- 'eval'
- 'NSData.dataWithContentsOfURL'
selection_js:
- CommandLine|contains|all:
- ' -l '
- 'JavaScript'
- CommandLine|contains: '.js'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.t1059.002
- attack.t1059.007
- attack.execution
MITRE ATT&CK ids this rule names
Related rules
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_jxa_in_memory_execution.yml
Sources and licences
SigmaHQ
"JXA In-memory Execution Via OSAScript" by Sohan G (D4rkCiph3r) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_jxa_in_memory_execution.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: JXA In-memory Execution Via OSAScript",
entity page, dataset version ref-695d2e211f06, updated 2023-01-31T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f1408a58-0e94-4165-b80a-da9f96cf6fc3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule f1408a58-0e94-4165-b80a-da9f96cf6fc3, 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.