USBferry
- Type
- Worm
- Capabilities
- Initial accessLateral movementReconnaissanceExfiltrationDefense evasionProcess injection
- Delivery
- USB
- Platforms
- Windows
USBferry is a Windows USB-propagating espionage malware family used by Tropic Trooper to compromise connected and air-gapped systems and steal sensitive documents. Activity has been observed since 2014, including operations against government institutions, military and navy organizations, military hospitals, and a national bank in Taiwan and the Philippines. Targeted information includes defense-, maritime-, and ship-related documents. The malware detects connected USB storage and copies its installer onto removable media, enabling infection of physically isolated systems. When network connectivity is unavailable, it collects host data and copies it to USB storage for subsequent exfiltration through a connected system.
USBferry executes Windows commands to enumerate local accounts, running processes, remote systems, network configuration, and active connections. Multiple versions and components have been identified, including loaders that unpack encrypted payloads and inject a malicious DLL into the Windows Rundll32 process to reduce detection. Tropic Trooper has used less-secured related organizations as stepping stones into more protected environments, including movement from a military hospital into an air-gapped military network.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The group employs USBferry, a USB malware that performs different commands on specific targets, maintains stealth in environments, and steals critical data through USB storage.
Techniques & procedures
22 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
[USBferry](https://attack.mitre.org/software/S0452) can copy its installer to attached USB storage devices.(Citation: TrendMicro Tropic Trooper May 2020)
the methods observed do not differ much from what we see in general malware: emails with malicious attachments, links, or USB worms.
Execution
1 technique
Execution
[USBferry](https://attack.mitre.org/software/S0452) can execute various Windows commands.(Citation: TrendMicro Tropic Trooper May 2020)
Persistence
1 technique
Persistence
Registered itself as a Winlogon helper DLL in Windows registry in Shell subkey
Privilege Escalation
2 techniques
Privilege Escalation
After the encrypted payload is loaded, the loader injects a malicious DLL into rundll32.exe.
Registered itself as a Winlogon helper DLL in Windows registry in Shell subkey
Stealth
3 techniques
Stealth
This version also changes the malware location and its name to UF, an abbreviation for USBferry.
After the encrypted payload is loaded, the loader injects a malicious DLL into rundll32.exe.
[USBferry](https://attack.mitre.org/software/S0452) can execute rundll32.exe in memory to avoid detection.(Citation: TrendMicro Tropic Trooper May 2020)
Discovery
10 techniques
Discovery
[USBferry](https://attack.mitre.org/software/S0452) can detect the infected machine's network topology using <code>ipconfig</code> and <code>arp</code>.(Citation: TrendMicro Tropic Trooper May 2020)
[USBferry](https://attack.mitre.org/software/S0452) can use <code>net view</code> to gather information about remote systems.(Citation: TrendMicro Tropic Trooper May 2020)
[USBferry](https://attack.mitre.org/software/S0452) can use <code>netstat</code> and <code>nbtstat</code> to detect active network connections.(Citation: TrendMicro Tropic Trooper May 2020)
[USBferry](https://attack.mitre.org/software/S0452) can use <code>tasklist</code> to gather information about the process running on the infected system.(Citation: TrendMicro Tropic Trooper May 2020)
Frameworks gather information such as computer name, username, domain name, list of running processes, listing of files in directories, drives and network shares, as well as network configuration information
[USBferry](https://attack.mitre.org/software/S0452) can detect the victim's file or folder list.(Citation: TrendMicro Tropic Trooper May 2020)
“actors used the following commands… to enumerate user accounts: net user >> %temp%\download; net user /domain >> %temp%\download … APT1 used the commands net localgroup, net user, and net group to find accounts… APT32 enumerated administrative users using the commands net localgroup administrators … OilRig has run net user, net user /domain, net group "domain admins" /domain …”
[USBferry](https://attack.mitre.org/software/S0452) can use <code>net user</code> to gather information about local accounts.(Citation: TrendMicro Tropic Trooper May 2020)
[USBferry](https://attack.mitre.org/software/S0452) can check for connected USB devices.(Citation: TrendMicro Tropic Trooper May 2020)
Some frameworks, for example USBFerry, USBCulprit, Retro and PlugX, simply pipe the output of built-in Windows commands (for instance, ipconfig or netstat) to a file that is exfiltrated to the attacker
Lateral Movement
1 technique
Lateral Movement
[USBferry](https://attack.mitre.org/software/S0452) can copy its installer to attached USB storage devices.(Citation: TrendMicro Tropic Trooper May 2020)
Collection
2 techniques
Collection
[USBferry](https://attack.mitre.org/software/S0452) can collect information from an air-gapped host machine.(Citation: TrendMicro Tropic Trooper May 2020)
if it finds that the network is unavailable, it tries to collect information from the target machine and copy the collected data into USB storage. This way, the USB exfiltrates the information
Command and Control
2 techniques
Command and Control
Connected side: Contacted C&C servers via HTTP.
The USBferry malware then tries to connect to the download site
Exfiltration
1 technique
Exfiltration
if it finds that the network is unavailable, it tries to collect information from the target machine and copy the collected data into USB storage. This way, the USB exfiltrates the information
Recent activity
26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.