How to process Elastic Security alerts with Sigma detections in Security Onion ? #15931
-
Version2.4.211 Installation MethodOther (please provide detail below) Descriptionother (please provide detail below) Installation TypeStandalone Locationother (please provide detail below) Hardware SpecsExceeds minimum requirements CPU16 RAM128GB Storage for /1TB Storage for /nsm1TB Network Traffic Collectionother (please provide detail below) Network Traffic SpeedsLess than 1Gbps StatusYes, all services on all nodes are running OK Salt StatusNo, there are no failures LogsYes, there are additional clues in /opt/so/log/ (please provide detail below) DetailHello, I am currently doing an internship and I am still learning how Security Onion detection pipelines work, so I may ask beginner questions. After your previous answer (#15909), I added the Elastic alerts index so that the alerts generated by Elastic Security become searchable in SOC / Hunt: soc > config > server > modules > elastic > index [adv] I added: .internal.alerts-security.alerts-default-* This works correctly for search and dashboards, and I can now see the Elastic alerts in SOC/Hunt. However, I am now facing another issue regarding Sigma detections. From my understanding:
When I test Sigma conversion / EQL generation, I still see queries using: GET /.ds-logs-*/_eql/search So even though the Elastic alerts are searchable in SOC, Sigma rules do not seem to evaluate those indices. My goal is:
I am trying to understand what the recommended architecture is. My questions:
For example:
I tested adding the index in SOC configuration, but Sigma conversion still appears to target I just want to make sure I am approaching this correctly and not fighting against the intended Security Onion workflow. Thank you again for your help and patience. Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The ability to select the data view/index is something that is being working on for sigma rules. You could write a custom Elastalert rule to target those - https://docs.securityonion.net/en/3/main/elastalert/#custom-rules and https://docs.securityonion.net/en/3/main/elastalert/#custom-rules You would want to use the |
Beta Was this translation helpful? Give feedback.
The ability to select the data view/index is something that is being working on for sigma rules. You could write a custom Elastalert rule to target those - https://docs.securityonion.net/en/3/main/elastalert/#custom-rules and https://docs.securityonion.net/en/3/main/elastalert/#custom-rules You would want to use the
alert modules.so.securityonion-es.SecurityOnionESAlerteryou can see an example in/opt/so/rules/elastalert/rules