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.

“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. 

Advertisement. Scroll to continue reading.

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.

Click to comment

Trending

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.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Cybercrime

As it evolves, web3 will contain and increase all the security issues of web2 – and perhaps add a few more.

Cybercrime

Luxury retailer Neiman Marcus Group informed some customers last week that their online accounts had been breached by hackers.

Cybercrime

Zendesk is informing customers about a data breach that started with an SMS phishing campaign targeting the company’s employees.

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Artificial Intelligence

The release of OpenAI’s ChatGPT in late 2022 has demonstrated the potential of AI for both good and bad.

Cybercrime

Satellite TV giant Dish Network confirmed that a recent outage was the result of a cyberattack and admitted that data was stolen.