Skip to content

Latest commit

 

History

History
74 lines (35 loc) · 1.32 KB

T1115.md

File metadata and controls

74 lines (35 loc) · 1.32 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

Attack Commands: Run with command_prompt!

dir | clip
echo "T1115" > %temp%\T1115.txt
clip < %temp%\T1115.txt

Cleanup Commands:

del %temp%\T1115.txt >nul 2>&1


Atomic Test #2 - PowerShell

Utilize PowerShell to echo a command to clipboard and execute it

Supported Platforms: Windows

Attack Commands: Run with powershell!

echo Get-Process | clip
iex Get-Clipboard