Lably
Skip to content

Web shell

Interface enabling remote access to a web server

  • 3 min read
  • 5 chapters

Related on Lably

Through Web server, Web browser and Web application

Web shells can be coded in any programming language supported by a server, with PHP being the most prevalent due to its widespread use in web applications. Other languages, such as Active Server Pages, ASP.NET, Python, Perl, Ruby, and Unix shell scripts, are also employed.

Attackers identify vulnerabilities often in web server application using network monitoring tools, which can be exploited to deploy a web shell.

Once installed, a web shell allows attackers to execute shell commands, perform privilege escalation, and manage files by uploading, deleting, downloading, or executing them on the server.

General usage

Web shells are favored in cyberattacks for their versatility and elusiveness. Common applications include:

  • Data theft
  • Infecting visitors through watering hole attacks
  • Website defacement by altering files with malicious intent
  • Launching DDoS attacks
  • Relaying commands to inaccessible network segments
  • Serving as a command and control hub, such as in botnet systems or to compromise external networks

Web shells enable hackers to extract data, corrupt systems, and deploy more damaging malware. The threat intensifies when compromised servers are used to infiltrate additional systems. They are also employed in cyber espionage targeting sectors like government, finance, and defense. A notable example is the "China Chopper" web shell.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Computing and communication