ET ATTACK_RESPONSE Possible WebShell Upload Attempt via Directory Traversal M2


Query · suricata

flow:to_server,established;
http.method;
content:"POST";
http.request_body;
content:"./";
content:"filename|22|"; fast_pattern;
pcre:"/^.{1,5}\x22[^\x22]+(\.{1,2}\/)+(\w+\/?)+\.(jsp|aspx?|php)\x22/R";
target:dest_ip;
Raw source ET ATTACK_RESPONSE Possible WebShell Upload Attempt via Directory Traversal M2 · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
    msg:"ET ATTACK_RESPONSE Possible WebShell Upload Attempt via Directory Traversal M2";
    flow:to_server,established;
    http.method;
    content:"POST";
    http.request_body;
    content:"./";
    content:"filename|22|"; fast_pattern;
    pcre:"/^.{1,5}\x22[^\x22]+(\.{1,2}\/)+(\w+\/?)+\.(jsp|aspx?|php)\x22/R";
    classtype:attempted-admin;
    sid:2038638; rev:1;
    metadata:created_at 2022_08_29, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_08_29, mitre_tactic_id TA0003, mitre_tactic_name Persistence, mitre_technique_id T1505, mitre_technique_name Server_Software_Component;
    target:dest_ip;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.