YARA rule 'php_webshell_known': Known PHP webshell families (c99, r57, b374k, WSO, etc.) [webshells]
- Category
- YARA Match
- Confidence
- 90% confidence
- Finding
YARA rule matched a known webshell pattern (PHP, Python, JSP, or ASPX webshell).
- Content
and reachable behavior. Perform only separately authorized quarantine or restoration after confirmation.", "confidence": "heuristic" }
text ## Category 2: Known Backdoor Signatures (Critical) These patterns match known backdoor and webshell signatures. **Pattern 2a: Common backdoor names (case-insensitive)** ```bash find -P "$SCAN_ROOT" -type f -name '*.php' -exec grep -Hni -- 'FilesMan\|WSO\|c99shell\|r57shell\|b374k' {} +What it finds: References to well-known PHP backdoors and webshells.
Pattern 2b: Shell execution with user input
bash find -P "$SCAN_ROOT" -type f -name '*.php' -exec grep -Hn -- 'shell_exec\s*(\s*\$_\|system\s*(\s*\$_\|passthru\s*(\s*\$_' {} +What it finds: Direct execution of shell commands from user input ($_GET, $_POST, $_REQUEST). Major security risk.
For each match in Category 2:
Finding ID:
SUSP-BACKDOOR-{3-char-md5-of-filepath:line}Severity: Critical
Category: Suspicious Code
Example Finding:
json {
