id: jsp-webshell info: name: JSP Webshell - Detect author: lu4nx severity: high reference: - https://github.com/tennc/webshell/tree/master/jsp - https://github.com/tennc/webshell/tree/master/jspx - https://www.rapid7.com/blog/post/2016/12/14/webshells-101/ metadata: verified: true tags: jsp,java,jspx,webshell,file file: - extensions: - jsp - java - jspx extractors: - type: regex regex: - '(?i)(ClassLoader|exec|eval|ProcessBuilder|getInputStream|loadClass|defineClass|URLClassLoader)\(' - '(?i)cmd.exe' - '(?i)/bin/sh' - '(?i)/bin/bash' - '(?i)exeCmd'