Elastic high stable kql

ESXi Host Logs Deleted with rm

Detects a shell `rm` of a path under `/var/log` or of a `*.log` name. Those files hold shell commands, authentication, and hostd activity. Removing them takes away the record of what changed on the host.

View Source

Detection Logic

data_stream.dataset:vsphere.log and event.module:vsphere and message:(rm and ("*.log" or "/var/log/*"))

False Positives

  • ⚠ An administrator deletes a rotated log under `/var/log` during a documented maintenance window. Confirm the path and the change ticket.

Field Validations

Loading…

Comments (0)

Loading comments...