alert ftp $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT FTPShell client Stack Buffer Overflow";
flow:established,from_server;
content:"220|20 22|";
isdataat:400,relative;
content:!"|00|"; within:400;
content:!"|22|"; within:400;
content:!"|0b|"; within:400;
content:!"|0a|"; within:400;
content:!"|0d|"; within:400;
content:"|ed 2e 45 22 20|"; fast_pattern; distance:400;
reference:url,2018-8733;
reference:cve,2018-8734;
reference:cve,2018-8735;
reference:cve,2018-7573;
reference:url,exploit-db.com/exploits/44968/;
classtype:attempted-user;
sid:2025779; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2018_07_03, cve CVE_2018_8734, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, updated_at 2019_07_26;
)