Data from Removable Media

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.

ID: T1025
Sub-techniques:  No sub-techniques
Tactic: Collection
Platforms: Linux, Windows, macOS
System Requirements: Privileges to access removable media drive and files
Contributors: William Cain
Version: 1.2
Created: 31 May 2017
Last Modified: 15 October 2021
Provided by LAYER 8

Procedure Examples

ID Name Description
S0622 AppleSeed

AppleSeed can find and collect data from removable media devices.[1]

G0007 APT28

An APT28 backdoor may collect the entire contents of an inserted USB device.[2]

S0456 Aria-body

Aria-body has the ability to collect data from USB devices.[3]

S0128 BADNEWS

BADNEWS copies files with certain extensions from USB devices toa predefined directory.[4]

S0050 CosmicDuke

CosmicDuke steals user files from removable media with file extensions and keywords that match a predefined list.[5]

S0115 Crimson

Crimson contains a module to collect data from removable drives.[6][7]

S0538 Crutch

Crutch can monitor removable drives and exfiltrate files matching a given extension list.[8]

S0569 Explosive

Explosive can scan all .exe files located in the USB drive.[9]

S0036 FLASHFLOOD

FLASHFLOOD searches for interesting files (either a default or customized set of file extensions) on removable media and copies them to a staging area. The default file types copied would include data copied to the drive by SPACESHIP.[10]

G0047 Gamaredon Group

A Gamaredon Group file stealer has the capability to steal data from newly connected logical volumes on a system, including USB drives.[11][12]

S0237 GravityRAT

GravityRAT steals files based on an extension list if a USB drive is connected to the system.[13]

S0260 InvisiMole

InvisiMole can collect jpeg files from connected MTP devices.[14]

S0409 Machete

Machete can find, encrypt, and upload files from fixed and removable drives.[15][16]

S0644 ObliqueRAT

ObliqueRAT has the ability to extract data from removable devices connected to the endpoint.[17]

S0113 Prikormka

Prikormka contains a module that collects documents with certain extensions from removable media or fixed drives connected via USB.[18]

S0458 Ramsay

Ramsay can collect data from removable media and stage it for exfiltration.[19]

S0125 Remsec

Remsec has a package that collects documents from any inserted USB sticks.[20]

S0090 Rover

Rover searches for files on attached removable drives based on a predefined list of file extensions every five seconds.[21]

S0467 TajMahal

TajMahal has the ability to steal written CD images and files of interest from previously connected removable drives when they become available again.[22]

G0010 Turla

Turla RPC backdoors can collect files from USB thumb drives.[23][24]

S0136 USBStealer

Once a removable media device is inserted back into the first victim, USBStealer collects data from it that was exfiltrated from a second victim.[25][26]

Mitigations

ID Mitigation Description
M1057 Data Loss Prevention

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

Detection

ID Data Source Data Component
DS0017 Command Command Execution
DS0022 File File Access

Monitor processes and command-line arguments for actions that could be taken to collect files from a system's connected removable media. Remote access tools with built-in features may interact directly with the Windows API to gather data. Data may also be acquired through Windows system management tools such as Windows Management Instrumentation and PowerShell.

References

  1. Hromcova, Z. and Cherpanov, A. (2020, June). INVISIMOLE: THE HIDDEN PART OF THE STORY. Retrieved July 16, 2020.
  2. The Cylance Threat Research Team. (2017, March 22). El Machete's Malware Attacks Cut Through LATAM. Retrieved September 13, 2019.
  3. ESET. (2019, July). MACHETE JUST GOT SHARPER Venezuelan government institutions under attack. Retrieved September 13, 2019.
  4. Malhotra, A. (2021, March 2). ObliqueRAT returns with new campaign using hijacked websites. Retrieved September 2, 2021.
  5. Cherepanov, A.. (2016, May 17). Operation Groundbait: Analysis of a surveillance toolkit. Retrieved May 18, 2016.
  6. Sanmillan, I.. (2020, May 13). Ramsay: A cyber‑espionage toolkit tailored for air‑gapped networks. Retrieved May 27, 2020.
  7. Kaspersky Lab's Global Research & Analysis Team. (2016, August 9). The ProjectSauron APT. Technical Analysis. Retrieved August 17, 2016.
  8. Ray, V., Hayashi, K. (2016, February 29). New Malware ‘Rover’ Targets Indian Ambassador to Afghanistan. Retrieved February 29, 2016.
  9. GReAT. (2019, April 10). Project TajMahal – a sophisticated new APT framework. Retrieved October 14, 2019.
  10. Faou, M. and Dumont R.. (2019, May 29). A dive into Turla PowerShell usage. Retrieved June 14, 2019.
  11. Symantec DeepSight Adversary Intelligence Team. (2019, June 20). Waterbug: Espionage Group Rolls Out Brand-New Toolset in Attacks Against Governments. Retrieved July 8, 2019.
  12. Calvet, J. (2014, November 11). Sednit Espionage Group Attacking Air-Gapped Networks. Retrieved January 4, 2017.
  13. Kaspersky Lab's Global Research and Analysis Team. (2015, December 4). Sofacy APT hits high profile targets with updated toolset. Retrieved December 10, 2015.