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.

Advertisement. Scroll to continue reading.

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.

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

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 security experts as they discuss ZTNA’s untapped potential to both reduce cyber risk and empower the business.

Register

Join Microsoft and Finite State for a webinar that will introduce a new strategy for securing the software supply chain.

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...

Cybercrime

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

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.

Malware & Threats

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

Cybercrime

The recent ransomware attack targeting Rackspace was conducted by a cybercrime group named Play using a new exploitation method, the cloud company revealed this...

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...

Malware & Threats

A vulnerability affecting IBM’s Aspera Faspex file transfer solution, tracked as CVE-2022-47986, has been exploited in attacks.