SignalHunt
← All rules

WEB-6002

medium

High Rate of 404s From the Same Client (Directory/File Brute Forcing)

Detects a burst of 404 responses to the same client IP in a short window - a classic sign of automated directory/file brute-forcing (e.g. dirbuster/gobuster/ffuf) hunting for hidden admin panels, backup files, or exposed config files. The threshold here (8 in 2 minutes) is tuned low for a small demo dataset - production deployments typically see real scanners generate far higher rates and would tune this threshold accordingly for their own traffic baseline.

Detection logic

{
  "detection_type": "threshold",
  "selection": {
    "status": 404
  },
  "groupby": "client_ip",
  "timeframe_minutes": 2,
  "threshold": 8,
  "condition": "gte"
}

Log source: category=web_server · Event ID(s): access_log

Required log fields

  • client_ip
  • uri
  • status

Enabling this in your environment

Where: Web server access log configuration - ensure response status code is logged (standard in default combined log format).

# Apache/Nginx default combined log format already includes status code

Tune the threshold/window against your own baseline traffic before enabling in blocking/alerting mode - what's anomalous varies a lot by site traffic volume.

False positives

  • A broken client application retrying a bad/stale URL repeatedly
  • A legitimate crawler (search engine bot) hitting since-removed pages from an old sitemap

References