macOS pbpaste Clipboard Read via Process Execution

Flags macOS executions of pbpaste that can expose clipboard contents to stdout for potential data collection.

FreeReviewedSigma · Medium · v5
Product
macos
Category
process_creation
Author
Daniel Cortez (SigmaHQ), DRL 1.1
Published
2024-07-30
Updated
2026-07-31

ATT&CK techniques

Collection
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule matches process creation events where the executable path ends with "pbpaste", indicating clipboard (pasteboard) content is being retrieved to stdout. Attackers can abuse this utility to access sensitive data that users have copied, such as credentials or other confidential information. Telemetry required includes macOS process creation details (including the executed image path).

Related detections9 linkedT1115 — drag to rearrange
Suspicious Clipboard Data Access via Get-Clipboard (BeaverTail OtterCookie)
Possible Clipboard Data Capture via PowerShell (via process_creation)
macOS osascript Clipboard Access via AppleScript Commands
Linux Clipboard Data Collection via xclip -sel clip -o
Linux xclip Clipboard Image Collection via Image MIME Types
Clipboard Data Collection via xclip (auditd Linux EXECVE)
Windows: clip.exe Execution to Copy Data to Clipboard
Windows PowerShell Get-Clipboard Command Execution
PowerShell Get-Clipboard Cmdlet Execution via CLI on Windows
macOS pbpaste Clipboard Read via Process Execution
Pivot detection · T1115 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.