Posted by Roadrunnere42 on Nov 14, 2016; 8:45am URL: https://itus.accessinnov.com/New-rules-category-for-SSL-Black-List-tp1190p1276.html
How to change which snort rules to use.
In the folder sbin you will see the fw_upgrade script which every night goes and download and upgrade with the latest snort rules and web filter rules.
Using either winscp or the command prompt in linux which every you prefer to open and edit files.
Open the file fw_upgrade (sbin/fw_upgrade) and scroll down till you see the following, as you can see if the line begins with # this means that its a commented out and the line is ignored when run. Each line that begins with curl is a snort rules set, the first 16 lines are what was the original sets that itus had set up, below these line are a few comments explaining what the new rule suggested by wisiwyg does and then the new rule
set curl -k -1 -m 40 -o /tmp/ramdisk/abuse-sslbl.rules https://sslbl.abuse.ch/blacklist/sslipblacklist.rules
just copy and paste in file as I have below, save file, then rule fw_upgrade either in command line sh /sbin/fw_upgrade or via gui (status -->
itus setting --> upgrade shield)
if you what to disable a rule set just put a # at the begin of the line.
The rule set # curl -k -1 -m 40 -o /tmp/ramdisk/emerging-trojan.rules https://rules.emergingthreats.net/open/snort-edge/rules/emerging-trojan.rules ,if you decide to uncomment it so that it becomes active then you have to modified the snort conf files because of the number of rules contained in that set will crash snort
# new rule site as suggested SSL Blacklist (SSLBL) is a project maintained by abuse.ch. The goal is to provide a list of "bad" SSL certificates identified
# by abuse.ch to be associated with malware or botnet activities. SSLBL relies on SHA1 fingerprints of malicious SSL certificates
# and offers various blacklists that can found in the SSL Blacklist section.
curl -k -1 -m 40 -o /tmp/ramdisk/abuse-sslbl.rules https://sslbl.abuse.ch/blacklist/sslipblacklist.rules
echo " "
echo "Working on snort rules, please wait... may take up to a minute"