alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT NETGEAR R7000/R6400 - Command Injection Inbound (CVE-2019-6277)";
flow:to_server,established;
http.method;
content:"GET";
http.uri;
content:"/cgi-bin/|3b|wget"; depth:14; fast_pattern;
content:"|7c|sh"; endswith;
http.header_names;
content:!"Referer";
reference:url,www.exploit-db.com/exploits/41598;
reference:cve,CVE-2016-6277;
classtype:attempted-admin;
sid:2027881; rev:4;
metadata:affected_product Netgear_Router, attack_target IoT, created_at 2019_08_13, deployment Perimeter, malware_family Mirai, performance_impact Low, signature_severity Major, updated_at 2020_09_17, mitre_tactic_id TA0008, mitre_tactic_name Lateral_Movement, mitre_technique_id T1210, mitre_technique_name Exploitation_Of_Remote_Services;
)