nuclei-templates/file/webshell/jsp-webshell.yaml

28 lines
673 B
YAML
Raw Normal View History

2023-06-29 07:29:33 +00:00
id: jsp-webshell
info:
2023-06-29 07:29:33 +00:00
name: JSP Webshell - Detect
author: lu4nx
severity: high
reference:
2023-06-29 07:29:33 +00:00
- 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
2023-06-29 07:29:33 +00:00
- jspx
extractors:
- type: regex
regex:
- '(?i)(ClassLoader|exec|eval|ProcessBuilder|getInputStream|loadClass|defineClass|URLClassLoader)\('
- '(?i)cmd.exe'
- '(?i)/bin/sh'
- '(?i)/bin/bash'
2023-06-29 07:29:33 +00:00
- '(?i)exeCmd'