Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Cybercrime

Attackers Store Malware in Hidden Directories of Compromised HTTPS Sites

Cybercriminals are utilizing hidden “well-known” directories of HTTPS sites to store and serve malicious payloads, Zscaler security researchers have discovered. 

Cybercriminals are utilizing hidden “well-known” directories of HTTPS sites to store and serve malicious payloads, Zscaler security researchers have discovered. 

Compromised WordPress and Joomla websites were observed serving Shade/Troldesh ransomware, coin miners, backdoors, redirectors, phishing pages, and other threats. The compromised WordPress sites were running versions 4.8.9 to 5.1.1 of the content management system (CMS). 

The attackers supposedly managed to gain access to the installations via outdated CMS plugins/themes or server-side software, Zscaler notes. 

Common to the compromised websites, the researchers say, was the use of SSL certificates issued by Automatic Certificate Management Environment (ACME)-driven certificate authorities, such as Let’s Encrypt, GlobalSign, cPanel, and DigiCert, among others. 

The attackers apparently abused a well-known hidden directory in the HTTPS sites for storing their malicious payloads. The directory is a URI prefix for well-known locations defined by IETF and used to demonstrate ownership of a domain. 

For HTTPS websites that use ACME to manage SSL certificates, the administrators place a unique token inside the folder, to show the certificate authority (CA) that they control the domain. The CA sends a specific code they place in the particular directory, and the CA scans it to validate the domain.

Advertisement. Scroll to continue reading.

“The attackers use these locations to hide malware and phishing pages from the administrators. The tactic is effective because this directory is already present on most HTTPS sites and is hidden, which increases the life of the malicious/phishing content on the compromised site,” Zscaler notes. 

The security researchers discovered a variety of threat types in the hidden directory in the past month, with the Shade/Troldesh ransomware being the most prevalent, followed by phishing pages. 

In compromises involving the Shade/Troldesh ransomware, three types of files were found in each compromised website, namely HTML, ZIP, and EXE files masquerading as .jpg images. 

Spam is commonly used to spread the ransomware, either using attached ZIP files or links to HTML files that redirect to the ZIP files. The archives contain a JavaScript file that downloads the payload and executes it. 

The payload is a new variant of Shade/Troldesh ransomware, which has been around for half a decade. The malware uses a TOR client to connect to the command and control (C&C) server and encrypts both the content and name of targeted files. 

The phishing pages observed in this campaign are related to Office 365, Microsoft, DHL, Dropbox, Bank of America, Yahoo, Gmail, and other brands, the security researchers say. 

Related: Zero-Days in WordPress Plugin Actively Exploited

Related: Hackers Target WordPress Sites via WP Cost Estimation Plugin

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

You must be logged in to post a comment Login

Leave a Reply

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Cyber AI & Automation Summit pushes the boundaries of security discussions by exploring the implications and applications of predictive AI, machine learning, and automation in modern cybersecurity programs.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Jensen Huang has been reinstated as President and CEO at NVIDIA.

Lindsey Cerkovnik has joined Anthropic as Head of Vulnerability Disclosure and Security Community.

Kirsten Davies has been appointed National Cyber Director.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.