Issue Adding Sigma Rules from Local Repo #13910
-
Version2.4.100 Installation MethodSecurity Onion ISO image Descriptionconfiguration Installation TypeDistributed Locationon-prem with Internet access Hardware SpecsExceeds minimum requirements CPU20 RAM64 GB Storage for /2 TB Storage for /nsm12 TB Network Traffic Collectiontap Network Traffic SpeedsLess than 1Gbps StatusYes, all services on all nodes are running OK Salt StatusNo, there are no failures LogsNo, there are no additional clues DetailI am trying to add a private sigma ruleset offered by the DFIR Report. I can use git to pull the repo down to /nsm/rules/detect-sigma/repos/dfir-report/ and I've configured the following line in the admin interface under rule repos according to the documentation here {"community":true,"folder":"rules/rules/sigma","license":"Elastic-2.0","repo":"file:///nsm/rules/detect-sigma/repos/dfir-report"} I think the above is correct (not sure what I should put for license, so I copied the option from the securityonion-resources repo. Note the full path to the rules root folder in my instance is /nsm/rules/detect-sigma/repos/dfir-report/rules/rules/sigma but there are several subfolders. I'm wondering where I may find logs that are generated when doing a full-update on the elastalert rules from the detections interface or if there's anything obviously wrong with this config. Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 32 replies
-
When you say That dir needs to be a git repo. You should be able to run |
Beta Was this translation helpful? Give feedback.
-
Greetings @jstore-embers. Good news! I have found the issue and PR'ed a fix for our next release: Security-Onion-Solutions/securityonion-soc#687 I have also added additional tests to make sure something like this scenario will be caught earlier. Until then, you can search for any of the Sigma rules that don't have author fields and add a placeholder author field and value. That will allow all the rules to import without crashing SOC. Because it is a private ruleset, I will not list the rules here, but there are only 4 of them and you can find them with this:
Thanks again for taking the time to troubleshoot this with me. |
Beta Was this translation helpful? Give feedback.
Greetings @jstore-embers. Good news! I have found the issue and PR'ed a fix for our next release: Security-Onion-Solutions/securityonion-soc#687
I have also added additional tests to make sure something like this scenario will be caught earlier.
Until then, you can search for any of the Sigma rules that don't have author fields and add a placeholder author field and value. That will allow all the rules to import without crashing SOC. Because it is a private ruleset, I will not list the rules here, but there are only 4 of them and you can find them with this:
grep -iLr "author" --include="*.yml" .
Thanks again for taking the time to troubleshoot this with me.