Suspicious pbpaste High Volume Activity

Last updated 13 days ago on 2024-12-09
Created 3 months ago on 2024-09-12

About

Identifies a high volume of `pbpaste` executions, which may indicate a bash loop continuously collecting clipboard contents, potentially allowing an attacker to harvest user credentials or other sensitive information.
Tags
Domain: EndpointOS: macOSUse Case: Threat DetectionTactic: Credential AccessData Source: Jamf ProtectData Source: Elastic Defend
Severity
medium
Risk Score
47
MITRE ATT&CK™

Credential Access (TA0006)(opens in a new tab or window)

License
Elastic License v2(opens in a new tab or window)

Definition

Rule Type
Event Correlation Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-jamf_protect*logs-endpoint.events.process-*
Related Integrations

endpoint(opens in a new tab or window)

jamf_protect(opens in a new tab or window)

Query
sequence by host.hostname, host.id with maxspan=1m
[process where host.os.type == "macos" and event.type == "start" and event.action == "exec" and process.name: "pbpaste"] with runs = 5

Install detection rules in Elastic Security

Detect Suspicious pbpaste High Volume Activity in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).