T1113 Screen Capture
High-Level Description
Adversaries may attempt to take screen captures of the desktop to gather information over the course of an operation. Screen capturing functionality may be included as a feature of a remote access tool used in post-compromise operations. Taking a screenshot is also typically possible through native utilities or API calls, such as CopyFromScreen, xwd, or screencapture.
Kill Chain Phase
- Collection (TA0009)
Platforms: Linux, Windows, macOS
What to Check
- Identify if Screen Capture technique is applicable to target environment
- Check Linux systems for indicators of Screen Capture
- Check Windows systems for indicators of Screen Capture
- Check macOS systems for indicators of Screen Capture
- Assess detection coverage (1 detection strategies)
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: Screencapture
Use screencapture command to collect a full desktop screenshot
Supported Platforms: macos
screencapture #{output_file}
Atomic Test 2: Screencapture (silent)
Use screencapture command to collect a full desktop screenshot
Supported Platforms: macos
screencapture -x #{output_file}
Atomic Test 3: X Windows Capture
Use xwd command to collect a full desktop screenshot and review file with xwud
Supported Platforms: linux
xwd -root -out #{output_file}
xwud -in #{output_file}
Dependencies:
- Package with XWD and XWUD must exist on device
Atomic Test 4: X Windows Capture (freebsd)
Use xwd command to collect a full desktop screenshot and review file with xwud
Supported Platforms: linux
xwd -root -out #{output_file}
xwud -in #{output_file}
Dependencies:
- Package with XWD and XWUD must exist on device
Atomic Test 5: Capture Linux Desktop using Import Tool
Use import command from ImageMagick to collect a full desktop screenshot
Supported Platforms: linux
import -window root #{output_file}
Dependencies:
- ImageMagick must be installed
Manual Testing
If Atomic Red Team tests are not applicable, manually verify the technique by:
Identify Attack Surface: Determine if the target environment is susceptible to Screen Capture by examining the target platforms (Linux, Windows, macOS).
Assess Existing Defenses: Review whether mitigations for T1113 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.
Remediation Guide
No specific mitigations documented for this technique.
Detection
Detect Screen Capture via Commands and API Calls
Risk Assessment
| Finding | Severity | Impact |
|---|---|---|
| Screen Capture technique applicable | Low | Collection |
CWE Categories
| CWE ID | Title |
|---|---|
| CWE-200 | Exposure of Sensitive Information |