Webserver Detection: SonicWall SSL VPN Jarrewrite Exploitation URI and User-Agent Payloads
Flags web requests to /cgi-bin/jarrewrite.sh with user-agent indicators consistent with command injection exploitation.
- Category
- webserver
- Author
- Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2021-01-25
- Updated
- 2026-07-31
ATT&CK techniques
Initial AccessRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags likely exploitation attempts targeting SonicWall SSL VPN via requests to the '/cgi-bin/jarrewrite.sh' endpoint combined with suspicious user-agent payload patterns. Attackers may use shell metacharacters and command execution strings (e.g., ':;', '() {', '/bin/bash -c') to trigger unauthorized script execution. The detection relies on webserver request telemetry capturing the URL query and the User-Agent value.
Reporting behind it
- web.archive.orghttps://web.archive.org/web/20210126045316/https://darrenmartyn.ie/2021/01/24/visualdoor-sonicwall-ssl-vpn-exploit/
- github.comhttps://github.com/darrenmartyn/VisualDoor
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2021/Exploits/VisualDoor-Exploit/web_sonicwall_jarrewrite_exploit.yml
Changelog
v5- v5Candidate ingested via manual entry.2026-07-31
- v4Candidate ingested via manual entry.2026-07-31
- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No 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.
title: "Webserver Detection: SonicWall SSL VPN Jarrewrite Exploitation URI and User-Agent Payloads"
id: 99987df5-daa9-418e-8caa-f29a494fbc1e
status: test
description: This rule flags likely exploitation attempts targeting SonicWall SSL VPN via requests to the '/cgi-bin/jarrewrite.sh' endpoint combined with suspicious user-agent payload patterns. Attackers may use shell metacharacters and command execution strings (e.g., ':;', '() {', '/bin/bash -c') to trigger unauthorized script execution. The detection relies on webserver request telemetry capturing the URL query and the User-Agent value.
references:
- https://web.archive.org/web/20210126045316/https://darrenmartyn.ie/2021/01/24/visualdoor-sonicwall-ssl-vpn-exploit/
- https://github.com/darrenmartyn/VisualDoor
- https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2021/Exploits/VisualDoor-Exploit/web_sonicwall_jarrewrite_exploit.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2021-01-25
modified: 2023-04-27
tags:
- attack.t1190
- attack.initial-access
- detection.emerging-threats
logsource:
category: webserver
detection:
selection:
cs-uri-query|contains: /cgi-bin/jarrewrite.sh
cs-user-agent|contains:
- :;
- () {
- /bin/bash -c
condition: selection
falsepositives:
- Unknown
level: high
license: DRL-1.1
related:
- id: 6f55f047-112b-4101-ad32-43913f52db46
type: derived