Web Shell Detector is a PHP script developed to detect PHP, CGI (Perl), ASP/ASPX shells. It uses a signature-based database to identify these threats with up to 99% accuracy. It features a modern, user-friendly interface leveraging contemporary technologies.
To activate Web Shell Detector:
- Upload
shelldetect.php
andshelldetect.db
to your root directory. - Open
shelldetect.php
in your browser (e.g.,http://www.website.com/shelldetect.php
). - Log in with the default username & password:
- Username:
admin
- Password:
protect
- Username:
- Inspect suspicious files. If any files seem suspicious, submit them to Shell Detector Team. The file will be inspected, and if threats are found, they will be added to the web shell signature database.
- If web shells are detected, use your FTP/SSH client to remove them from your server (IMPORTANT: Be cautious, as some shells may be integrated into system files).
extension
: File extensions to scanshowlinenumbers
: Show line numbers for suspicious functionsdateformat
: Used for access and modification timeslanguage
: Set the languagedirectory
: Scan a specific directorytask
: Perform different tasksreport_format
: Use withis_cron(true)
to define report file formatis_cron
: If true, run as cron (no output)filelimit
: Maximum files to scan (for more than 30,000 files, scan specific directories)useget
: Enable_GET
variable for task submissionauthentication
: Protect the script with user & password (set to NULL to disable)remotefingerprint
: Get shell signatures remotely
- extension: Specify file extensions to scan.
- showlinenumbers: Display line numbers for suspicious functions.
- dateformat: Set the date format.
- language: Language support.
- directory: Scan specific directories.
- report_format: Choose the report format.
Web Shell Detector is a regularly updated tool with new shell types added and existing features improved.
- Run the Web Shell Detector periodically to keep your site secure.
- Carefully inspect suspicious files and regularly check log files.
- Number of known shells: 604
- PHP 5.x
- OpenSSL (for secure file submission)
- 1.66: Small tweaks and PHP 5.3.3 support (thanks to John Thornton)
- 1.64: Added INI file support, output method rewritten, Italian translation (thanks to Marco Saiu)
- 1.63: New shell recognition mechanism, updated shell signatures
- 1.62: jQuery version reverted to 1.7.x due to bug with jQuery UI dialog, new file types added, updated shell signatures
- 1.61: New way to submit suspicious files, CSS & code fixes, updated shell signatures
- 1.6: Added support to indicate non-shell files, loader indicator added
- 1.52: Noindex meta tag added, scan all files option added (
extension = *
) - 1.51: Unpack function update
- 1.5: Unpack function added, application version check, fixed warnings and error handler
- 1.4: Hide suspicious files option, file scanning changed
- 1.3: File submission changes, email field added for notifications
- 1.2: Encryption function and authentication added, small bug fixes
- 1.1: Fingerprint function change, show line regex updated
- 1.0: Initial version