Hi Richard,
I spun a VM to test this and noticed the same issue you described. Here's what I did to replicate, let me know if it seems very different than what you're seeing.
1. Create a custom rule in /etc/nsm/rules/local.rules - This rule did not have a defined classtype or priority.
2. Run /usr/loca/bin/pulledpork_update.sh to update the ruleset and restart snorby.
3. Generated a packet to kickoff my custom alert with scapy.
4. Since the custom rule did not have a defined classtype or priority it was reported by snorby without a priority.
5. I then made changes to both the priority and the classtype
6. Ran /usr/local/bin/pulledpork_update.sh again
7. Generated another packet to kick off the alert. Again, it was reported with no priority.
It didn't matter how I went about changing the classtype or priority.
From there, I took a look at the snorby database.
mysql -uroot -Dsnorby
There is a column in snorby.signature that indicates the priority(sig_priority). When queried, the priority for my custom rule was set to NULL. My working theory is the first time the signature is seen by snorby, it insert's into snorby.signature and sets the priority. However, I'm not sure if there is a codified method to update the severity of an alert already in the db.
I had to manually update the value with:
mysql -N -B -uroot -Dsnorby -e "UPDATE signature SET sig_priority=1 WHERE sig_sid = 9000547;"
You can check the sig_priority with:
mysql -N -B -uroot -Dsnorby -e "SELECT sig_id, sig_name, sig_priority, sig_sid FROM signature WHERE sig_sid=9000547;"
1 Vote for Security Onion Toolsmith Tool of 2011! 1 9000547
Let me know if I can do anything more
v/r
Scott
--
Scott Runnels