nanocore RAT via fake order in password protected word doc with wrong password

I was sent a message via the submissions system last night with the email the victim received attached. At first glance it looked like the typical password protected word docs we see regularly pretending to be either an order, invoice or resume, that frequently drop or download some sort of ransomware. At first I could not open this word doc using the password in the email body  “doc2019” after trying a few variations I found the correct password is “DOC2019”. Windows ( or at least Microsoft Office)  does see the differences in upper & lower case on passwords. When I eventually worked it out, I found it dropped Nanocore Remote access Trojan.

This malicious password protected word doc contains 2 identical embedded ole objects which are zip files that need to be  extracted to get to the payload. As far as I can tell double clicking the ole object icon only drops the zip file. You then need to open the zip and double click the contents to get the  malware to run. All in all, I can’t see many recipients going to all the effort to get infected by this.  But of course I am regularly  surprised by the ingenuity and amount of effort that a victim will often put in to open any spam email or potentially malicious attachment. It frequently seems that the more effort needed, results in a higher infection rate than simply click HERE does.

This does look like a more targeted attack against an individual working for an  international pharmaceutical company. It was sent to me by somebody that appears to work for an external IT support company but was uploaded to me via an IP address belonging to the targeted pharmaceutical company. I have redacted all identifiable details of the recipient, but it should be noted that the email came through the message labs filtering system and was delivered. There is a person with the same name working for this pharmaceutical company.

There is a website for AlmegiPharma which is an Albanian pharma company so it is very possible that the recipient company could have dealings with that company or other similar companies. But although the domain almegi-al.com does exist ( is registered) it is behind cloudflare & has no IP address associated with it.

AlmegiPharma has not been hacked or had their email or other servers compromised as far as I can ascertain. They are not sending the emails to you. They are just innocent victims in exactly the same way as every recipient of these emails.

PURCHASE ORDER.docx         Anyrun |

This malware doc dropped DOCS_04394398_2019 (2).zip  which extracted to DOC-3409293843-549348954-349_PDF.exe  ( VirusTotal)

Fake Purchase Order password protected word doc

Fake Purchase Order password protected word doc

You can now submit suspicious sites, emails and files via our Submissions system

The email looks like:

From: COLLAKU Elona (AlmegiPharma)

Date: Wed 22/05/2019 15:13

Subject: PO-99703487954-2019

Attachment: PURCHASE ORDER.docx

Body content:

Dear igor.redacted

Below is our PO

Kindly review and send us quote

note to open our PO use this password: doc2019

thank you

Screenshot:

 

Fake purchase order email

fake purchase order email

 

Email Headers: ( These have been redacted to remove all identifiable information about the targeted pharmaceutical company)

Received: from BRAEXCAP024.dir.victimsdomain.com (10.1.91.180) byCENEXCAP021.dir.victimsdomain.com (10.1.91.173) with Microsoft SMTP Server (TLS)id 15.0.1365.1 via Mailbox Transport; Wed, 22 May 2019 16:14:49 +0200Received: from CENEXCAP022.dir.victimsdomain.com (10.1.91.174) byBRAEXCAP024.dir.victimsdomain.com (10.1.91.180) with Microsoft SMTP Server (TLS)id 15.0.1365.1; Wed, 22 May 2019 16:14:49 +0200Received: from CENEXCAP092.dir.victimsdomain.com (10.0.1.88) byCENEXCAP022.dir.victimsdomain.com (10.1.91.174) with Microsoft SMTP Server (TLS)id 15.0.1365.1 via Frontend Transport; Wed, 22 May 2019 16:14:48 +0200Received: from mail6.bemta26.messagelabs.com (85.158.142.45) by mail.victimsdomain.com(10.0.1.88) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Wed, 22 May 201916:14:47 +0200Return-Path: <This email address is being protected from spambots. You need JavaScript enabled to view it.>Received: from [85.158.142.105] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits))by server-5.bemta.az-a.eu-central-1.aws.symcld.net id F2/09-26874-75955EC5; Wed, 22 May 2019 14:14:47 +0000Authentication-Results: mx.messagelabs.com; spf=none (spf record notfound) smtp.mailfrom=almegi-al.com; dkim=none (message not signed);dmarc=none (no record) header.from=almegi-al.comSubject: [External] PO-99703487954-2019X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNIsWRWlGSWpSXmKPExsVSNatWSDc48mmMweKF5hYXn+9lcWD0mHl3NUsAYxRrZl5SfkUCa8brOXsYCzYcnM9Y8ehyF1MD49KVcxm7GDk5hASKJWa9+ssOYrMJyEicW/kWLC4iICmx8O52FhBbGCj+7MJMNhCbRUBB4ueaaUD17By8AtYSTRUgUV4BQYmTM5+AVTMLhEhsO7+UcQIjxywkqVlIUhC2lsTUta+g4toSyxa+ZoawnSSat5yAiitKTOl+yA5h20usOzaPbQEj+ypGy6SizPSMktzEzBxdQwMDXUNDY10jXSNDY73EKt1EvdRS3eTUvJKiRKCsXmJ5sV5xZW5yTopeXmrJJkZgiKUUMl3dwTjxyGu9Q4ySHExKorxsr5/ECPEl5adUZiQWZ8QXleakFh9ilOHgUJLg/Rr+NEZIsCg1PbUiLTMHGO4waQkOHiUR3ocgad7igsTc4sx0iNQpRmOO3d8fzmXmeNj6eS6zEEtefl6qlDivcARQqQBIaUZpHtwgWBxeYpSVEuZlZGBgEOIpSC3KzSxBlX/FKM7BqCTM+xpkIU9mXgncvldApzABnSLL/hjklJJEhJRUA9Okyrxb1zWklf5bpLzofZ7/Ouxblc6eqW//FGk/sVk6R1Pz9L/jGVFLOXhd92ytvLtJ4l7C6nU6qufci3etf7RDyrWwcu2kS8fSkrKmTHra31idHHprOsOJw54rD85KPvby/LRtr3ZvOWeXXJFgtHjpkcDu1sdu8jxXFrdOFGlpMFQTjon55GL2PTHFfkFk2MYD0TfSk/6Z5ZQ2urq+y/Xac8QvUEszjDNba9bim+8eSP5lPqUz/6ZMWm//cdfCprKgSTMP2+loP3+Ya9h4+K2yARPPyX6uqtyPRczCpX9W125k7zjTf1bYyequXduGt0fjb8j+t3/ps081c3/MJgP1/p2f8+4Zm02/GFX1QEyJpTgj0VCLuag4EQDg0NqrPgMAAA==X-Env-Sender: This email address is being protected from spambots. You need JavaScript enabled to view it.ef: server-3.tower-230.messagelabs.com!1558534385!5562928!1X-Originating-IP: [122.154.125.18] X-SpamReason: No, hits=0.0 required=7.0 tests=newsletters:X-StarScan-Received:X-StarScan-Version: 9.31.5; banners=-,-,-X-VirusChecked: CheckedReceived: (qmail 2160 invoked from network); 22 May 2019 14:13:07 -0000Received: from mail.royalbikes.co.th (HELO mail.royalbikes.co.th) (122.154.125.18)by server-3.tower-230.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 22 May 2019 14:13:07 -0000Received: from 184.82.101.37 by mail.royalbikes.co.th with EVO Mail Server(3.0.65); Wed, 22 May 2019 21:12:47 +0700From: <This email address is being protected from spambots. You need JavaScript enabled to view it.>To: <This email address is being protected from spambots. You need JavaScript enabled to view it.>Date: Wed, 22 May 2019 21:12:56 +0700Message-ID: <This email address is being protected from spambots. You need JavaScript enabled to view it.>MIME-Version: 1.0Content-Type: multipart/mixed;boundary=”—-=_NextPart_000_0012_4691E8CC.23C14569″X-MS-Exchange-Organization-PRD: almegi-al.comX-MS-Exchange-Organization-SenderIdResult: NoneReceived-SPF: None (CENEXCAP092.dir.victimsdomain.com: This email address is being protected from spambots. You need JavaScript enabled to view it. doesnot designate permitted sender hosts)X-MS-Exchange-Organization-Network-Message-Id: bd93ab71-7c6b-4872-7a0f-08d6debfd922X-MS-Exchange-Organization-AVStamp-Enterprise: 1.0X-MS-Exchange-Organization-AuthSource: CENEXCAP092.dir.victimsdomain.comX-MS-Exchange-Organization-AuthAs: Anonymous

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

Office_macro nanocore RAT via fake order in password protected word doc with wrong password nanocore RAT via fake order in password protected word doc with wrong password nanocore RAT via fake order in password protected word doc with wrong password nanocore RAT via fake order in password protected word doc with wrong password nanocore RAT via fake order in password protected word doc with wrong password

 

What can be infected by this

At this time, these malicious macros only infect windows computers. They do not affect a Mac, IPhone, IPad, Blackberry, Windows phone or Android phone. The malicious word or excel file can open on any device with an office program installed, and potentially the macro will run on Windows or Mac or any other device with Microsoft Office installed. BUT the downloaded malware that the macro tries to download is windows specific, so will not harm, install or infect any other computer except a windows computer. You will not be infected if you do not have macros enabled in Excel or Word. These Macros do not run in “Office Online”  Open Office, Libre Office, Word Perfect or any other office program that can read Word or Excel files. 

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 This email address is being protected from spambots. You need JavaScript enabled to view it..

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.

 

IOC:

Main object- “PURCHASE ORDER.docx”sha256 a4a806a401ed47c0f13686802649ba01264a0697d6c9c4623b557aab5877cff9sha1 8d43636a3976143e1e375656415f158091a84becmd5 ba1c42bc01a26013a793f3ae1fe09407Dropped executable filesha256 C:\Users\admin\AppData\Local\Temp\Rar$EXa2960.37050\DOC-3409293843-549348954-349_PDF.exe b89c9ef5a9cc9cc84be07f2dc768fe4ac3588c9b8a2e2bcebe1e04f7e97c0d85MD5 4b17aa92a821c875c081c9983d197f62SHA-1 2b2f3cf356624e9c9f986e02c690e571956c0db0sha256 C:\Users\admin\RtDCpl64\vdsldr.exe 020b284afd966aa06fe4df04e173eb124a6d69ba2d52088b24bdd79fcdb700adsha256 C:\Users\admin\AppData\Roaming\EEEB5D54-7880-42A7-B542-739BBC26CF4B\UPNP Host\upnphost.exe 7299eb6e11c8704e7cb18f57879550cdd88ef7b2ae8cba031b795bc5d92ce8e3DNS requestsdomain yes.dnsabr.comConnectionsip 192.253.242.196

Read more https://myonlinesecurity.co.uk/nanocore-rat-via-fake-order-in-password-protected-word-doc-with-wrong-password/

Add comment

By entering a comment, if it is of a commercial nature, you will be auto enrolled in our customer care course as detailed in our rate card.
By entering a comment you legally agree to the course and to pay. Thanks


Security code
Refresh