I stumbled upon a reverse jsp shell and the generic rule for jsp webshells WEBSHELL_JSP_Generic returns a false positive due to the nature of the reverse shell.
Changing this:
and (
any of ( $input* ) and
any of ( $req* )
)
to this:
and (
any of ( $input* ) or
any of ( $req* )
)
Solves the issue. This might apply to the other JSP rules. I dont know how much false positives is that going to give but I think its preferable to have false positives than false negatives.
Hi,
I stumbled upon a reverse jsp shell and the generic rule for jsp webshells
WEBSHELL_JSP_Generic
returns a false positive due to the nature of the reverse shell.Changing this:
to this:
Solves the issue. This might apply to the other JSP rules. I dont know how much false positives is that going to give but I think its preferable to have false positives than false negatives.
Kind regards,