alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET PHISHING Successful Dynamic Folder Phishing 2016-01-08";
flow:to_server,established;
content:"|0d 0a 0d 0a|user="; fast_pattern;
http.method;
content:"POST";
http.uri;
content:".php?"; nocase;
http.header;
content:".php?";
http.request_body;
content:"user="; depth:5; 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:2032670; rev:5;
metadata:attack_target Client_Endpoint, created_at 2016_01_08, deployment Perimeter, confidence Medium, signature_severity Critical, tag Phishing, updated_at 2020_10_28, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1566, mitre_technique_name Phishing;
)