WAF

Events and diagnostics → WAF shows the requests the reverse proxies’ web application firewall refused, or noticed for a proxy in “Detection only” (see…

Events and diagnostics → WAF shows the requests the reverse proxies’ web application firewall refused, or noticed for a proxy in “Detection only” (see Published services). Behavioural analysis keeps the events, for 7 days: Argos makes no copy.

The WAF log with a day of refused requestsThe WAF log with a day of refused requests
The WAF log with a day of refused requests

Notices: “Behavioural analysis is switched off, and the WAF needs it: no request is inspected.” with the link “Inspection settings”; “No reverse proxy has its WAF on.” with the link “Reverse proxies”; “Behavioural analysis is not installed on this appliance (package crowdsec), and the WAF needs it.”.

  • Figures: “Requests”, “Last request”, “Proxies”, “Sources”.
  • Rankings: “Proxies with the most requests”, “Rules that matched most”, “Sources with the most requests”.
  • Table “Latest requests”: “Time”, “Proxy” (with the name asked for under it; “a proxy that is gone” if it was deleted), “Action” (“Blocked” in red, “Noticed” in amber for a proxy in “Detection only”), “Source” (with the address inspector), “Request” (method and path, with the part of the request where the rule found the attack under it, for example ARGS.p), “Rules” (the Core Rule Set’s rule number, for example 942100, or the name of a CrowdSec rule, with its message).

The filter searches the proxy, the address, the request and the rules.

Leaving a rule out. The rows of a proxy with its WAF on have “Exclude for this proxy”. It opens “Leave out these rules for the proxy name? Its requests that only they refuse will pass.” with the request’s rules, all ticked; untick the ones to keep and press “Exclude”. “Rule left out for this proxy” appears, and the WAF applies it at once. The exclusion is listed in the proxy’s form, where it can be taken away.

How to read it. A source on the internet with many refused requests over several rules is a scanner or an attack: the WAF is doing its job, and if it insists it gets banned (you see it in Behavioural analysis). Look instead at the rows of a known source (a customer, an office, a supplier) or of a path the site really uses (saving a form, an API): it is probably a false positive. Example: “Blocked” on GET /?p=1 UNION SELECT … from 203.0.113.45 is an attack; “Noticed” on POST /api/orders/notes of the ERP, rule 942100, from an address of the company, is a user who wrote a note with something that looks like SQL in it. Before leaving the rule out, check whether it matches other good requests.

LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer