2023-06-29 07:29:33 +00:00
|
|
|
id: jsp-webshell
|
2022-11-11 08:51:52 +00:00
|
|
|
|
|
|
|
info:
|
2023-06-29 07:29:33 +00:00
|
|
|
name: JSP Webshell - Detect
|
2022-11-11 08:51:52 +00:00
|
|
|
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
|
2022-11-11 08:51:52 +00:00
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- jsp
|
|
|
|
- java
|
2023-06-29 07:29:33 +00:00
|
|
|
- jspx
|
2022-11-11 08:51:52 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- '(?i)(ClassLoader|exec|eval|ProcessBuilder|getInputStream|loadClass|defineClass|URLClassLoader)\('
|
|
|
|
- '(?i)cmd.exe'
|
|
|
|
- '(?i)/bin/sh'
|
|
|
|
- '(?i)/bin/bash'
|
2023-10-14 11:27:55 +00:00
|
|
|
- '(?i)exeCmd'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100c52ce185c59b043aaf28f5cb0e6a0ef91c7d71a5094888fd6cf1beb8778fcf36022100879fa5886ba403b3f31b9b5c0941048809eb8157d4cf191fcf06ea8fc540f836:922c64590222798bb761d5b6d8e72950
|