Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 1.17 KB

T1115.md

File metadata and controls

51 lines (28 loc) · 1.17 KB

T1115 - Clipboard Data

Adversaries may collect data stored in the Windows clipboard from users copying information within or between applications.

Windows

Applications can access clipboard data by using the Windows API. (Citation: MSDN Clipboard)

Mac

OSX provides a native command, pbpaste, to grab clipboard contents (Citation: Operating with EmPyre).

Atomic Tests


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

Run it with command_prompt! ```

dir | clip clip < readme.txt




<br/>
<br/>

## Atomic Test #2 - PowerShell
Utilize PowerShell to echo a command to clipboard and execute it

**Supported Platforms:** Windows


#### Run it with `powershell`! ```
echo Get-Process | clip
Get-Clipboard | iex