Web Shell Upload Protection
Detects and blocks web shell uploads including c99, r57, b374k, and China Chopper signatures. Detects and blocks web shell uploads including c99, r57, b374k, and China Chopper signatures.
Overview
Detects and blocks web shell uploads including c99, r57, b374k, and China Chopper signatures.
Feature details
c99 Shell
c99.php , c99_madrid variants
r57 Shell
r57.php , r57shell variants
b374k Shell
b374k.php , b374k-mini variants
China Chopper
caidao.asp , caidao.php
WSO (Web Shell by oRb)
wso.php , webshell.php
ShellBot
IRC bot shells
PHP Simple Shell
shell.php , cmd.php
ASPX Shell
shell.aspx , cmd.aspx
JSP Shell
shell.jsp , cmd.jsp
Perl/CGI Shell
shell.cgi , cmd.pl
Python Shell
shell.py , backdoor.py
Node.js Shell
shell.js , backdoor.js
System Command Functions
system() , exec() , shell_exec() , passthru() , popen()
File Manipulation
file_put_contents() , fopen() , chmod()
Code Execution
eval() , assert() , create_function()
Base64 Decoding
base64_decode() , gzinflate() , str_rot13()
Known Shell Signatures
$c99 , $r57 , b374k , wso_version
Obfuscation Patterns
Multiple nested functions, concatenated strings
Web Shell User-Agents
Mozilla/5.0 (Windows NT; r57shell)
Filename Patterns
*shell* , *backdoor* , *cmd*
Content-based Signature Matching
MIME Type Validation (text/plain disguised as image)
File Extension Blacklist (.php, .phtml, .php3, .asp, .aspx, .jsp, .jspx, .cgi, .pl, .py)
Double Extension Detection ( shell.jpg.php )
Null Byte Poisoning Prevention ( shell.php\x00.jpg )
Code Obfuscation Detection
Function Call Whitelist
Heuristic Analysis (unusual combinations of dangerous functions)
Entropy Analysis (high entropy = suspicious for encoded payloads)
Anti-Virus Scanning Integration (optional)
PHP: .php , .php3 , .php4 , .php5 , .phtml , .phps
ASP: .asp , .aspx , .ashx , .asmx , .asax
JSP: .jsp , .jspx , .jws , .jsw
CGI/Perl: .cgi , .pl , .pm
Python: .py , .pyc
Ruby: .rb , .rbw
Shell: .sh , .bash , .zsh
How CloFix WAF uses it
Detects and blocks web shell uploads including c99, r57, b374k, and China Chopper signatures. Part of the CloFix WAF Core Security Features with real-time scoring, policy controls, and live analytics.
Canonical URL: https://clofix.com/features/clofix-waf/webshell-upload/