Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Sophisticated USB Trojan Spotted in the Wild

Researchers at ESET have discovered a sophisticated data-stealing USB Trojan that leaves no trace on the compromised system and includes a self-protection mechanism that makes it difficult to detect, copy and analyze.

Researchers at ESET have discovered a sophisticated data-stealing USB Trojan that leaves no trace on the compromised system and includes a self-protection mechanism that makes it difficult to detect, copy and analyze.

The threat, dubbed by the security firm “USB Thief,” has been spotted on USB devices in the wild. One aspect that makes it stand out from other USB malware families is that each copy is bound to a single USB drive.

Unlike other USB threats that leverage autorun and shortcut files to get executed, USB Thief relies on the fact that users often store portable versions of Firefox, NotePad++, TrueCrypt and other popular applications on USB sticks.

According to ESET, the malware injects itself into the execution chain of such applications by posing as a plugin or a DLL file. When a victim launches the targeted app from an infected USB drive, the Trojan is also executed in the background.

USB ThiefThe malware has six different component files – four executables and two configuration files. In order to ensure that it cannot be copied from a USB drive and reverse engineered, some USB Thief files are encrypted using an AES encryption key generated based on the USB device’s unique ID and certain disk properties. The names of the files executed during every stage of the infection routine are different for each instance as they are generated based on file content and creation time.

This mechanism ensures that the malware doesn’t work on devices other than the USB drive on which it was planted by the attacker, preventing researchers from analyzing the threat.

The first stage loader is responsible for executing the Trojan via portable applications and checking if the USB device from which it’s run is writeable so that the stolen information can be stored there.

The second stage loader verifies the name of the parent process to ensure that it’s not being executed in an analysis environment, while the third stage loader checks for the presence of antivirus software.

The final payload, which is injected into a newly created process, is designed to steal information from the infected device, including images, documents, the Windows registry tree, file lists from all available drives, and data collected by a Windows inventory utility called WinAudit. The stolen information is encrypted using elliptic curve cryptography and stored on the USB drive from which the infection started.

Advertisement. Scroll to continue reading.

Since the malware is being executed from a USB device, the infection doesn’t leave any trace on the targeted machine. ESET experts believe the threat is ideal for targeted attacks against air-gapped systems.

“This malware is unique because of some particular features but the defense against it still falls within the capabilities of general cybersecurity measures,” explained ESET malware analyst Tomáš Gardoň. “Most importantly, USB ports should be disabled wherever possible and, if that’s not possible, strict policies should be in place to enforce care in their use. It’s highly desirable for staff at all levels to undergo cybersecurity training – including real-life testing – if possible.”

USB Thief is not the only USB malware analyzed by ESET. The company has also investigated one of the tools used by the notorious Pawn Storm/APT28/Sednit group to steal data from air-gapped networks.

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Cyberwarfare

An engineer recruited by intelligence services reportedly used a water pump to deliver Stuxnet, which reportedly cost $1-2 billion to develop.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.