Initial Access (TA0001)(external, opens in a new tab or window)
text code block:( ( (data_stream.dataset: network_traffic.http or (event.category: network_traffic and network.protocol: http)) and http.response.status_code >= 300 and http.response.status_code <= 399 and http.request.headers.authorization: Basic* and http.response.headers.location: /cpsess* ) or ( data_stream.dataset: zeek.http and zeek.http.client_header_names: AUTHORIZATION and zeek.http.server_header_names: LOCATION ) ) and http.request.method: GET and url.path: "/" and destination.port: (2087 or 2086 or 2083 or 2082 or 2095 or 2096)
Install detection rules in Elastic Security
Detect Potential cPanel WHM CRLF Authentication Bypass (CVE-2026-41940) in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).