Last active
August 29, 2015 14:23
-
-
Save sethhall/68048fe95c0c10966ddf to your computer and use it in GitHub Desktop.
Script to avoid OpenSSL DoS CVE-2015-1788
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
##! This script is to avoid CVE-2015-1788 which is explained in | |
##! detail at http://jpb.io. It is a denial of service against | |
##! OpenSSL which will cause Bro processes to lock up. | |
##! WARNING - This script should only be used temporarily until | |
##! your OpenSSL library is upgraded. This script can | |
##! then be removed. | |
@if( /2\.3/ in bro_version() ) | |
event file_over_new_connection(f: fa_file, c: connection, is_orig: bool) &priority=-100 | |
{ | |
Files::remove_analyzer(f, Files::ANALYZER_X509); | |
} | |
@endif | |
@if ( /2\.4/ in bro_version() ) | |
event file_sniff(f: fa_file, meta: fa_metadata) &priority=-100 | |
{ | |
Files::remove_analyzer(f, Files::ANALYZER_X509); | |
} | |
@endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The correct domain is http://jbp.io/ for more information.