alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET EXPLOIT WatchGuard CVE-2022-26318 RCE Attempt M1";
flow:established,to_server;
http.request_line;
content:"POST /agent/login"; startswith; nocase;
http.request_body;
content:"|3c|methodName|3e|";
content:"login|3c 2f|methodName|3e|"; within:50; fast_pattern; nocase;
content:"|3c|member|3e 3c|value|3e 3c|"; distance:0; nocase;
content:!"|3e|"; within:400;
reference:url,www.greynoise.io/blog/watchguard-cve-2022-26318-rce-detection-iocs-and-prevention-for-defenders;
reference:cve,2022-26318;
classtype:attempted-admin;
sid:2035633; rev:2;
metadata:attack_target Networking_Equipment, created_at 2022_03_29, cve CVE_2022_26318, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence Medium, signature_severity Major, tag CISA_KEV, updated_at 2022_03_29;
)