Jump to content

Backdoor Shell

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jaqoc (talk | contribs) at 04:59, 24 February 2016 (Prevention: Grammar). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A backdoor shell is a malicious piece of code (e.g. PHP, Python, Ruby) that can be uploaded to a site to gain access to files stored on that site. Once it is uploaded, the hacker can use it to edit, delete, or download any files on the site, or upload their own.

How to upload

  • Hackers usually take advantage of an upload panel designed for uploading images onto sites. This is usually found once the hacker has logged in as the admin of the site. Shells can also be uploaded via exploits or remote file inclusion.

Uses

  • Shells have many uses. They can be used to edit the webserver directory index page of site, and then hackers can leave their mark or "deface" for visitors to the site to see when they go to the homepage. Hackers may also use it to bruteforce FTP or cPanel, allowing them more access to the website. Shells can also be used to gain root access to the site. Some hackers may choose to host malware or spyware on the sites they have uploaded their shell to using various exploits.
  • Please note that many shells contain malware and 'Mark / deface page' might contain malwares to obtain visitor`s password as well .

Prevention

  • To prevent a site from having a shell uploaded onto it, a webmaster must always keep up with the latest security updates and make sure to have a secure admin panel. They must also make sure that if they do have an admin panel they make sure it only permits the user to upload .jpeg, .png, and other image file types only.
  • Also administrators need to make sure that there aren't any errors in their PHP code and dummy files are successfully removed from the cpanel .

References