alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET PHISHING Successful Dynamic Folder Phishing 2016-09-12";
flow:to_server,established;
content:"|0d 0a 0d 0a|login="; fast_pattern;
http.method;
content:"POST";
http.uri;
content:".php"; nocase;
http.request_body;
content:"login="; nocase;
content:"pass"; 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:2032698; rev:5;
metadata:affected_product Web_Browsers, attack_target Client_Endpoint, created_at 2016_09_12, deployment Perimeter, confidence Medium, signature_severity Critical, tag Phishing, updated_at 2020_10_30, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1566, mitre_technique_name Phishing;
)