Possible GUI Input Capture - macOS (via process_creation)
This rule detects attempts to use system dialog prompts to capture user credentials
SigmalowmacOSv1
sigma
possible-gui-input-capture-macos-via-process-creation
title: Possible GUI Input Capture - macOS (via process_creation)
id: 74dd749a-d811-5f2c-a5d5-dc8ed2ae49ec
status: stable
description: This rule detects attempts to use system dialog prompts to capture user credentials
references:
- https://attack.mitre.org/techniques/T1056/002/
- 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/
author: Huntrule Team
date: 2026-07-18
tags:
- attack.collection
- attack.credential-access
- attack.t1056.002
logsource:
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_*
falsepositives:
- Unknown
level: low
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.