Detectionhightest
Clipboard Data Collection Via OSAScript
Detects possible collection of data from the clipboard via execution of the osascript binary
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
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:
CommandLine|contains|all:
- 'osascript'
- ' -e '
- 'clipboard'
condition: selectionFalse Positives
Unlikely
False positives are unlikely for most environments. High confidence detection.
References
MITRE ATT&CK
Techniques
Sub-techniques
Rule Metadata
Rule ID
7794fa3c-edea-4cff-bec7-267dd4770fd7
Status
test
Level
high
Type
Detection
Created
Tue Jan 31
Author
Path
rules/macos/process_creation/proc_creation_macos_clipboard_data_via_osascript.yml
Raw Tags
attack.collectionattack.executionattack.t1115attack.t1059.002