OpenParable
Skip to content
← Back to skills

T1113_screen-capture

DevOps & Security

Adversaries may attempt to take screen captures of the desktop to gather information over the course of an operation.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/mitre_attack/TA0009_collection/T1113_screen-capture/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/t1113-screen-capture, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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:

  1. Identify Attack Surface: Determine if the target environment is susceptible to Screen Capture by examining the target platforms (Linux, Windows, macOS).

  2. Assess Existing Defenses: Review whether mitigations for T1113 are in place. If defenses are absent or misconfigured, this technique may be exploitable.

  3. 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

FindingSeverityImpact
Screen Capture technique applicableLowCollection

CWE Categories

CWE IDTitle
CWE-200Exposure of Sensitive Information

References