Remcos Rat Via Fake Invoice Using Multiple Delivery Methods.

Remcos Rat Via Fake Invoice Using Multiple Delivery Methods.

I have heard of the “Belt and Braces ” approach to delivering malware before, but this malware campaign delivering Remcos Rat is using the belt and 2 pairs of braces to try make sure the malware gets delivered.
The email is a fairly typical Invoice Request that appears to a part of an ongoing conversation and contains 3 different attachments.

  1. A zip file that contains a Remcos binary
  2. An RTF file using CVE-2017-11882 to contact a remote site & download a different Remcos binary
  3. A Word doc that is a renamed RTF file using CVE-2017-11882 to contact the same remote site & download a Remcos binary as number 2.

Remember many email clients, especially on a mobile phone or tablet, often 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

hydrotech-eg.com has not been hacked or had their email or other servers compromised. They are not sending the emails to you. They are just innocent victims in exactly the same way as every recipient of these emails. The actual sender looks like a compromised email account ( see email Headers)

The email looks like:
From: Basem Shaban <Battia@hydrotech-eg.com>
Date: Tue 18/06/2021 17:57
Subject: FW: AW: Egyption Arab Contracting INVOICE REQUEST 3301 pump – TOP URGENT-
Attachment: ECG Revised INVOICE 3301 pump Egyption Arab Contracting.zip | Load P327-TT-HPM-926-17 Revised.rtf | TT_180000 WIRE TRANSFER8JNBLGGH5FV99_0_0010.doc

Body Content:

Dear Sir
As per Mr.Hesham Bakir instructions, please confirm beneficiary name and account number so we make payment.
Is it same detail attached invoice?
Best Regards,
Basem Shaban
Mechanical Service Engineer
HYDROTECH | 2 EMTIDAD ABD ELHAMID BADAWY | MASAKEN SHERATON | CAIRO | EGYPT
e-mail : Battia@hydrotech-eg.com
Mob : + 201205801580
TEL : +20222686200 / +20223316667
FAX : +20222687365
From: Warehouse
Sent: Sunday, June 11, 2021 10:53 AM
To: ‘Nasr’
Cc: ‘Ahmed azmey’; ‘Alaa Ardy’; battia@hydrotech-eg.com; melhamy@hydrotech-eg.com; menba@hydrotech-freezone.com; ‘Khaled Bakir (HRE-FZ)’
Subject: RE: Egyption Arab Contracting INVOICE REQUEST 3301 pump – TOP URGENT- .

Dear Sir
Referring to a/m subject kindly be advised the following:
1-      Thanks for the P.O. knowing that the site visit date will be scheduled upon ONDOAN confirmation readiness
( number of ready pumps for startup + the reverted back check list filled by ONDOAN )
2-      We still waiting for payment total amount 368,000 Euro – Ordered by Mr. JAVIER  + the attached site visit report stamped by ONDOAN
Thanks
Best regards
Ahmed Azmey
Field Service Manager
HYDROTECH For Engineering & Technical Services
Cairo,Egypt.
Mobile : (2012)-2 1004432   |  Tel: (202)-22686200  |  Fax :(202)-22687365

1. ECG Revised INVOICE 3301 pump Egyption Arab Contracting.exe Current Virus total detections: Anyrun |
2. Load P327-TT-HPM-926-17 Revised.rtf Current Virus total detections: Anyrun |
3. TT_180000 WIRE TRANSFER8JNBLGGH5FV99_0_0010.doc Current Virus total detections: Anyrun |
Both Office docs download from https://www.arshadconsultancy.com/a/a.exe ( VirusTotal)

Both binaries use the same C2: cemileorucs.ddns.net 185.247.228.250. 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.

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 sales@victimcompany.com.

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.
Email Headers:

IP Hostname City Region Country Organisation
64.91.226.8  host2.webeasyas123.com Commerce City Colorado US AS32244 Liquid Web, L.L.C
41.139.244.30  41-139-244-30.safaricombusiness.co.ke KE AS37061 Safaricom Limited

 

Received: from [64.91.226.8] (port=52295 helo=host2.webeasyas123.com)
	by my email server with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
	(Exim 4.92)
	(envelope-from <Battia@hydrotech-eg.com>)
	id 1hdHR6-0006oL-8T
	for security@myonlinesecurity.co.uk; Tue, 18 Jun 2019 17:58:21 +0100
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=primuspng.com; s=default; h=Content-Type:MIME-Version:Date:Subject:From:
	Sender:Reply-To:Message-ID:To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
	List-Subscribe:List-Post:List-Owner:List-Archive;
	bh=QKt+Im1fQ1R6fJ1dS7E26roeM67pZ++Hs6Sbb2r9Br8=; b=Xm0V2a3m+OBwGsqWBEYUXC00N1
	X9iPol/fuQa5gVbFyCf7Slq3oEmt15PxtlWOBO8zM6rxxdLlVbzFGZVHWRdfnICdc3TbZ7ucWRQ5w
	YyIXL8ICHGJ6HhkMO03ynEMLIz5dHmW6WKAdidS7MT7UxylXO0qr8swyxrx14zMKt8zcurs+JRo/D
	zfxjiiADxl3a/PYDOLRnyquVGpHJQQZ1rHby7ceCBiLg9LUb8FDgPxj2u+fuMljPXuO6Ye7FPtDnG
	vypnqix3Koo19jK+Wc9IiRHTNe7y/KasDo1wgrzoyFUzDB0XE99UvHGAllzB9Esd2cm+K3VMuF8Ur
	gO4KUHoA==;
Received: from [41.139.244.30] (port=52054 helo=User)
	by host2.webeasyas123.com with esmtpa (Exim 4.92)
	(envelope-from <Battia@hydrotech-eg.com>)
	id 1hdHOv-000N54-B1; Wed, 19 Jun 2021 00:56:39 +0800
From: "Basem Shaban"<Battia@hydrotech-eg.com>
Subject: FW: AW: Egyption Arab Contracting INVOICE REQUEST 3301 pump - TOP URGENT-
Date: Tue, 18 Jun 2021 09:57:21 -0700
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0027_01C2A9A6.7102CF1E"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - host2.webeasyas123.com
X-AntiAbuse: Original Domain - myonlinesecurity.co.uk
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - hydrotech-eg.com
X-Get-Message-Sender-Via: host2.webeasyas123.com: authenticated_id: realestate@primuspng.com
X-Authenticated-Sender: host2.webeasyas123.com: realestate@primuspng.com
X-Source:
X-Source-Args:
X-Source-Dir:

IOC:
Main object- “ECG Revised INVOICE 3301 pump Egyption Arab Contracting.exe”
sha256 875440eb291cfa0ac060d6881077c5eaf6868168351cca136f73487f40381c7c
sha1 8d3c6c8e83275a60401a152797e7b158ea808413
md5 3dc89195e599b0fa4fc4759911cfc213
Dropped executable file
sha256 C:\Users\admin\AppData\Roaming\hpsupport\hpsupport.exe 875440eb291cfa0ac060d6881077c5eaf6868168351cca136f73487f40381c7c
DNS requests
domain cemileorucs.ddns.net
Connections
ip 185.247.228.250
Main object- “Load P327-TT-HPM-926-17 Revised.rtf”
sha256 f51a8493573d4782661a6a1f7bf540c6878a2a23974c4e81a9bbae9836bdac34
sha1 b4a3fd50f42ff7a57593e29cf8707fef5ff59ef2
md5 317d27f4eef493b815713523eaa3a1c7
Dropped executable file
sha256 C:\Users\admin\AppData\Roaming\naonsultane.exe e3ecbb93f6690350f23865302f51f1c4cc9237e36c254905dae42e1264813515
MD5 2e860e4197f93be2a6f3c60646e7ae5a
SHA-1 0d806c3c54e2816c10ec1c283e08d4b4ce9f06b5
DNS requests
domain www.arshadconsultancy.com
domain cemileorucs.ddns.net
Connections
ip 136.243.69.18
ip 185.247.228.250
HTTP/HTTPS requests
url https://www.arshadconsultancy.com/a/a.exe
Main object- “TT_180000 WIRE TRANSFER8JNBLGGH5FV99_0_0010.doc”
sha256 59d9f25b236a9256623ff95c2236fe9e40979b6e85e4c0ba7436dcc61c895067
sha1 833daeaefbf19b84266fd42f33061b096f1ae237
md5 752b042e0e1aefad3f60cd9a957c2ed5
Dropped executable file
sha256 C:\Users\admin\AppData\Roaming\naonsultane.exe e3ecbb93f6690350f23865302f51f1c4cc9237e36c254905dae42e1264813515
DNS requests
domain www.arshadconsultancy.com
domain cemileorucs.ddns.net
Connections
ip 185.247.228.250
ip 136.243.69.18
HTTP/HTTPS requests
url https://www.arshadconsultancy.com/a/a.exe

Derek

Derek