| name | T1115_clipboard-data |
| description | Adversaries may collect data stored in the clipboard from users copying information within or between applications. |
| category | information-gathering |
| version | 18.1 |
| author | cyberstrike-official |
| tags | ["mitre-attack","enterprise","t1115","collection","linux","macos","windows"] |
| technique_id | T1115 |
| tactic | collection |
| all_tactics | ["collection"] |
| platforms | ["Linux","macOS","Windows"] |
| mitre_url | https://attack.mitre.org/techniques/T1115 |
| tech_stack | ["linux","macos","windows"] |
| cwe_ids | ["CWE-200"] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
T1115 Clipboard Data
High-Level Description
Adversaries may collect data stored in the clipboard from users copying information within or between applications.
For example, on Windows adversaries can access clipboard data by using clip.exe or Get-Clipboard. Additionally, adversaries may monitor then replace users’ clipboard with their data (e.g., Transmitted Data Manipulation).
macOS and Linux also have commands, such as pbpaste, to grab clipboard contents.
Kill Chain Phase
Platforms: Linux, macOS, Windows
What to Check
How to Test
Atomic Red Team Tests
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Atomic Test 1: Utilize Clipboard to store or execute commands from
Add data to clipboard to copy off or execute commands from.
Supported Platforms: windows
dir | clip
echo "T1115" > %temp%\T1115.txt
clip < %temp%\T1115.txt
Atomic Test 2: Execute Commands from Clipboard using PowerShell
Utilize PowerShell to echo a command to clipboard and execute it
Supported Platforms: windows
echo Get-Process | clip
Get-Clipboard | iex
Atomic Test 3: Execute commands from clipboard
Echo a command to clipboard and execute it
Supported Platforms: macos
echo ifconfig | pbcopy
$(pbpaste)
Atomic Test 4: Collect Clipboard Data via VBA
This module copies the data stored in the user's clipboard and writes it to a file, $env:TEMP\atomic_T1115_clipboard_data.txt