Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


06:00 PM
Connect Directly

Attackers Leverage Excel File Encryption to Deliver Malware

Technique involves saving malicious Excel file as "read-only" and tricking users into opening it, Mimecast says.

Researchers from Mimecast have recently observed a campaign where threat actors are using a somewhat rarely seen but easy method to distribute malware using Microsoft Excel's standard file encryption capabilities.

The tactic essentially involves a threat actor hiding malicious code in an Excel file, making the file read-only and then spreading it via phishing email. The attack takes advantage of a default password, "VelvetSweatshop," that is embedded in Excel and can be used to encrypt and decrypt Excel files, Mimecast said in a report Wednesday.

Users who want to encrypt an Excel file before sending it via email have to lock it with a password. The password acts as both the encryption key and a decryption key. To unencrypt a locked Excel file, the recipient has to enter the same password that was used to lock it. Threat actors have for some time taken advantage of how the encryption and decryption process in Excel works to distribute malware, Mimecast said.

The typical modus operandi has been to hide malware in an Excel file, encrypt the file using a password, and then distribute the malware via phishing emails with the password included in the content. Users who are tricked into opening the encrypted Excel file with the provided password end up downloading malware on their systems.

In the latest campaign, threat actors are using Excel to distribute LimeRAT, a well-known Trojan that can be used to download additional malware on compromised systems. But instead of encrypting the malware-laden Excel files, the malware authors are making them "read-only," says Matthew Gardiner, director of enterprise security campaigns at Mimecast.

"The attacker embeds the malicious code in the Excel document and saves the file as read-only," Gardiner says. This causes the Excel file to be automatically encrypted using VelvetSweatshop, the default password that is embedded in Excel, he notes.

When the file arrives via phishing email, the social engineering in the email encourages the recipient to open it, Gardiner says. If the user follows through, Excel first attempts to open the encrypted file using the default password.

"If that works, it knows the file is intended to be read-only and opens it as such," Gardiner says. At that point, the embedded malicious code in the Excel file will execute if the endpoint security software on the infected devices doesn't get in the way first. With the LimeRAT campaign, the criminals behind it have also been encrypting the actual content of the spreadsheet to try and hide the exploit and payload from malware detection systems, Mimecast said.

For the latest attack to succeed, a user would still need to click on the malicious Excel attachment, Gardiner says. But by using the read-only technique, the attackers have eliminated the need for victims to be social-engineered into entering a password to open the encrypted Excel file.

"Any extra step allows more time for the person to think and creates friction for the attacker," Gardiner says. "It is similar to limiting the steps for using an online shopping cart on an e-commerce site."  

Gardiner says this is not the first time adversaries have employed read-only Excel files to deploy malware. The technique has surfaced periodically but usually in campaigns associated with advanced attackers.

"This technique continues to be leveraged and used across increasingly sophisticated malware-centric attacks," Gardiner notes. Its use in the LimeRAT campaign demonstrates how cybercriminals often continue to exploit and build on techniques that might be considered old, he says.

Related Content:

Check out The Edge, Dark Reading's new section for features, threat data, and in-depth perspectives. Today's featured story: "Untangling Third-Party Risk (and Fourth, and Fifth...)."

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Recommended Reading:

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 10/27/2020
Chinese Attackers' Favorite Flaws Prove Global Threats, Research Shows
Kelly Sheridan, Staff Editor, Dark Reading,  10/27/2020
Register for Dark Reading Newsletters
White Papers
Current Issue
Special Report: Computing's New Normal
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2020-10-29
Rapid7's Metasploit msfvenom framework handles APK files in a way that allows for a malicious user to craft and publish a file that would execute arbitrary commands on a victim's machine.
PUBLISHED: 2020-10-29
Broadleaf Commerce 5.1.14-GA is affected by cross-site scripting (XSS) due to a slow HTTP post vulnerability.
PUBLISHED: 2020-10-29
On BIG-IP AFM 15.1.0-, the Traffic Management Microkernel (TMM) may produce a core file while processing layer 4 (L4) behavioral denial-of-service (DoS) traffic.
PUBLISHED: 2020-10-29
On BIG-IP 13.1.0-, 12.1.0-, and 11.6.1-, when negotiating IPSec tunnels with configured, authenticated peers, the peer may negotiate a different key length than the BIG-IP configuration would otherwise allow.
PUBLISHED: 2020-10-29
WSO2 Enterprise Integrator 6.6.0 or earlier contains a stored cross-site scripting (XSS) vulnerability in BPMN explorer tasks.