YARA rule 'php_webshell_obfuscated': Obfuscated PHP webshell — eval(base64_decode/gzinflate/str_rot13) [webshells]
- Category
- YARA Match
- Confidence
- 80% confidence
- Finding
YARA rule matched a known webshell pattern (PHP, Python, JSP, or ASPX webshell).
- Content
md a Exfiltration (Critical) - [ ] New `curl`, `wget`, `fetch` sending data to external URLs - [ ] New env var access: `$OPENAI_API_KEY`, `$AWS_SECRET`, `$TOKEN`, `process.env.*` - [ ] Env vars newly passed to external endpoints - [ ] New crypto wallet harvesting patterns - [ ] New reads from `~/.ssh/`, `~/.aws/credentials`, `~/.config/` ### D2 — Code Injection & Obfuscation (Critical) - [ ] New `eval(base64_decode(...))` or `exec(atob(...))` patterns - [ ] New long base64/hex blobs (>100 chars) without explanation - [ ] New `curl * | bash` or `wget * | sh` - [ ] New reverse shell: `/dev/tcp/`, `nc -e`, `bash -i >&` - [ ] New unicode obfuscation: RLO `\u202e`, zero-width chars ### D3 — Prompt & Instruction Drift (Major) - [ ] New "ignore previous instructions" or override phrases - [ ] New role-switch language: "you are now", "act as", "DAN" - [ ] Removal of safety constraints present in baseline - [ ] New instruction sections inconsistent with stated skill purpose ### D4 — Permi
