August 13, 2019 By David Bisson 2 min read

Attackers took a sophisticated dropper and disguised it as a fake DHL shipping invoice to distribute Ursnif malware.

Deep Instinct recently came across an attack email that attempted to trick people into opening a fake DHL invoice. This notice was actually an Excel spreadsheet that prompted users to enable a VBA macro contained therein.

Once activated, the macro displayed a fake progress bar to trick the user into thinking the malicious document was legitimate while it secretly ran malicious code in the background. The macro was also obfuscated and contained randomly generated comments to make the code appear benign and help it evade detection by security solutions.

After loading the fake progress bar, the VBA macro read a portion of the Excel file, called WMIC.exe, using a Shell() function and executed a PowerShell command. This PowerShell code also came with multiple layers of obfuscation, encoding and compression. Ultimately, the code executed the campaign’s Ursnif malware payload.

A History of DHL Malware Campaigns

This is not the first time threat actors have disguised their malware campaigns as DHL correspondence. Back in 2018, for instance, Yoroi Security discovered a malspam campaign that used the cover of a message from DHL to target Italian users with Gozi/Ursnif/IFSB/Dreambot variants.

That was just a few months before SI-Lab spotted a DHL-themed phishing campaign pushing Muncy malware. Not long thereafter, My Online Security saw an email that pretended to deliver a DHL shipment notification, but actually used a link in the email body and two Microsoft Word documents to spread various malware.

How to Defend Against Ursnif Attacks

Security professionals can help defend their organizations against DHL-themed Ursnif attacks by using ahead-of-threat detection to spot potentially malicious domains before they become active in phishing campaigns and other attacks. Organizations should also use test phishing engagements to educate their employees and test their awareness of social engineering attacks.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today