alert http any any -> $HOME_NET any (
msg:"ET EXPLOIT Apache Struts 2 REST Plugin Vulnerability (CVE-2017-9805)";
flow:to_server,established;
http.method;
content:"GET";
http.uri;
content:"/struts2";
http.content_type;
content:"|25 7b 28 23|";
isdataat:500,relative;
content:"cmd.exe"; fast_pattern;
content:"@java.lang.System@getProperty(|27|os.name|27|)";
reference:cve,2017-9805;
reference:url,forums.juniper.net/t5/Threat-Research/Anatomy-of-the-Bulehero-Cryptomining-Botnet/ba-p/458787;
classtype:attempted-user;
sid:2027516; rev:2;
metadata:affected_product Apache_Struts2, attack_target Client_Endpoint, created_at 2019_06_26, cve CVE_2017_9805, deployment Perimeter, performance_impact Moderate, signature_severity Major, tag CISA_KEV, updated_at 2020_08_31, reviewed_at 2024_05_06;
)