T1091 CrowdStrike LogScale · LogScale

Detect Replication Through Removable Media in CrowdStrike LogScale

Adversaries may move onto systems, possibly those on disconnected or air-gapped networks, by copying malware to removable media and taking advantage of Autorun features when the media is inserted into a system. This technique serves dual purposes: Initial Access (introducing malware into isolated or air-gapped environments) and Lateral Movement (propagating between networked systems via USB). Common implementations include creating autorun.inf files that auto-execute malware on media insertion, copying malicious executables to the drive root disguised as legitimate files, and creating LNK shortcut files that silently execute hidden payloads. Notable threat actors include Stuxnet (targeting air-gapped ICS/SCADA networks via CVE-2010-2568 LNK vulnerability), Flame (modular USB infection framework), Gamaredon Group (LNK files on all removable and network drives via UserAssist persistence), Mustang Panda and APT30 (customized PlugX USB variants), Raspberry Robin (worm spread via infected USB media), HIUPAN (periodic drive polling for propagation), and Aoqin Dragon (removable device dropper for breaching secure network environments).

MITRE ATT&CK

Tactic
Lateral Movement Initial Access
Technique
T1091 Replication Through Removable Media
Canonical reference
https://attack.mitre.org/techniques/T1091/

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
// T1091 — Replication Through Removable Media
// Signal 1: autorun.inf creation on non-system drive (Stuxnet/Flame/Agent.btz pattern)
#repo=base_sensor #event_simpleName=FileOpenInfo
| TargetFileName = /(?i)autorun\.inf$/
| TargetFileName != /^[Cc]:\\/
| TargetFileName != /^\\\\/
| case {
    TargetFileName = /(?i)autorun\.inf$/ | Signal := "AutorunInfCreated"; RiskScore := 90
  }
| table([_timstamp, ComputerName, UserName, TargetFileName, Signal, RiskScore, ParentBaseFileName, CommandHistory])

// Union Signal 2 + 3: Executables written to removable drives
| union {
  #repo=base_sensor #event_simpleName=FileOpenInfo
  | TargetFileName = /(?i)\.(exe|dll|bat|cmd|vbs|js|lnk|hta|ps1|scr|pif|com)$/
  | TargetFileName = /^[D-Zd-z]:\\/
  | TargetFileName != /^\\\\/
  | eval drive_root = if(match(TargetFileName, /^[D-Zd-z]:\\[^\\]+\.(exe|dll|bat|cmd|vbs|js|lnk|hta|ps1|scr|pif|com)$/i), "true", "false")
  | case {
      drive_root = "true" | Signal := "ExecutableAtDriveRoot"; RiskScore := 85 ;
      * | Signal := "ExecutableOnRemovableMedia"; RiskScore := 65
    }
  | table([_timstamp, ComputerName, UserName, TargetFileName, Signal, RiskScore, ParentBaseFileName, CommandHistory])
}

// Union Signal 4: Process launched from non-system drive (Raspberry Robin/Aoqin Dragon)
| union {
  #repo=base_sensor #event_simpleName=ProcessRollup2
  | ImageFileName = /^[D-Zd-z]:\\/
  | ImageFileName != /^\\\\/
  | Signal := "ProcessFromRemovableMedia"
  | RiskScore := 88
  | table([_timstamp, ComputerName, UserName, ImageFileName, Signal, RiskScore, ParentBaseFileName, CommandLine])
}

| sort(RiskScore, order=desc)
| sort(_timstamp, order=desc)
high severity medium confidence

CrowdStrike LogScale (Humio CQL) detection for T1091 removable media replication across four signals: autorun.inf creation (FileOpenInfo events), executables written to drive roots and removable paths (FileOpenInfo), and processes launched directly from non-system drive letters (ProcessRollup2). Covers Stuxnet, PlugX, Raspberry Robin, and Aoqin Dragon tradecraft.

Data Sources

CrowdStrike Falcon Endpoint ProtectionFalcon sensor process and file telemetryCrowdStrike LogScale SIEM

Required Tables

base_sensor repositoryFileOpenInfo eventsProcessRollup2 events

False Positives & Tuning

  • IT technicians using USB-based deployment kits that include installer executables and batch scripts at the drive root for imaging workstations
  • Industrial control system (ICS/SCADA) environments where engineers routinely transfer firmware update binaries to removable drives for air-gapped system updates
  • Penetration testers with legitimate engagements who are deliberately testing removable media controls as part of authorized red team assessments
Download portable Sigma rule (.yml)

Other platforms for T1091


Testing Methodology

Validate this detection against 5 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Create autorun.inf on Non-System Drive

    Expected signal: Sysmon Event ID 11 (File Create): TargetFilename=D:\autorun.inf, Image=cmd.exe. DeviceFileEvents in MDE: FileName=autorun.inf, FolderPath=D:\, ActionType=FileCreated, InitiatingProcessFileName=cmd.exe.

  2. Test 2Copy Executable to Removable Drive Root (PlugX/HIUPAN Pattern)

    Expected signal: Sysmon Event ID 11 (File Create): TargetFilename=D:\system_update.exe, Image=cmd.exe, MD5 matches cmd.exe hash. DeviceFileEvents in MDE: FileName=system_update.exe, FolderPath=D:\, ActionType=FileCreated, SHA256 matches cmd.exe.

  3. Test 3Create Malicious LNK Shortcut on Removable Drive (Gamaredon Technique)

    Expected signal: Sysmon Event ID 11 (File Create): TargetFilename=D:\Documents.lnk, Image=powershell.exe. DeviceFileEvents in MDE: FileName=Documents.lnk, FolderPath=D:\, ActionType=FileCreated, InitiatingProcessFileName=powershell.exe. WindowStyle=7 (minimized/hidden window) indicates deliberate concealment.

  4. Test 4Execute Process Directly from Removable Drive

    Expected signal: Sysmon Event ID 1 (Process Create): Image=D:\usb_payload.exe, CommandLine=D:\usb_payload.exe /C whoami, ParentImage=cmd.exe. DeviceProcessEvents in MDE: FileName=usb_payload.exe, FolderPath=D:\, ProcessCommandLine contains 'whoami'. Preceded by Sysmon Event ID 11 for the file copy.

  5. Test 5Enumerate Removable Drives via WMI (USB Worm Reconnaissance)

    Expected signal: Sysmon Event ID 1 (Process Create): Image=powershell.exe, CommandLine contains 'Win32_LogicalDisk' and 'DriveType'. DeviceProcessEvents in MDE: FileName=powershell.exe, ProcessCommandLine contains WMI query. WMI Activity log (Microsoft-Windows-WMI-Activity/Operational Event ID 5857/5858) may record the Win32_LogicalDisk query.

Unlock Pro Content

Get the full detection package for T1091 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections