Webserver GET requests containing XSS-related payload strings

Finds likely XSS injection attempts in webserver GET requests by matching script, tag, and JS payload strings while excluding 404s.

FreeReviewedSigma · High · v2
Category
webserver
Author
Saw Win Naung, Nasreddine Bencherchali (SigmaHQ), DRL 1.1
Published
2021-08-15
Updated
2026-07-31

ATT&CK techniques

Initial Access
  1. Recon

  2. Resource Dev

  3. Execution

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule flags webserver access log entries for GET requests that include common XSS injection patterns such as encoded and double-encoded <script>, <iframe>, <svg> payloads and JavaScript event handlers or alert invocations. Attackers often use these crafted strings in query parameters to trigger script execution in other users’ browsers. The detection relies on HTTP method, matched keyword substrings, and excludes events with a 404 status.

Related detections6 linkedT1189 — drag to rearrange
Suspicious Connection to Local Zoom Opener Webserver Launch Endpoint (via network_connection)
Suspicious macOS Installer Invocation Spawned via Zoom Opener Helper (via process_creation)
Suspicious FakeBat Fake Browser Update Stats and Download Endpoints (via proxy)
Suspicious Watering Hole Exfiltration to Fake wp-includes Endpoint via SilentSelfie
Suspicious Child Processes Spawned by Browsers on macOS
Proxy Web Requests for Flash Player Installer from Unofficial Locations
Webserver GET requests containing XSS-related payload strings
Pivot detection · T1189 · 6 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.