cyberstrikeus/cyberstrike/t1025-data-from-removable-media

Claude Code and agent skill by cyberstrikeus/cyberstrike

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Adversaries may search connected removable media on computers they have compromised to find files of interest.

Install

npx vskill@latest install cyberstrikeus/cyberstrike/t1025-data-from-removable-media

SKILL.md

The same SKILL.md was published earlier as cyberstrikeus/cyberstrike/t1025-data-from-removable-media.

T1025 Data from Removable Media

High-Level Description

Adversaries may search connected removable media on computers they have compromised to find files of interest. Sensitive data can be collected from any removable media (optical disk drive, USB memory, etc.) connected to the compromised system prior to Exfiltration. Interactive command shells may be in use, and common functionality within cmd may be used to gather information.

Some adversaries may also use Automated Collection on removable media.

Kill Chain Phase

  • Collection (TA0009)

Platforms: Linux, macOS, Windows

What to Check

  • [ ] Identify if Data from Removable Media technique is applicable to target environment
  • [ ] Check Linux systems for indicators of Data from Removable Media
  • [ ] Check macOS systems for indicators of Data from Removable Media
  • [ ] Check Windows systems for indicators of Data from Removable Media
  • [ ] Verify mitigations are bypassed or absent (1 known mitigations)
  • [ ] 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: Identify Documents on USB and Removable Media via PowerShell

This test simulates an attack where PowerShell is used to detect connected USB or other removable storage devices and gather a list of specific document files (e.g., .docx, .xls, .txt, .pdf). The command works by first identifying removable drives on the system and then recursively searching through each one for files matching the targeted extensions. If no removable drives are present, the script will return a message stating that no media is detected. This behavior mimics how adversaries might scan for sensitive documents on removable devices for exfiltration or analysis.

Supported Platforms: windows

cmd
powershell.exe -c "Get-Volume | Where-Object {$_.DriveType -eq 'Removable'} | ForEach-Object { Get-ChildItem -Path ($_.DriveLetter + ':\*') -Recurse -Include '*.doc*','*.xls*','*.txt','*.pdf' -ErrorAction SilentlyContinue | ForEach-Object {Write-Output $_.FullName} } ; if (-not (Get-Volume | Where-Object {$_.DriveType -eq 'Removable'})) { Write-Output 'No removable media.' }"
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 Data from Removable Media by examining the target platforms (Linux, macOS, Windows).
  1. Assess Existing Defenses: Review whether mitigations for T1025 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
  1. Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.

Remediation Guide

M1057 Data Loss Prevention

Data loss prevention can restrict access to sensitive data and detect sensitive data that is unencrypted.

Detection

Detection of Data Access and Collection from Removable Media

Risk Assessment

FindingSeverityImpact
Data from Removable Media technique applicableLowCollection

CWE Categories

CWE IDTitle
CWE-200Exposure of Sensitive Information

References

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,916
Repository forks
457
7-day trend score
40

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cyberstrikeus/cyberstrike/t1025-data-from-removable-media/badge)](https://verified-skill.com/skills/cyberstrikeus/cyberstrike/t1025-data-from-removable-media)

Something wrong with this skill or its page? Tell us.