Elastic medium deprecated kql

Potential Shell via Web Server

Identifies suspicious commands executed via a web server, which may suggest a vulnerability and remote shell access.

View Source

Detection Logic

event.category:process and host.os.type:linux and event.type:(start or process_started) and
process.name:(bash or dash or ash or zsh or "python*" or "perl*" or "php*") and
process.parent.name:("apache" or "nginx" or "www" or "apache2" or "httpd" or "www-data")

False Positives

  • ⚠ Network monitoring or management products may have a web server component that runs shell commands as part of normal behavior.

Field Validations

Loading…

Comments (0)

Loading comments...