CatalogLOOBins

ORCHARD · Tool

pbpaste

1 techniquemacOSLOOBinsGPL-3.0

Use pbpaste to collect sensitive clipboard data

Credential AccessCollectionmacOS

A pbpaste bash loop can continuously collect clipboard contents every x minutes and write contents to a file (or another location). This may allow an attacker to gather user credentials or collect other sensitive information.

while true; do echo $(pbpaste) >> loot.txt; sleep 10; done
Evidence
Upstream reference
Environment
Local host
Compatibility
Imported from LOOBins; availability and behaviour depend on macOS version, privacy permissions and installed components. Not lab tested here.
Native
Credential Access, Collection