Created
July 16, 2020 19:18
-
-
Save kraigu/8949979f209fe6a7430dceafce0d1a78 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module CVE_2020_1350; | |
export | |
{ | |
redef enum Notice::Type += { | |
CVE_2020_1350 | |
}; | |
} | |
event dns_unknown_reply(c: connection, msg: dns_msg, ans: dns_answer) | |
{ | |
if ( ans$qtype==24 && c$resp$size > 65000 ) | |
{ | |
NOTICE([$note=CVE_2020_1350, $conn=c, $msg="Potential CVE-2020-1350 exploit detected", $identifier=cat(c$id$orig_h)]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment