Skip to content

Instantly share code, notes, and snippets.

@austinsonger
Created March 12, 2020 16:11
Show Gist options
  • Save austinsonger/b39063152efe2fa68d0b56226b797348 to your computer and use it in GitHub Desktop.
Save austinsonger/b39063152efe2fa68d0b56226b797348 to your computer and use it in GitHub Desktop.
SMBGhost - Snort Rule (CVE-2020-0796)
###############
# Rules by Claroty
# This rules will detect SMB compressed communication by the SMB protocol identifier.
# The use of the offset and depth parameter is designed to prevent false positives and to allow the NetBios Layer
###############
alert tcp any any -> any 445 (msg:"Claroty Signature: SMBv3 Used with compression - Client to server"; content:"|fc 53 4d 42|"; offset: 0; depth: 10; sid:1000001; rev:1; reference:url,//blog.claroty.com/advisory-new-wormable-vulnerability-in-microsoft-smbv3;)
alert tcp any 445 -> any any (msg:"Claroty Signature: SMBv3 Used with compression - Server to client"; content:"|fc 53 4d 42|"; offset: 0; depth: 10; sid:1000002; rev:1; reference:url,//blog.claroty.com/advisory-new-wormable-vulnerability-in-microsoft-smbv3;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment