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

12:10 PM

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
Newest First  |  Oldest First  |  Threaded View
User Rank: Apprentice
5/6/2020 | 9:58:37 AM
Re: Web traffic
COVID-19: Latest Security News & Commentary
Dark Reading Staff 9/25/2020
Hacking Yourself: Marie Moe and Pacemaker Security
Gary McGraw Ph.D., Co-founder Berryville Institute of Machine Learning,  9/21/2020
Startup Aims to Map and Track All the IT and Security Things
Kelly Jackson Higgins, Executive Editor at Dark Reading,  9/22/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-09-25
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, when determining the common dimension size of two tensors, TFLite uses a `DCHECK` which is no-op outside of debug compilation modes. Since the function always returns the dimension of the first tensor, malicious attackers can ...
PUBLISHED: 2020-09-25
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, a crafted TFLite model can force a node to have as input a tensor backed by a `nullptr` buffer. This can be achieved by changing a buffer index in the flatbuffer serialization to convert a read-only tensor to a read-write one....
PUBLISHED: 2020-09-25
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, if a TFLite saved model uses the same tensor as both input and output of an operator, then, depending on the operator, we can observe a segmentation fault or just memory corruption. We have patched the issue in d58c96946b and ...
PUBLISHED: 2020-09-25
In TensorFlow Lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, saved models in the flatbuffer format use a double indexing scheme: a model has a set of subgraphs, each subgraph has a set of operators and each operator has a set of input/output tensors. The flatbuffer format uses indices f...
PUBLISHED: 2020-09-25
In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can trigger writes outside of bounds of heap allocated buffers by inserting negative elements in the segment ids tensor. Users having access to `segment_ids_data` can alter `output_index` and then write to outside of `outpu...