alert smb $HOME_NET any -> any any (
msg:"ET EXPLOIT Possible ETERNALROMANCE MS17-010";
flow:from_server,established;
content:"|FF|SMB|25 05 00 00 80|"; offset:4; depth:9;
content:"LSbfLScnLSepLSlfLSmf"; distance:0; fast_pattern;
content:"LSrfLSsrLSscLSblLSss"; within:20;
content:"LSshLStrLStcLSopLScd"; within:20;
flowbits:set,ETPRO.ETERNALROMANCE;
classtype:trojan-activity;
sid:2024208; rev:1;
metadata:attack_target SMB_Server, created_at 2017_04_17, deployment Internal, confidence Medium, signature_severity Critical, updated_at 2019_07_26;
)