Has used Wireshark’s usbcapcmd utility to capture USB traffic.1
Data from Removable Media T1025
- Tactic
- Collection
- Platforms
- Linux, macOS, Windows
- Version
- 1.3
- Created
- 31 May 2017
- Last modified
- 24 October 2025
- Contributor
- William Cain
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.
Data from Removable Media MITRE reference T1025
4 groups have been recorded using this technique. Newest first; each entry carries MITRE’s procedure text and a link to the group’s full record. Click a name to filter the rules below.
A Gamaredon Group file stealer has the capability to steal data from newly connected logical volumes on a system, including USB drives.123
An APT28 backdoor may collect the entire contents of an inserted USB device.1
All 4 groups for this technique
20 software entries are documented implementing this technique. MITRE files each as a tool or as malware; newest first, then by how many groups carry them.
Includes modules capable of gathering information from USB thumb drives and CD-ROMs on the victim machine given a list of provided criteria.1
The FunnyDream FilePakMonitor component has the ability to collect files from removable devices.1
Has the ability to extract data from removable devices connected to the endpoint.1
Can scan all .exe files located in the USB drive.1
Can monitor removable drives and exfiltrate files matching a given extension list.1
All 20 software entries for this technique · 6 newest in this preview
Offense vs defense T1025
Is defensive coverage keeping up with adversary use? Eight counts, each ranked against all 697 ATT&CK techniques. Attack sits left, defense right, so a shape leaning left means adversaries are better documented here than defenders are equipped. Hover any spoke for its percentile and the share of techniques that have more. The timeline below shows when each side arrived.
How it got here
Adversary activity (campaign spans) over cumulative rule output. Each source is plotted independently from zero, so neither line includes the other. Campaign dates are year-granularity.
Data from Removable Media detection strategy DET0511
MITRE names one behaviour worth catching for this technique and breaks it into 3 analytics, one per platform. Each carries the log sources it needs and the fields you tune per environment.
Detection of Data Access and Collection from Removable Media
AN1410 · Windows
Adversary mounts a USB device and begins enumerating, copying, or compressing files using scripting engines, cmd, or remote access tools.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Process CreationDC0032 | WinEventLog:Sysmon | EventCode=1 |
| Drive CreationDC0042 | WinEventLog:System | EventCode=2003 |
| File AccessDC0055 | WinEventLog:Security | EventCode=4663, 4670, 4656 |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| VolumeLabel | Can tune based on known removable device labels or whitelist |
| TimeWindow | Controls timing between device mount and sensitive file access |
| TargetFileType | Tune for sensitive file extensions (e.g., .docx, .pdf, .csv) |
AN1411 · Linux
Adversary mounts external drive to /media or /mnt then accesses or copies targeted data via shell, cp, or tar.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Process CreationDC0032 | auditd:SYSCALL | execve |
| Drive CreationDC0042 | journald:systemd | udisks2 or udevd logs |
| File AccessDC0055 | auditd:SYSCALL | open, read, mount |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| MountPathRegex | Filter for unexpected or user-defined mount locations (e.g., /media/usb*) |
| AccessMask | Tune based on read/write access types seen during collection |
AN1412 · macOS
Adversary attaches USB drive and accesses sensitive files using Finder, cp, or bash scripts.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Process CreationDC0032 | macos:osquery | process_events |
| Drive CreationDC0042 | macos:unifiedlog | log stream --predicate 'eventMessage contains "USBMSC"' |
| File AccessDC0055 | fs:fsusage | file reads/writes from /Volumes/ |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| VolumePath | Tune by filtering removable media mounted under /Volumes |
| UserContext | Correlate activity to admin or service accounts for priority |
Data loss prevention can restrict access to sensitive data and detect sensitive data that is unencrypted.
Tests from Atomic Red Team (MIT licence) · technique definition