Fake DHL Email Delivers An Unknown Keylogger Coupled With A Phishing Scam

Phishing Scam

I was extremely surprised to wake up this Sunday Morning to a whole slew of fake DHL delivery notice emails with a macro enabled word doc attachment that eventually downloads some sort of Keylogger.

There is some dispute as to what the actual Keylogger is. Some AV on VirusTotal describe it as an AgentTesla generic, whereas Anyrun app calls it Sentinel. I don’t think either are 100% correct.

DHL_FORM.doc Current Virus total detections: Anyrun |

This malware doc downloads from https://heritagebank.ga/Quotation.exe ( Virustotal) which is behind cloudflare and also is a phishing site for the genuine heritage bank

This keylogger file first pings to http://icanhazip.com/ where I assume it checks the sending IP against a list of acceptable IPs to continue with its nefarious actions. It then drops 3 other .exe files [1] [2] [3] All of which are fairly well detected generically or heuristically. It then alters the firewall settings to allow exfiltration and tries to send the stolen info to somewhere that Anyrun doesn’t show me. What I can see is a failed connection to educationaltools.info which has no DNS records, so is very possibly the drop site that isn’t yet live.

Update 9 September 2021: Another run of exactly the same email but today they have a .z ( zip ) file attachment extracting to a .exe.

DHL FORM.7z extracts to DHL FORM.exe VirusTotal | Anyrun |

They seem to have fixed some of yesterday’s problems and are exfiltrating the stolen info via encrypted email on port 443 to microffice365.ga They are also sending screenshots today as well as txt files.

I can guarantee that the receiving domain will not stay online very long.

None of these files from yesterday or today will run properly in a sandbox / VM and crash on some actions. Whether the files are buggy or whether there is anti-vm / sandbox protections is unknown at this time. My gut feeling is that a combination of both is happening.

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

DHL 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. What has happened is that the criminal bad actors are sending from a look-a-like domain dhlcourier.us which doesn’t actually exist. See email headers

The email looks like:

From: DHL EXPRESS <mail.us@dhlcourier.us>

Date: Sun 08/09/2021 02:37

Subject: RE: DHL DELIVERY

Attachment: DHL_FORM.doc

Body Content:

Dear Customer,

We tried to deliver your item to your address this morning 7th September, 2021. (See the attached file) .

The delivery attempt was unsuccessful because no one was present at the delivery address given to us, so the notification is automatically sent.

If the parcel is not scheduled for re-projection or receipt within 72 hours on weekdays, it will be returned to the sender.

Tag number: DB0011622801 / 17BA

Expected delivery date: September 7th, 2021

Packet Services

Agency (s): Delivery Confirmation

Status: Mission sent

Sender: Macy’s Department Store Company

Your package has not been delivered.

Delivery Time: 08:57 AM

Number of Packages: 1

Weight: 5.0 LBS

Dear Customer

See attached form and correct your address.

We apologize and thank you for your confidence.

Thank you,

Customer Service DHL.

2021 © DHL International GmbH. All rights reserved.

Email Headers:

IP Hostname City Region Country Organisation
157.245.44.61  London England GB AS14061 DigitalOcean, LLC
3.84.97.76  ec2-3-84-97-76.compute-1.amazonaws.com Virginia Beach Virginia US AS14618 Amazon.com, Inc.

Note: Only the final IP address outside of your network in the Received: fields can be trusted as others can be spoofed

Received: from [157.245.44.61] (port=45488 helo=vmin.integratedconsult.ga)
	by knight.knighthosting.co.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
	(Exim 4.92)
	(envelope-from <mail.us@dhlcourier.us>)
	id 1i6mrZ-0008RH-Ri
	for security@myonlinesecurity.co.uk; Sun, 08 Sep 2021 03:23:37 +0100
Received: from EC2AMAZ-V5IM2BC.ec2.internal (ec2-3-84-97-76.compute-1.amazonaws.com [3.84.97.76])
	by vmin.integratedconsult.ga (Postfix) with ESMTPA id 2F793C3D26;
	Sun,  8 Sep 2021 01:52:30 +0000 (UTC)
Content-Type: multipart/mixed; boundary="===============1894098760=="
MIME-Version: 1.0
Subject: RE: DHL DELIVERY
To: Recipients <mail.us@dhlcourier.us>
From: "DHL EXPRESS" <mail.us@dhlcourier.us>
Date: Sun, 08 Sep 2021 01:52:28 +0000

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 (https://support.office.com/en-gb/article/What-is-Protected-View-d6f09ac7-e6b9-4495-8e43-2bbcdbcb6653) is enabled and macros are disabled, UNLESS you or your company have enabled them. If protected view (https://support.office.com/en-gb/article/What-is-Protected-View-d6f09ac7-e6b9-4495-8e43-2bbcdbcb6653) 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 (https://support.office.com/en-gb/article/What-is-Protected-View-d6f09ac7-e6b9-4495-8e43-2bbcdbcb6653) 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” (https://products.office.com/en-gb/office-online/documents-spreadsheets-presentations-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 (https://en.wikipedia.org/wiki/Social_engineering_(security)) 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” (https://support.office.com/en-gb/article/What-is-Protected-View-d6f09ac7-e6b9-4495-8e43-2bbcdbcb6653) 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- “DHL_FORM.doc”
sha256 8a5abbe5e40ce78b2bcaf1da65b837fe0cfb648a50a905f67a01d2ecb1255ae7
sha1 9147b61f4b6174f062c5f892581cc9fb755f9bd6
md5 1b75aa357885b3bfb8ec42af13c71b5b
Dropped executable file
sha256 C:\Users\admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\BDW1XBVN\Quotation[1].exe bf2b4e832e651b767e079202597df8740e15bfea06230066af631734afbb0229
sha256 C:\Users\admin\AppData\Roaming\log\AutoUpdate.exe 321ebb553f8008e4ccdf42881c8b854fcf49d12f7af7c3c19a87b6db93fe4935
sha256 C:\Users\admin\AppData\Roaming\log\Emai.exe a87d9354ee672f751e321c2bb701328cc79c0e8743312981dd6a7b183261c53c
sha256 C:\Users\admin\AppData\Roaming\log\scre.exe 06da72109905be4cb1eef62c4f70c0adabe2e6401187a2c63b1a178f12ae3145
DNS requests
domain heritagebank.ga
domain educationaltools.info
domain icanhazip.com
Connections
ip 104.27.160.185
ip 104.20.16.242
HTTP/HTTPS requests
url https://heritagebank.ga/Quotation.exe
url http://icanhazip.com/

Total
6
Shares
Leave a Reply

Your email address will not be published.

Related Posts