We are still not seeing a lot of interesting malware in UK at the moment, but this one has a few interesting parts to the delivery system. The Lokibot binary that is eventually delivered is nothing special and we see this sort of commodity malware on an almost daily basis. What is slightly unusual is the size of the word doc ( RTF ) attachment which is 2.7mb is size but doesn’t appear to contain anything that accounts for the large size. I would have thought that the bad actors would have embedded some sort of ole object with the Lokibot binary. All this malicious large RTF file does is drop a json file and 10 identical Excel spreadsheets containing macros which are then run silently in the background ( embedded into word) to download the binary from a remote site. it appears to do this via one of the Microsoft Equation Editor Exploits. Why it has 10 identical macro files is beyond me unless the bad actor made a mistake in coding and kept pressing paste. Normally these use some sort of builder kit that is available very cheaply from the “DarkWeb” and gets used by low grade malware spreaders. These Skiddies basically buy a kit, copy & paste the appropriate details, press build & sit back and wait for what they think will be the money rolling in. However when they don’t RTFM – Read the Flipping Manual- it frequently goes wrong and draws unwanted attention.
Although the email comes from an Indonesian Pharma company, the body content says it comes from a German company specialising in consumer electronics. The the disclaimer blurb nonsense at the bottom is written in Spanish & English, suggesting that the email was originally intended for a company based in a Spanish speaking region, most likely somewhere in South America
This Malicious RTF word doc drops:
- Package.json ( VirusTotal)
- 10 identical copies of OLE_DOCUMENT__Reconfirm Bank Account Details.doc__1.bin ( VirusTotal) which is an excel spreadsheet containing macros that is embedded into the word doc but does not display and runs silently to download the Lokibot Binary from
https://www.lasnetwork.net/css.exe ( VirusTotal)
The C2 for this Lokibot is http://clopvery.pro/yok/fre.php
Remember many email clients, especially on a mobile phone or tablet, only show the Name in the From: and not the bit in <domain.com >. That is why these scams and phishes work so well.
You can now submit suspicious sites, emails and files via our Submissions system
These do come from the email address stated in the from: line and passes mail authentication so stand a much better chance of being delivered to prospective victims. It is highly likely that the Indonesian Pharma company has been compromised somehow, if it still exists. The 2 domains associated with this email pharmahealthcare.id and pharmahealthcare-ina.com are both hosted on same server 220.127.116.11 which has an under construction page on the root of both domains domains. The webmail service sending these is hosted on a different IP number but uses a SSL certificate for webmail.pharmahealthcare.id. The webmail.pharmahealthcare-ina.com is redirected to webmail.pharmahealthcare.id.
The email looks like:
From: Radius Iswanton <firstname.lastname@example.org>
Date: Tue 23/07/2019 02:21
Subject: Reconfirm Bank Account Details
Attachment: Reconfirm Bank Account Details.doc
I was instructed to process your payment as a Broker by your customer, but the bank account on this invoice has a different company name, should we remit to the account in the
Kindly check the revised invoice and confirm if this invoice was altered by you.
Please your urgent reply will be well appreciated as we wish to make payment today.
Waiting for your quick response.
Head Of Accounts(Broker Section)
Hama GmbH & Co KG Broker
Este mensaje es privado y estrictamente confidencial. Como tal está protegido por las leyes. Si usted no es su destinatario no está autorizado a abrirlo leerlo retenerlo o difundirlo. Si lo ha recibido por error le ruego que lo borre inmediatamente. Muchas gracias. Antes de imprimir este e-mail piense bien si es necesario hacerlo: El medioambiente es cosa de todos.
This message is strictly confidential and only intended for the addressee. Should you have unintentionally received it please delete it immediately since any disclosure of the contents is strictly prohibited. Please consider the environment before printing this email.
|18.104.22.168||webmail.pharmahealthcare-ina.com||Jakarta||Jakarta Raya||ID||AS17727 PT. NAP Info Lintas Nusa|
Received: from webmail.pharmahealthcare.id ([22.214.171.124]:45184) by my email server with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from <email@example.com>) id 1hpkbZ-0001Hx-IV; Tue, 23 Jul 2019 03:35:06 +0100 Received: from localhost (localhost [127.0.0.1]) by webmail.pharmahealthcare.id (Postfix) with ESMTP id 1D008381C1D; Tue, 23 Jul 2019 08:21:33 +0700 (WIB) Received: from webmail.pharmahealthcare.id ([127.0.0.1]) by localhost (webmail.pharmahealthcare.id [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id eLD0Hm1PWls1; Tue, 23 Jul 2019 08:21:32 +0700 (WIB) Received: from localhost (localhost [127.0.0.1]) by webmail.pharmahealthcare.id (Postfix) with ESMTP id 3C658381C2F; Tue, 23 Jul 2019 08:21:31 +0700 (WIB) X-Virus-Scanned: amavisd-new at pharmahealthcare.id Received: from webmail.pharmahealthcare.id ([127.0.0.1]) by localhost (webmail.pharmahealthcare.id [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id jxaEsCxr2KEO; Tue, 23 Jul 2019 08:21:30 +0700 (WIB) Received: from webmail.pharmahealthcare.id (webmail.pharmahealthcare.id [10.103.10.106]) by webmail.pharmahealthcare.id (Postfix) with ESMTP id 88DC3381BA1; Tue, 23 Jul 2019 08:21:25 +0700 (WIB) Date: Tue, 23 Jul 2019 08:21:25 +0700 (WIB) From: Radius Iswanton <firstname.lastname@example.org> Message-ID: <369886237.202699.1563844885181.JavaMail.email@example.com> In-Reply-To: <1972940417.202426.1563844360015.JavaMail.firstname.lastname@example.org> References: <1972940417.202426.1563844360015.JavaMail.email@example.com> Subject: Reconfirm Bank Account Details MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_202695_218646686.1563844885139" X-Originating-IP: [10.103.10.106] X-Mailer: Zimbra 8.8.10_GA_3801 (ZimbraWebClient - FF65 (Win)/8.8.10_GA_3786) Thread-Topic: Reconfirm Bank Account Details Thread-Index: u6hLll51lE0HrhMs/Ie2THejsFCYKJNaLT0E
All the alleged senders, companies, names of employees, phone numbers, amounts, reference numbers etc. mentioned in the emails are all innocent and are just picked at random. Some of these companies will exist and some won’t. Don’t try to respond by phone or email, all you will do is end up with an innocent person or company who have had their details spoofed and picked at random from a long list that the bad guys have previously found . The bad guys choose companies, Government departments and other organisations with subjects that are designed to entice you or alarm you into blindly opening the attachment or clicking the link in the email to see what is happening.
This email attachment contains what appears to be a genuine word doc or Excel XLS spreadsheet with either a macro script or an embedded OLE object that when run will infect you.
Modern versions of Microsoft office, that is Office 2010, 2013, 2016 and Office 365 should be automatically set to higher security to protect you.
By default protected view is enabled and macros are disabled, UNLESS you or your company have enabled them. If protected view mode is turned off and macros are enabled then opening this malicious word document will infect you, and simply previewing it in windows explorer or your email client might well be enough to infect you. Definitely DO NOT follow the advice they give to enable macros or enable editing to see the content.
Most of these malicious word documents either appear to be totally blank or look something like these images when opened in protected view mode, which should be the default in Office 2010, 2013, 2016 and 365. Some versions pretend to have a digital RSA key and say you need to enable editing and Macros to see the content. Do NOT enable Macros or editing under any circumstances.
Please read our How to protect yourselves page for simple, sensible advice on how to avoid being infected by this sort of socially engineered malware. Also please read our post about word macro malware and how to avoid being infected by them
Be very careful with email attachments. All of these emails use Social engineering tricks to persuade you to open the attachments that come with the email. It might be a simple message saying “look at this picture of me I took last night” that appears to come from a friend. It might be a scare ware message that will make you open the attachment to see what you are accused of doing. Frequently it is more targeted at somebody ( small companies etc.) who regularly receive PDF attachments or Word .doc attachments or any other common file that you use every day, for example an invoice addressed to firstname.lastname@example.org.
The basic rule is NEVER open any attachment to an email, unless you are expecting it. Now that is very easy to say but quite hard to put into practice, because we all get emails with files attached to them. Our friends and family love to send us pictures of them doing silly things, or even cute pictures of the children or pets. Many of us routinely get Word, Excel or PowerPoint attachments in the course of work or from companies that we already have a relationship with.
Never just blindly click on the file in your email program. Always save the file to your downloads folder, so you can check it first. A lot of malicious files that are attached to emails will have a faked extension. That is the 3 letters at the end of the file name. Unfortunately windows by default hides the file extensions so you need to Set your folder options to “show known file types. Then when you unzip the zip file that is supposed to contain the pictures of “Sally’s dog catching a ball”, an invoice or receipt from some company for a product or service or receive a Word doc or Excel file report that work has supposedly sent you to finish working on at the weekend, you can easily see if it is a picture or document & not a malicious program. If you see JS or .EXE or .COM or .PIF or .SCR or .HTA .vbs, .wsf , .jse .jar at the end of the file name DO NOT click on it or try to open it, it will infect you.
With these malformed infected word, excel and other office documents that normally contain a vba macro virus, the vital thing is do not open any office document direct from your email client or the web. Always save the document to a safe location on your computer, normally your downloads folder or your documents folder and scan it with your antivirus. Many Antiviruses do not natively detect vba macro-viruses in real time protection and you need to enable document or office protection in the settings. Do not rely on your Anti-Virus to immediately detect the malware or malicious content. DO NOT enable editing mode or enable macros
All modern versions of word and other office programs, that is 2010, 2013, 2016 and 365, should open all Microsoft office documents that is word docs, excel files and PowerPoint etc that are downloaded from the web or received in an email automatically in “protected view” that stops any embedded malware or macros from being displayed and running. Make sure protected view is set in all office programs to protect you and your company from these sorts of attacks and do not over ride it to edit the document until you are 100% sure that it is a safe document. If the protected mode bar appears when opening the document DO NOT enable editing mode or enable macros the document will look blank or have a warning message, but will be safe.
Be aware that there are a lot of dodgy word docs spreading that WILL infect you with no action from you if you are still using an out dated or vulnerable version of word. This is a good reason to update your office programs to a recent version and stop using office 2003 and 2007. Many of us have continued to use older versions of word and other office programs, because they are convenient, have the functions and settings we are used to and have never seen a need to update to the latest super-duper version. The risks in using older version are now seriously starting to outweigh the convenience, benefits and cost of keeping an old version going.
I strongly urge you to update your office software to the latest version and stop putting yourself at risk, using old out of date software.
Main object- “Reconfirm Bank Account Details.doc”
Dropped executable file
sha256 C:\Users\admin\AppData\Roaming\r9de25.exe 89ddb4f623509577405289dbce9e03e98edbf38de4252ec5b3912fdad2d56c1f
sha256 C:\Users\admin\AppData\Local\Temp\vnhzmdjs.dll e478ad255f6301701562d7a00fd4d8674428b6f0a885c77cae3bff3eaa367cf9
webmail.pharmahealthcare-ina.com / webmail.pharmahealthcare.id 126.96.36.199
pharmahealthcare.id / pharmahealthcare-ina.com 188.8.131.52