Now on Demand Ransomware Resilience & Recovery Summit - All Sessions Available
Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

XML Files Used to Distribute Dridex Banking Trojan

Cybercrooks have been leveraging malicious macros hidden inside XML files to distribute the Dridex financial malware, researchers have warned.

Cybercrooks have been leveraging malicious macros hidden inside XML files to distribute the Dridex financial malware, researchers have warned.

It’s not uncommon for cybercriminals to use specially crafted Microsoft Office files that contain macros for malware distribution. However, attackers usually rely on Microsoft Word and Excel documents, not the XML (Extensible Markup Language) format.

Last week, Trustwave spotted a spam run in which attackers sent out “remittance advice” emails that appeared to come from various companies. The messages instructed recipients to open the remittance advice attached to them.

According to researchers, the attachment is a Word document saved as an XML file named something like “Rem_0443NF.xml.” The file is opened with Microsoft Word if the application is installed on the device, and if macros are enabled, the malicious Visual Basic for Applications (VBA) code is executed.

“Hidden in this seemingly harmless XML file is a malicious macro document file which is compressed, encoded in base64, and stored in XML format,” explained Trustwave’s Rodel Mendrez.

The obfuscated macro downloads the Dridex Trojan from a remote server. The threat is designed to steal sensitive information, such as banking details, from infected systems.

This campaign has been active since October 2014. In January, Trustwave reported that the cybercriminals had leveraged Word and Excel documents to target banking customers in the United Kingdom.

Researchers at Sophos also reported seeing “a surge in brand new VBA malware packaged in this old and unusual format [XML].” The security firm believes it’s likely that cybercriminals have revived the format because it’s not usually associated with attacks.

Advertisement. Scroll to continue reading.

“Perhaps, also, malware authors hope that the rarity of XML-type files means that some security products are unable to deconstruct it properly,” Graham Chantry, senior threat researcher with SophosLabs UK, explained in a blog post on new developments in Microsoft Office malware.

Chantry has pointed out that the attackers could have embedded the malware as scrambled data directly in the VBA code, which would have allowed the threat to function even when offline. However, the use of a downloader gives the malicious actors extra flexibility, allowing them to change the downloaded malware at any time. This also enables them to adapt the threat based on the victim’s location, and download clean files that serve as a decoy.

Didier Stevens, a handler at the SANS Institute’s Internet Storm Center, has provided some recommendations on how organizations can filter out emails that have potentially malicious XML files attached to them.

“XML declaration identifies the XML file as a Word document, and attribute w:macrosPresent=”yes” (of element w:wordDocument) indicates the presence of VBA macros,” Stevens said.

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

People on the Move

Bill Dunnion has joined telecommunications giant Mitel as Chief Information Security Officer.

MSSP Dataprise has appointed Nima Khamooshi as Vice President of Cybersecurity.

Backup and recovery firm Keepit has hired Kim Larsen as CISO.

More People On The Move

Expert Insights

Related Content

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

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

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

Cyberwarfare

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

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

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

Malware & Threats

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

Malware & Threats

Cisco is warning of a zero-day vulnerability in Cisco ASA and FTD that can be exploited remotely, without authentication, in brute force attacks.