alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET PHISHING Successful Dynamic Folder Phish 2016-11-28";
flow:to_server,established;
content:"|0d 0a 0d 0a|id="; fast_pattern;
http.method;
content:"POST";
http.uri;
content:".php"; nocase;
http.request_body;
content:"id="; depth:3; nocase;
content:"&password="; nocase; distance:0;
http.start;
pcre:"/^POST[^\r\n]+(?P<hash>[a-f0-9]{32})\/(?:[^\r\n]+\r\n)+Referer\x3a\x20http(s)?:\/\/[^\r\n]+(?P=hash)/mi";
classtype:credential-theft;
sid:2032719; rev:4;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2016_11_28, deployment Perimeter, confidence Medium, signature_severity Critical, tag Phishing, updated_at 2020_10_29, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1566, mitre_technique_name Phishing;
)