The other day, I got this cryptic email. It read:
From: Wayne Millbrand <firstname.lastname@example.org>
Date: 03/27/2017 2:23 PM (GMT-05:00)
Good day to you!
I have a rather delicate issue, which touches directly to you. Don’t be surprised how do I learned about you! The fact is that I have got already a second letter from the person, I do not know which asserts that you are fraud involved. He insists, that you forced him transfer funds on your PayPal account under fictional reason. However,with this information he pointed out your private data up to address:
First Last Name
State (with capitalization error)
Now he is collecting information and planing to contact the police. I advise you to view the information that he sent to me. I have attached Fine.doc with a copy of all of his messages.
Document was password-protected – 4299
Please explain to me what’s happening. I hope that all of this is a silly misunderstanding.
Based on the fake email address and the tell-tale Anguished English, I concluded that this was just another phish.
I usually delete these emails promptly, but this one had an interesting component to it: it came with a password protected MS Word document. This is somewhat unusual because they typically expect you to just launch the attachment and activate the payload immediately.
So it appears that the attack strategy was to:
Inside the encrypted Word document, I found the following API declarations, variable names, and this code:
Dim wyqud As String
Dim zdwie As Long
Dim rufhd As Long
Dim bldos As Integer
Dim mufid () As Byte
Dim kmvbf As Long
Dim dfety As Long
Dim bvjwi As Long
Dim wbdys As Long
Dim dvywi (256) As Byte
Dim wdals As Long
Dim dwiqh As Long
API Declarations and Variables
This seems to be a variation on an old theme where as soon as the user opens the file, the routine executes a URL file download from one of these two backup sources:
h t t p://adenzia.ch/_vti_cnf/bug.gif
h t t p://kingofstreets.de/class/meq.gif
The macro is quite sophisticated, it can even prompt the user to disable their firewall if the download fails. Both GIFs—despite having an appropriate header block and some image content bytes—actually carry the encoded malware.
The macro uses a subroutine to extract the executable binary from the downloaded GIF. It stores the binary in a temp file, appends an “exe” extension to it, and then using the Explorer function ShellExecuteA, executes it in order to install additional malware. In this case, it was ransomware that encrypted the Documents folder.
Interestingly, the first compromised URL used by the malware was website that belongs to Adenzia.ch, a Swiss accounting and corporate services firm that ironically advertises itself as providing “Privacy and secure Data storage” and:
– Accounting services
– Secure financial services
– Data entry from paper to digital
– Scanning paper data to digital
– Archiving data anonymously
Image 2: The before and after the breach Adenzia.ch websites
Another noteworthy strategy is that both, the repurposed Swiss Adenzia.ch financial site as well as the second German kingofstreets.de gaming site required a login. This provides an additional layer of security by preventing internet security scanners from tracking down the payload by trying to follow a link to the malware.
From the variable naming convention and the language of the email itself, it seems that the writer is non native English speaker. The metadata from the Word document further supports this and suggest a strong link to a Russian origin. First, the author’s name was preserved as виньда (Vinda) and the company name came up as: SPecialiST RePack.
SPecialiST RePack is a Russian digital publisher that is used for repackaging software. According to Emsisoft malware database, they are a source of a large number of infected files and products.
SPecialiST RePack infected content
As far as the unfortunate Adenzia.ch site, it seems that it was breached in the past few months as the Wayback Machine still shows them operational on October 4, 2016.
I’ve tried to contact Adenzia and give them heads up that they need to have a look at their network. As of this date, I haven’t heard back from them. This could be an indication that either the site was a front for malware distribution from the get go or else it is no longer in business and has been abandoned.
© Copyright 2017 Yaacov Apelbaum, All Rights Reserved.