Webshell Tool Reconnaissance Activity

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects processes spawned from web servers (PHP, Tomcat, IIS, etc.) that perform reconnaissance looking for the existence of popular scripting tools (perl, python, wget) on the system via the help commands

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PARENTPROCESSNAME endswith "\caddy.exe,\httpd.exe,\nginx.exe,\php-cgi.exe,\w3wp.exe,\ws_tomcatservice.exe" OR (PARENTPROCESSNAME endswith "\java.exe,\javaw.exe" AND PARENTPROCESSNAME contains "-tomcat-,\tomcat") OR (PARENTPROCESSNAME endswith "\java.exe,\javaw.exe" AND COMMANDLINE contains "CATALINA_HOME,catalina.jar")) AND COMMANDLINE contains "perl --help,perl -h,python --help,python -h,python3 --help,python3 -h,wget --help" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Cian Heasley, Florian Roth (Nextron Systems)