Low Volume, High Payoff Attacks Target Financial Services Industries in Asia
- Malicious email found targeting financial institutions in the Middle East, Pakistan, and Nepal.
- Very low volume and advanced penetration techniques applied aiming for stealthy payoff.
- Websense® ThreatScope™ sandboxing reveals the attack most likely seeks monetary gain through the use of a banking Trojan variant.
A few days ago, researchers from Websense Security Labs™ were reviewing data in the Websense ThreatSeeker® Intelligence Cloud and noticed a very small volume email attack targeting companies dealing with currency transfer/exchange located in Asia. Countries that were affected were the UAE, Pakistan and Nepal, but it's possible that other countries in the region were also targeted. The email messages were spoofing an email account that belongs to a remittance and currency exchange company. They were sent to recipients from the same company and a few other financial organizations in Asia. Some of the headers reveal they were most likely sent from compromised accounts in India and Pakistan. Websense Cloud Email Security proactively blocked the messages, and the data was stored in the ThreatSeeker Intelligence Cloud for review.
The messages carried a zip attachment containing an executable that is a variant of the Trojan.Zbot.
So how is this campaign different?
Normally, we see large-scale attacks sent using the Cutwail spambot, and the intended recipients are varied in location and industry. Frequently, we see these type of attacks sent to spamtrap addresses and even honeypot domains. The volume we see across the Websense ThreatSeeker Intelligence Cloud is tens of thousands or sometimes hundreds of thousands for each "brand" attack. In the small campaign we encountered, we saw about 10 instances and a few single references in non-delivery reports. All of the targets were related to the financial sector, and all were in Asia.
The small volume attack used plain text email with no attempt to clone the appearance of a known bank/financial organization (as is often done in large-scale attacks). The body of the message is simple and the grammar not very out of the ordinary. The subject is suspicious (notice the redundant zero):
Subject: FW: Urgent Money transfer USD $52,1000
The zip attachment contains an executable file named:
If you look at the icon, you can see that it's not the typical fake MS Office or Adobe Reader type of icon that we normally see in large-scale attacks. In this case, it seems like the icon uses obfuscation to get around signature-based detection, not a new technique, but less common in typical large-scale attacks these days.
The malware itself is a variant of a common Trojan. We will review a few highlights later in the text to show the similarities.
For now, let's dig deeper into the email headers and see if we can get some additional information about the attack:
All the messages were being spoofed to appear to be coming from the same address (anonymized to protect customer information):
The logs in Websense Cloud Email Security show that the spoofing was identified:
"The sender address is probably forged since its domain is configured in Hosted Email Security but the sending relay is not associated with that domain"
We had 10 messages, 1 non-delivery receipt (NDR), and one complaint from a recipient thinking custdomain1 was the actual address that sent them malware:
As we can see, the mail relays are all associated with hosting companies across multiple locations. So probably not much help there. When we examine the received lines in the headers, we can see that some have a user IP of 22.214.171.124 both on evirtualservers.net (Germany) and on ukfast.net (UK). However, checking that IP address leads to BurstNET Limited (UK), another hosting/cloud/data center company that has no direct connection to the attacks. A few messages appear to come through mail.altlastravels.com (atlastravels.com is a Travel company in India), which looks suspicious (notice the extra "l" added). Some messages had Anti-Abuse headers added. Let's see if they give us more info (the user names have been anonymized):
We can see that the attackers might have used a few compromised accounts of companies in India and Pakistan. We can see that one of the messages was also intended for another currency exchange/transfer company in the UAE.
The intended recipients we see are on custdomain1, custdomain2 (UAE), smartexchange.ae (UAE), mcb.com.pk (Pakistan) and prabhumoneytransfer.com.np (Nepal). All are involved in financial transactions, so the content of the email might appear relevant. In addition, the tool, a banking Trojan, fits the job.
This attack seems a lot more targeted than what we see from the threat actors that use Zbot in large scale, but the motive seems to be the same: use of common crimeware for monetary gain.
Malicious Attachment Details
One of the most popular pieces of Crimeware, the Trojan.Zbot, is frequently used in large-scale email attacks, either as attachments, or using URLs leading to exploit kits that ultimately drop Zbot on the victim's computer. Zbot can specifically target banking credentials and other personally identifiable information (PII).
Zbot (Zeus) source code was leaked in 2011, so it's quite easy for cyber criminals to compile new variants to get around many AV solutions, before they close the detection gap.
At the time of the attack, the executable was not previously seen in VirusTotal.com. A day later we tested and saw some minimal AV coverage via generic heuristics, 13/47:
Here's a summary of the Websense ThreatScope Analysis Report
The malware is requesting URLs that are already known to be related to Zbot in the past:
If we examine the behavior we can see created Mutexes* on shared memory, which have been associated with Zbot in the past:
* Mutex (Mutual Exclusions) are lock mechanisms used by software to control access to shared resources in order to prevent deadlock. They can be used to identify variants of known malware based on commonality. More on the subject can be found in this computer forensics blog on SANS.ORG
The attachment also drops a copy of itself in the user profile directory, and just as before, at the time of the attack, no VT info, a day later some minimal coverage, detection ratio 9/46:
Since the attack uses email attachments, it corresponds with some of the stages outlined in our white paper describing the 7 stages of Advanced Threats.
Lures - Websense Cloud Email Security provides proactive protection against email carrying executables or other suspicious attachments, based on multiple analytics: In this case, the built-in AV engine had generic detection, but in addition, the ThreatSeeker Intelligence Cloud would have quarantined the messages even without AV detection, based on several attributes.
Dropper File - Websense ThreatScope recognizes the malicious behavior of the dropper file, Websense ACE, our Advanced Classification Engine, offers protection against the executable.
Call Home -ACE blocks the hosts associated with the call home functions.
Dropped Files - ACE protects against the URL hosts and blocks the files.
Data Theft - Websense DLP (data loss prevention) tools can detect and stop the exfiltration of sensitive information, like the banking credentials and PII that are targeted by Zbot.
Thanks to Victor Chin for helping with the binary analysis.