Last Updated: 2017-10-19 01:01:31 UTC
by Brad Duncan (Version: 1)
ISO files are a format used for optical disk images like CD-ROMs or DVDs. Criminals sometimes use ISO files as attachments in malicious spam (malspam) to distribute malware. Here and here are two recent examples. On Wednesday 2017-10-18, I came across HSBC-themed malspam using this technique to distribute Loki Bot, an information stealer.
The malspam was easily detected by an enterprise-level security solution, so I'm not sure this technique is more effective than other methods. However, even if it's ineffective, we should be aware of current mass-distribution methods. With that in mind, today's diary examines Wednesday's Loki Bot malspam.
I found eight emails in this wave of malspam. They all had the same subject line, spoofed sending address, message text, and email attachment. These emails all came from 126.96.36.199, a Netherlands-based IP address registered to a hosting provider named BlazingFast.io. The domain email.hsbc.ae is legitimate and hosted on a different IP registered to HSBC, so it's being spoofed in the email headers.
The attachment was an ISO file, which I copied to a Windows 10 host in my lab. Double-clicking the ISO file revealed a Windows executable file. Victims who receive this file from email would likely see a warning if they try to open it. The Windows executable was Loki Bot malware. Double-clicking the executable infected my Windows 10 host.
Post-infection traffic consisted of a single HTTP POST request continually repeated from the infected host. The User-Agent string and other characteristics are somewhat unusual and easily identifiable.
Shown above: Traffic from an infection filtered in Wireshark.
Shown above: Alerts seen using the Snort subscriber ruleset on Snort 2.9.11.
The infected host had artifacts commonly associated with Loki Bot, such as a Windows registry key using non-ASCII characters. The malware moved itself to a hidden folder under the user's AppData\Roaming directory to become persistent.
- Date/Time: Wednesday, 2017-10-18 as early as 05:50 UTC through at least 13:30 UTC
- Received (domain spoofed): from email.hsbc.ae ([188.8.131.52])
- From (spoofed): email@example.com
- Subject: HSBC Payment Advice
- Attachment name: HSBC Payment Document.iso
- File size: 512,000 bytes
- File name: HSBC Payment Document.iso
- File description: Email attachment - ISO file
- File size: 450,560 bytes
- File name: HSBC Payment Document.exe
- File description: Loki Bot executable extracted from ISO file
- Post-infection location: C:\Users\[username]\AppData\Roaming\B06669\996ACC.exe
- 184.108.40.206 port 80 - filteracino.info - POST /ask/five/fre.php
As mentioned earlier, I don't find this malspam any more effective than other wide-scale email-based attacks. Potential victims still must click through a warning to get infected. And as always, it's relatively easy to follow best security practices on your Windows computer. Software Restriction Policies (SRP) or AppLocker can easily prevent these types of malspam-based infections from occurring.
Still, we should keep an eye on our spam filters. These blocked emails contain a variety of information on active criminal groups using mass-distribution techniques.
Pcap and malware for today's diary can be found here.
brad [at] malware-traffic-analysis.net