Sigma rule: GUI Input Capture - macOS
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-07095c77d72c, updated 2025-12-05T00:00:00.000Z.
Rule
- Title
- GUI Input Capture - macOS
- Status
- test
- Level
- low
- Author
- remotephone, oscd.community
- Date
- 2020-10-13
- Modified
- 2025-12-05
- File
- rules/macos/process_creation/proc_creation_macos_gui_input_capture.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects attempts to use system dialog prompts to capture user credentials
Log source
- product
- macos
- category
- process_creation
Detection
selection_img:
Image|endswith: '/osascript'
selection_cli_1:
CommandLine|contains|all:
- '-e'
- 'display'
- 'dialog'
- 'answer'
selection_cli_2:
CommandLine|contains:
- 'admin'
- 'administrator'
- 'authenticate'
- 'authentication'
- 'credentials'
- 'pass'
- 'password'
- 'unlock'
condition: all of selection_*False positives (as the rule lists them)
- Legitimate administration tools and activities
Tags
- attack.collection
- attack.credential-access
- attack.t1056.002
MITRE ATT&CK ids this rule names
References
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1056.002/T1056.002.md
- https://scriptingosx.com/2018/08/user-interaction-from-bash-scripts/
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_gui_input_capture.yml
Sources and licences
SigmaHQ
"GUI Input Capture - macOS" by remotephone, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_gui_input_capture.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: GUI Input Capture - macOS",
entity page, dataset version ref-07095c77d72c, updated 2025-12-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/60f1ce20-484e-41bd-85f4-ac4afec2c541 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 60f1ce20-484e-41bd-85f4-ac4afec2c541, 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.