Trustwave SpiderLabs Uncovers Unique Cybersecurity Risks in Today's Tech Landscape. Learn More

Trustwave SpiderLabs Uncovers Unique Cybersecurity Risks in Today's Tech Landscape. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

Locky Part 1: Lukitus Spam Campaigns and Their Love for Game of Thrones

Back in August 2017, Trustwave Spiderlabs reported a spam campaign that distributed a new Locky variant called "diablo" As predicted that incident was just a primer for a much bigger campaign and indeed just a few weeks later a new variant of Locky was launched that was called "Lukitus."

At first, you may wonder why Lukitus? It seems to be patterned after the name "Loki", the well-known trickster god of the Norse mythology that could change his shape and sex. It also makes sense that it is related to "Loki" since the Locky family has a good track record of using mythological god names with its variants. However, as we dig a little deeper, we find that "Lukitus" is a Finnish word which means locking, perfectly fitting for a crypto locker ransomware.

Since the first debut of the Lukitus variant the actual behavior of the binary payload really hasn't changed much, but what is more interesting is how it has changed how it gets into the victim's system. In this blog we will summarize what transpired throughout its one-month activity before Locky changed to its more recent variant called "ykcol" (which we will cover in a separate post).

The first incident of the Lukitus variants involves several spam templates using blank subject lines or even emails regarding CSI, voice messages or even a payment receipts. The messages have attachments that could either be compressed JS or VBScript files. These script files are obfuscated and basically function to download the Lukitus binaries.

9655_6535414e-c4ba-45df-91a6-c248f7262041

We saw multiple spam templates that used multiple subject lines relating to an image file or a scanned file. Also, instead of using the ever-popular archive file format of ZIP and RAR, the spammers opted to use 7zip to compress the malicious VBScript downloader.

7918_0ec788e8-da6c-4964-a96c-3d2df642f3d4

And aside from the image/graphics subject lines, the campaign also included spam with an outstanding invoice theme using an attached Word document. Once this document is executed it runs a malicious macro script that uses the XMLHTTP object to download the Lukitus binaries. The macro script is also responsible for executing the download binaries.

12169_dd3fe60b-073f-4e6c-8fb3-c2800770dd59

The spammers also tried to vary the type of attachment they sent out. When using the sample templates about images or photos, scans and documents it shifts to a JS downloader instead. In some cases, where a malicious Word document is attached, we also saw some variations on how it performs the download routine. The spammers used a macro script with a PowerShell that accessed the System.Net.WebClient which, in turn, downloaded the Lukitus binaries instead of directly accessing a XMLHTTP object.

7647_01e5b422-f5e3-49cc-a8e6-e3a7732d14b2

 

The spammers also tried to spam emails regarding fake fax and voice messages with a compressed JS downloader in a RAR file.

10907_9f3fb219-9f53-4d1e-a8de-136007bee4d1

 

At some point, the attackers strayed away from using the usual email with attachments. Instead, the email template used a URL link (purportedly a copy of an invoice) that would entice users to click and eventually lead to a VBScript downloader.

9899_714b70a1-7dd5-48fb-a49c-ea6616903200

 

The campaign also used a more convincing email template that tried to spoof a SAGE subscription invoice. Clicking the URL link downloaded a RAR file with a compressed VBScript downloader inside.

7880_0d117282-5df4-4d72-9cb6-d5a87d4e34f5

 

Soon after, the attackers reverted back to emails with attachments using a payment invoice theme with a little twist. The attached JS downloader is using both XMLHTTP object and PowerShell method to download the Lukitus binary files.

11644_c3905f6d-60bf-4ba8-ad5e-013984f789c9

 

The problem of using a Sage email template is that it will only target a small number of users who know the software company Sage. So the spammers take it up a notch and use a fake Dropbox notification and a spoofed invoice from the Microsoft Store. Like the previous Lukitus-based email templates, the fake Microsoft invoice used both the URL and an attachment to trick users to open the VBScript downloader from the compressed 7Zip file.

10762_984866f6-be2f-430a-8b17-d00b5103e6b3

 

The real surprising thing here is when the VBScript code was analyzed. The variable names used are characters and scenes related to the popular HBO series – Game of Thrones. We can safely assume that whoever runs this spam campaign are also fans of the TV series.

9288_524040ee-1a38-4af2-911c-4ede9fa8c4b0

Conclusion

From the very first incident of the Locky-diablo variant in August we have expected follow through campaigns and we have not been disappointed. The spammers have bombarded the email gateway with all sorts of spam using different email templates. Bogus emails regarding pictures/graphics, scanned documents, fake invoices and spoofed account verification of well-known companies are all used. Malicious Word documents with macro scripts and combinations of compressed JS or VBScript downloaders all appear to be in the game plan for this group of actors, who also seem to be followers of the TV series Game of Thrones.

These behaviours reveal a constantly evolving bag of tricks, where the campaigns change daily, yet deliver the same ultimate payload. However, underneath all the tricks are common themes that we monitor closely to determine how the spammers evolve their email structures, and to provide timely email protection for our customers.

Latest SpiderLabs Blogs

Why We Should Probably Stop Visually Verifying Checksums

Hello there! Thanks for stopping by. Let me get straight into it and start things off with what a checksum is to be inclusive of all audiences here, from Wikipedia [1]:

Read More

Agent Tesla's New Ride: The Rise of a Novel Loader

Malware loaders, critical for deploying malware, enable threat actors to deliver and execute malicious payloads, facilitating criminal activities like data theft and ransomware. Utilizing advanced...

Read More

Evaluating Your Security Posture: Security Assessment Basics

This is Part 4 in my ongoing project to cover 30 cybersecurity topics in 30 weekly blog posts. The full series can be found here.

Read More