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.



End of Bibblio RCM includes -->
06:00 AM
Larry Loeb
Larry Loeb
Larry Loeb

Attackers Use 'Well-Known' Hidden HTTPS Directory to Spread Ransomware & Phishing Pages

Researchers from security firm Zscaler's ThreatLabZ found themselves looking at WordPress and Joomla sites that were serving Shade/Troldesh ransomware (which has been known since 2014), backdoors, redirectors and a variety of phishing pages.

Researchers from security firm Zscaler's ThreatLabZ found themselves lately looking at WordPress and Joomla sites that were serving Shade/Troldesh ransomware (which has been known since 2014), backdoors, redirectors and a variety of phishing pages. Both of these content management systems (CMS) have recently had a rough month from a security standpoint, with discovered threats originating from plugins, themes and extensions.

ThreatLabZ observed vulnerable WordPress versions from 4.8.9 to 5.1.1.

The researchers found that the attackers were using a "well-known" hidden directory present on HTTPS websites for storing and distributing Shade ransomware and phishing pages. They were hiding attack components right under the noses of sysadmins.

The hidden /.well-known/ directory mechanism is a URI prefix for locations defined by the Internet Engineering Task Force (IETF). The administrators of HTTPS websites that use Automatic Certificate Management Environment (ACME) for managing SSL certificates will place a unique token inside the /.well-known/acme-challenge/ or /.well-known/pki-validation/ directories to validate their claim of ownership of that domain.

The SSL's CA will give a specific code to the site's admins which they will put in this particular directory. The CA then looks for it to be present there, establishing that the site belongs to whom they think it does. It's like a multi-factor authorization scheme for HTTPS sites.

But attackers have been putting their own stuff in there as well. This works well for the attacker since the directory is already present on most HTTPS sites. It is also hidden, increasing the survivability of the malicious content since it may just be ignored by routine scans.

For Shade/Troldesh ransomware, Zscaler found that every compromised site had three types of files: HTML, ZIP and EXE (.jpg). The HTML files were used to redirect the downloading of ZIP files, the ZIP files contained JavaScript and the EXE (.jpg) files were the actual Shade ransomware.

The activated malware uses a TOR client to connect to its command and control (C&C) server and will encrypt (with AES-256 in CBC mode with two different keys) both the content and name of targeted files. Phishing pages in the SSL-validated hidden directories were also observed. They are spoofing Office 365, Microsoft, DHL, Dropbox, Bank of America, Yahoo, Gmail, along with some others.

The obvious mitigation here is to upgrade/patch WordPress so an attacker can not get in and place their files. But if a site has already been compromised, paying attention to these hidden directories may be the only way to clean out an established malware infestation.

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Current Issue
Improving Enterprise Cybersecurity With XDR
Enterprises are looking at eXtended Detection and Response technologies to improve their abilities to detect, and respond to, threats. While endpoint detection and response is not new to enterprise security, organizations have to improve network visibility, expand data collection and expand threat hunting capabilites if they want their XDR deployments to succeed. This issue of Tech Insights also includes: a market overview for XDR from Omdia, questions to ask before deploying XDR, and an XDR primer.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2022-06-29
In SilverStripe Framework through 2022-04-07, Stored XSS can occur in javascript link tags added via XMLHttpRequest (XHR).
PUBLISHED: 2022-06-29
In Nagios XI through 5.8.5, in the schedule report function, an authenticated attacker is able to inject HTML tags that lead to the reformatting/editing of emails from an official email address.
PUBLISHED: 2022-06-29
In Nagios XI through 5.8.5, it is possible for a user without password verification to change his e-mail address.
PUBLISHED: 2022-06-29
In Nagios XI through 5.8.5, a read-only Nagios user (due to an incorrect permission check) is able to schedule downtime for any host/services. This allows an attacker to permanently disable all monitoring checks.
PUBLISHED: 2022-06-29
In Nagios XI through 5.8.5, an open redirect vulnerability exists in the login function that could lead to spoofing.