A reader contacted us (thank you, Scott) to share an interesting phishing email. We are always looking for fresh meat, don’t hesitate to share your samples with us! I had a look at the EML file provided by Scott, and it looked indeed weird.
When you open the mail in Outlook, it looks like this:
You could think that first reflex, this is a phishing campaign targeting Chinese people. If we look a bit deeper, we see that the document is lacking any “format” (paragraphs, carriage returns, …), and there are here and there “emoticons”. This looks definitively like an encoding problem.
If you check the raw EML file, there is this piece of code at the beginning of the mail body:
Export the body and open it in a text editor, you will get:
As you can see, the attacker messed up the encoding, and Outlook cannot display the mail body correctly. Here is what should be displayed:
Note that the attackers not only messed up with the encoding, they also messed up the variable replacement with correct values (“[EMail]”, “[Date_short]”, …).
The link points to a Java RAT stored on the Discord CDN. The RAT connects to its C2 server via magicfinger[.]ddns[.]net
Xavier Mertens (@xme)
Senior ISC Handler – Freelance Cyber Security Consultant
(c) SANS Internet Storm Center. https://isc.sans.edu Creative Commons Attribution-Noncommercial 3.0 United States License.