Skip to content

Instantly share code, notes, and snippets.

@slayerlab
Created March 24, 2018 22:34
Show Gist options
  • Save slayerlab/9658f18c86cb538fb0df1dd21eec8bd4 to your computer and use it in GitHub Desktop.
Save slayerlab/9658f18c86cb538fb0df1dd21eec8bd4 to your computer and use it in GitHub Desktop.
SNORT rules: useful for trigger reverse shell attempt over icmp protocol.
alert icmp $EXTERNAL_NET any -> $HOME_NET any (msg:"Unexpected data was detected on ICMP packet into Data Segment"; itype:0; icode:0; icmp_id:1; dsize:>0; classtype:tunneling; reference:url,github.com/inquisb/icmpsh; sid:123456; rev:0)
event_filter gen_id 1, sig_id 123456, type limit, track by_src, count 1, seconds 60
@slayerlab
Copy link
Author

IMHO: It is better get this link as a reference: https://github.com/SLAYEROWNER/icmpsh/tree/patch-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment