Zepto Ransomware, The New Kid in Town

HTA Downloader delivers Zepto Ransomware

Attack Vector: Email Attachment
Malicious File: it5Ax.hta

The Zepto sample that we found this morning came in as a zipped email attachment that contained an HTML Application (.hta) file. HTA files are a combination of HTML and one or more scripting languages like VBScript or JScript. A quick look at this file below shows it is a combination of HTML with obfuscated JScript. One of the significant dangers with HTA files is once the file is downloaded and run, it is treated as a “fully trusted application”. Whereas when a regular HTML file is run the execution is confined to the security model of the web browser.

We’ve seen Zepto and its cousin Locky arrive in DOCM attachments in recent months and I am not surprised to see the evolution to HTA files. DOCM which stands for Document with Macros is a special document with embedded scripts written in VBA (Visual Basic Application). Macros however don’t run by themselves and require user assistance. Weather the file is an HTA or a DOCM, the result is the same; once run it downloads the malware from its C2 and runs it.

HTA Encoded JScript Downloader
HTA Encoded JScript Downloader
Exploit and Post Infection Traffic
Exploit and Post Infection Traffic

Post Compromise your files will be encrypted and file extensions changed to .zepto similar to Locky which changes your file extensions to .locky.

Post Compromise the file extensions changed to .zepto
Post Compromise the file extensions changed to .zepto

How to pay instructions will appear on the user Desktop and in every directory explaining your predicament.

Desktop Image displays Instructions
Desktop Image displays Instructions

Your personal identification ID in the help message is the same as the first half of each scrambled filename.

Conclusion
Locky and Zepto Ransomware are similar in several regards, for example both are distributed primarily in massive spam campaigns via zipped JScript attachments and they both leave behind the same type of files including a similar ransom note.

We expect to see more malware payloads sent as HTA documents so take a few precautions such as:

  • Change settings in control panel to show file extensions to protect against misleading file names.
  • Configure Office settings to not allow macros in documents to run from the internet.
  • Always open .JS files in Notepad.
  • Backup your files regularly.
  • Treat all attachments as suspect.
Facebooktwittergoogle_plusredditpinterestlinkedinmail

TelsaCrypt Analysis

Ransomware Malware can be delivered in emails sent directly to a unsuspecting recipient or in a Drive by from a compromised website via  an Exploit Kit. Exploit Kits scan a users browsers to check their systems to see if its unpatched. Flash has been the most common vulnerability for malware delivery for some time. If the browser is not patched to the latest versions they get directed to a second site referred to as a Gate and finally a Malware site where the file gets served.

Detonation of the malware executable

http-pcap

POST Activity after detonation of the malware executable

Persistance is established by injecting a file in the RUN key which is a common technique malware authors use to ensure the malware can’t be removed by AntiVirus.

Regedit-presistance

Persistence is established

Once infected with Ransomware Malware the decryption instructions are dropped in every directory. The instructions are so helpful and as kindly as can be they explain how they are protecting your files. The Victims typically have 48 hours to pay the Ransom or lose their files.

HELP

Instructions 

Recommendations

This is easy to avoid.

  • update your Web Browser
  • Backup your files. If you have a backup it doesn’t matter if your files get encrypted.
  • Don’t pay. Ransomeware is becoming very popular because so many of the victims are paying.
  • Detach your external storage device. The malware will encrypt all files on the PC as well as any network drive or external storage the PC is attached to.

Reference

TeslaCrypt_Malware

HELP.png

The malware file is password protected with the usual password. If you don’t know it email me at admin@packetreport.com

Facebooktwittergoogle_plusredditpinterestlinkedinmail