A rather interesting malware campaign from overnight. It all starts with an email pretending to be a payment receipt that contains a .tar attachment which contains a vbs file.
As per usual the email is just generic enough to entice a recipient to open it, read it & possibly extract & run the malware file.
This is another one of the files that unless you have “show known file extensions enabled“, can easily be mistaken for a genuine DOC / PDF / JPG or other common file instead of the .EXE / .JS/vbs file it really is, so making it much more likely for you to accidentally open it and be infected.
This vbs is quite difficult for me to manually analyse, it seems to be encoded with a little endian UTF 16 encoding which probably means that the miscreant is using a computer with a non English language set up so when the file is opened in notepad it has scrambled Chinese style characters. Anyrun can run it quite well but it crashed part way through using Windows 7 but ran successfully using Windows 10. This VBS drops a small .exe file which renames itself & copies itself to multiple locations on the victim’s computer as SYSTEM.EXE or SYSTEM.EXE.exe. This is the NJRat / Bladabindi backdoor/downloader.
This eventually downloads Agent Tesla Keylogger from Sendspace large file transfer service. ( it has been reported to Sendspace). It looks like this Agent Tesla version is exfiltrating data via SMTP using mail.rew.com.my. This looks like the email account is based on server103.verygoodserver.com. I cannot see what the miscreant’s email address is because they are using end to end encryption which masks the actual email address. Only the server is listed in plain text.
This malware vbs drops q3iDe3.exe (VirusTotal) which downloads the Agent Tesla from https://fs06n3.sendspace.com/dl/e0f98fa2fea205a558c4c78a1d072ef9/5cca5a494f70a851/db7h3m/programmingeds.exe ( VirusTotal File) Anyrun |
You can now submit suspicious sites, emails and files via our Submissions system
One of the emails looks like:
From: Sales Manager <firstname.lastname@example.org>
Date: Wed 01/05/2019 21:31
Subject: Payment receipt
Please see attached Payment receipt .
Please inform me when order would be shipped and when you get payment.
Waiting for your update on our order.
Druparma Imp. & Exp. Co., Ltd
P.O. Box 11 04 54
83004 Rosenheim, Germany
|22.214.171.124||outgoing22.jnb.host-h.net||ZA||AS37153 HETZNER (Pty) Ltd|
|126.96.36.199||www500.jnb1.host-h.net||ZA||AS37153 HETZNER (Pty) Ltd|
|188.8.131.52||Mistissini||Quebec||CA||AS8075 Microsoft Corporation|
Received: from outgoing22.jnb.host-h.net ([184.108.40.206]:57731) by my email server with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from <email@example.com>) id 1hLyB3-00056f-WC for firstname.lastname@example.org; Wed, 01 May 2019 23:58:14 +0100 Received: from www500.jnb1.host-h.net ([220.127.116.11]) by antispam5-jnb1.host-h.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from <email@example.com>) id 1hLyA7-00049H-HV; Thu, 02 May 2019 00:57:41 +0200 Received: from [18.104.22.168] (helo=ariadnebo7.qnd5bbjdbabuvh3fr5pjcctued.vx.internal.cloudapp.net) by www500.jnb1.host-h.net with esmtpa (Exim 4.84_2) (envelope-from <firstname.lastname@example.org>) id 1hLvsJ-0003nz-KN; Wed, 01 May 2019 22:30:43 +0200 Content-Type: multipart/mixed; boundary="===============0211724741==" MIME-Version: 1.0 Subject: Payment receipt To: info <email@example.com> From: "Sales Manager" <firstname.lastname@example.org> Date: Wed, 01 May 2019 16:30:31 -0400 Message-Id: <E1hLvsJ-0003nz-KN@www500.jnb1.host-h.net> X-Authenticated-Sender: email@example.com X-Virus-Scanned: Clear (ClamAV 0.100.3/25436/Wed May 1 09:58:19 2019) X-Originating-IP: 22.214.171.124 X-SpamExperts-Domain: powerbit.co.za X-SpamExperts-Username: Authentication-Results: host-h.net; auth=pass (login) firstname.lastname@example.org X-SpamExperts-Outgoing-Class: unsure X-SpamExperts-Outgoing-Evidence: Combined (0.70) X-Recommended-Action: accept X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0R4iIUvzjp5U0k+OHPPhRGapSDasLI4SayDByyq9LIhVqQXi2egnwDul 13g0yCi78UTNWdUk1Ol2OGx3IfrIJKyP9eGNFz9TW9u+Jt8z2T3K61J+EpvYL0Cfd03idLRmTuIK 9WOHUAejWIJjDBBu4x8Tns0cYR4njOeKKxnlrxOeSZSUsVvq6aD15/xFbaNz6nY/DIMsmjKxwH71 Wo3s+OGCt3vBNp3qCyZYSryGylWds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rJ79qoWFa7tGqsV7akpaJ9UfpPM/vgk7Qkq6jNSNDuH yRRHsnFLKvibibuIv/U9HPW7rfWnDt95Mx02Kr3JBvuPDeNAQ8YCX3SugxtXXZVRrJsiwXUSm8uU zAKCkt9z5TAoB79EmB7f065JMPz8kcncEI5rWqxcaBHxNa8sOkm/6yc4fO/D+fnmuSPPKhNc9aUV 1oY4fX3W5eOCNA399Noqgb9SUlU0DQDRFIG2mvR3AG6Z+dH/7yLuFj7nMKXGV9C1G1yzjLQ6QSDf M+zszwyoIMnOr1BoOKUpwEBtCIKv6Xrpz5tSFEvqOxfpKe7HHr65w3C/asb9+h5IL9EJuTNa7IVs bMNf4F0zLZ5qoRfCyZRG1MwsjxM00N2b4J3+6HBKzPVzwtAtd63LpUpC X-Report-Abuse-To: email@example.com
These malicious attachments normally have a password stealing component, with the aim of stealing your bank, PayPal or other financial details along with your email or FTP ( web space) log in credentials. Many of them are also designed to specifically steal your Facebook and other social network log in details. A very high proportion are Ransomware versions that encrypt your files and demand money ( about £350/$400) to recover the files.All the alleged senders, amounts, reference numbers, Bank codes, companies, names of employees, employee positions, email addresses and phone numbers mentioned in the emails are all 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 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.
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.
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. Whether it is a message saying “look at this picture of me I took last night” and it appears to come from a friend or is more targeted at somebody who regularly is likely to receive PDF attachments or Word .doc attachments or any other common file that you use every day.
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.
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. Many 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” or a report in word document format that work has supposedly sent you to finish working on at the weekend, or an invoice or order confirmation from some company, 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.
While the malicious program is inside the zip file, it cannot harm you or automatically run. When it is just sitting unzipped in your downloads folder it won’t infect you, provided you don’t click it to run it. Just delete the zip and any extracted file and everything will be OK. You can always run a scan with your antivirus to be sure. There are some zip files that can be configured by the bad guys to automatically run the malware file when you double click the zip to extract the file. If you right click any suspicious zip file received, and select extract here or extract to folder ( after saving the zip to a folder on the computer) that risk is virtually eliminated. Never attempt to open a zip directly from your email, that is a guaranteed way to get infected. The best way is to just delete the unexpected zip and not risk any infection.
Main object- “PaymentCopy.vbs”
Dropped executable file
sha256 C:\Users\admin\AppData\Roaming\q3iDe3.exe cc97e8a3a8b297926e4fb1f3deaed9c0e9370d7332d15ea256463b376685fae6
sha256 C:\Users\admin\AppData\Local\Temp\orceokrkk-.exe dc93986559e1ef6a919d709d4485be10822f9fa0324ff12573c8314f2acd682e
Main object- “programmingeds (1).exe”