How do Suricata alerts get a severity rating? #6395
-
I read the following: https://docs.securityonion.net/en/2.3/managing-alerts.html?highlight=severity#alerting-engines-severity
My question, in the context of Suricata w/ ET rulesets is where does this severity level come from? Is it from the classtype in the rule and then mapped somehow to a severity level?
Sorry, I feel like I am missing something obvious here but can't figure out what. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
I like to think reported successful exploits get ranked by estimated dollar-value loss in a weighted system where things like ubiquity, target sensitivity and other criteria are used. Just a WAG. |
Beta Was this translation helpful? Give feedback.
-
Thanks, I'm mostly asking because I want to write some Suricata rules, but I'm not understanding how I can set the severity. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hey @Masaya-A , My global.sls looks like this:
|
Beta Was this translation helpful? Give feedback.
classtype
in each rule sets the severity, that is connected toclassification.config
. You can obtain it bysudo docker exec -it so-suricata more /etc/suricata/classification.config
.So, your example rule says
classtype:pup-activity
and it is written in classification.config asconfig classification: pup-activity,Possibly Unwanted Program Detected,2
. Then suricata'srule.severity
is2
.After that, common.nids converts to SO's standardized alert severity as
event.severity
.