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.

Application Security

4/29/2020
12:10 PM
50%
50%

Web Shells Continue to Threaten

A decade after their first use, Web shells remain a common tool for all stripes of attackers, from common cybercriminals to sophisticated state actors.

In recent months, attackers have increased their use of programs that run on Internet-facing servers as a way to remotely control compromised systems and networks, according to security firms and government security agencies. 

Known as Web shells, the attack tools allow their operators to retain flexible access to compromised assets while avoiding detection by firewalls, intrusion detection systems, and host-based anti-malware tools. While their use is more than decade old, Web shells remain a stealthy way for attackers to continue to issue commands to compromised networks because the technique utilizes ubiquitous Web traffic. They have become the de facto approach to establishing a beachhead for many cybercriminal and cyber-espionage groups, says Wade Woolwine, principal security researcher at security-management firm Rapid7.

"Putting Web shells on a Web server is a really easy way to evade traditional detections that we see on the endpoint," he says. "Attackers were using [Web shells] pretty regularly as a secondary, tertiary, or redundant backdoor, and we still see those today because it is a way of evading detection, and a number of the modern Web frameworks allow you a direct pipeline to the operating system for scripting."

Last week the US National Security Agency and the Australian Signal Directorate stated in a joint advisory that Web shell use has increased in recent months and poses an ongoing risk to government systems. 

In February Microsoft warned that an undisclosed public-sector organization had, through misconfiguring a Web server, "allowed attackers to upload a web shell, which let the adversaries gain a foothold for further compromise." The North Korea-linked Lazarus Group — which Microsoft refers to as ZINC, CrowdStrike as Hidden Cobra, and FireEye as APT38 — have used Web shells in their campaigns, as have Russian and Chinese groups.

Roughly every month, Microsoft detects an average of 77,000 Web shell and related artifacts on some 46,000 machines, the company said.

"Web shell attacks have affected a wide range of industries," Microsoft stated in the advisory issued by its Detection and Response Team (DART). "The organization in the public sector [that the company warned about] represents one of the most common targeted sectors."

While some attack techniques peak and then fade away, Web shells have become a staple of attackers. For example, first appearing almost a decade ago, China Chopper is a Web shell that works on both Linux and Windows servers and remains in active use. In 2018, attackers targeting telecommunications firms in Operation Soft Cell used China Chopper for persistance and control of the target network. The campaign was linked to Chinese-affiliated actors, dubbed Gallium by Microsoft, and lasted until mid-2019.

Yet China Chopper is not just used by China-linked attack groups but by many other threat actors as well, according to Cisco's Talos intelligence group

"I see adversaries of all different types and all different skill levels using Web shells," says Nick Biasini, a threat researcher at Cisco Talos. "Even with China Chopper, it was used for everything from Web defacement to cyber espionage."

The increase in Web shell use appears to be slight but noticeable. The number of Web shells ecountered by Microsoft doubled last summer but ended the year with a modest increase, according to its advisory. Rapid7 estimates that about 10% of the attacks it investigates use a Web shell for access and persistance.

More recently, the use of Web shells for compromising and controlling internal servers has increased, says Tod Beardsley, director of research at Rapid7.

"The Web is not just on the Internet," he says. "All this stuff that is applicable to your edge, it is also applicable to your internal network. Any Web app is just as vulnerable on the inside of your network, and often it has less security around it." 

For that reason, companies should not just focus on Web servers. The term "Web shell" is also generically used for any remote access program that allows commands over HTTP or HTTPS. Both Outlook and Sharepoint servers have Web-based interfaces and so are targeted by attackers with Web shell installation. 

Companies should use network segmentation to prevent Internet-facing Web servers from being used as a beachhead into the rest of the network, Cisco's Biasini says. "If you have a Web server with access to the Internet, it should not have internal access, he says.

In addition, regular scans should be done for common vulnerability types.

"From a prevention perspective, businesses should be scanning their Web applications from the outside, and anything that is touching the Internet should be patched," Biasini says.

Related Content:

A listing of free products and services compiled for Dark Reading by Omdia analysts to help meet the challenges of COVID-19. 

Check out The Edge, Dark Reading's new section for features, threat data, and in-depth perspectives. Today's top story: "5 Ways to Prove Security's Worth in the Age of COVID-19."

Veteran technology journalist of more than 20 years. Former research engineer. Written for more than two dozen publications, including CNET News.com, Dark Reading, MIT's Technology Review, Popular Science, and Wired News. Five awards for journalism, including Best Deadline ... View Full Bio
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
aidancheney
50%
50%
aidancheney,
User Rank: Apprentice
5/6/2020 | 9:58:37 AM
Re: Web traffic
Agree
Attackers Leave Stolen Credentials Searchable on Google
Kelly Sheridan, Staff Editor, Dark Reading,  1/21/2021
How to Better Secure Your Microsoft 365 Environment
Kelly Sheridan, Staff Editor, Dark Reading,  1/25/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: I can't find the back door.
Current Issue
2020: The Year in Security
Download this Tech Digest for a look at the biggest security stories that - so far - have shaped a very strange and stressful year.
Flash Poll
Assessing Cybersecurity Risk in Today's Enterprises
Assessing Cybersecurity Risk in Today's Enterprises
COVID-19 has created a new IT paradigm in the enterprise -- and a new level of cybersecurity risk. This report offers a look at how enterprises are assessing and managing cyber-risk under the new normal.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-21275
PUBLISHED: 2021-01-25
The MediaWiki "Report" extension has a Cross-Site Request Forgery (CSRF) vulnerability. Before fixed version, there was no protection against CSRF checks on Special:Report, so requests to report a revision could be forged. The problem has been fixed in commit f828dc6 by making use of Medi...
CVE-2021-21272
PUBLISHED: 2021-01-25
ORAS is open source software which enables a way to push OCI Artifacts to OCI Conformant registries. ORAS is both a CLI for initial testing and a Go Module. In ORAS from version 0.4.0 and before version 0.9.0, there is a "zip-slip" vulnerability. The directory support feature allows the ...
CVE-2021-23901
PUBLISHED: 2021-01-25
An XML external entity (XXE) injection vulnerability was discovered in the Nutch DmozParser and is known to affect Nutch versions < 1.18. XML external entity injection (also known as XXE) is a web security vulnerability that allows an attacker to interfere with an application's processing of XML ...
CVE-2020-17532
PUBLISHED: 2021-01-25
When handler-router component is enabled in servicecomb-java-chassis, authenticated user may inject some data and cause arbitrary code execution. The problem happens in versions between 2.0.0 ~ 2.1.3 and fixed in Apache ServiceComb-Java-Chassis 2.1.5
CVE-2020-12512
PUBLISHED: 2021-01-22
Pepperl+Fuchs Comtrol IO-Link Master in Version 1.5.48 and below is prone to an authenticated reflected POST Cross-Site Scripting