alert http any any -> $HOME_NET any (
msg:"ET EXPLOIT TP-Link Archer C2 and Archer C20i Remote Code Execution";
flow:to_server,established;
http.method;
content:"POST";
http.uri;
content:"/cgi?"; nocase;
http.header;
content:"/mainFrame.htm";
http.request_body;
content:"IPPING"; nocase;
content:"X_TP_ConnName=ewan_ipoe_s"; fast_pattern;
reference:url,github.com/reverse-shell/routersploit/blob/master/routersploit/modules/exploits/tplink/archer_c2_c20i_rce.py;
classtype:command-and-control;
sid:2024191; rev:3;
metadata:affected_product TPLINK, attack_target Client_Endpoint, created_at 2017_04_07, deployment Perimeter, performance_impact Low, confidence Medium, signature_severity Major, updated_at 2020_08_05, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
)