Repository navigation
Replies: 1 comment
|
Thanks a lot for the detailed analysis and the code pointers, very helpful. For now I've disabled the ThreatFox source so the other rulesets sync again. I tried to open a feature request on securityonion-soc, but issues are not enabled on that repository. Could the Security Onion team please consider tracking this as a feature request? Summary of the requested changes, based on the code pointers above:
Today a single malformed rule in a third-party feed blocks all NIDS rule updates for the whole grid, so this would make third-party rulesets much safer to use. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Version
3.4.0
Installation Method
Security Onion ISO image
Description
other (please provide detail below)
Installation Type
Distributed
Location
on-prem with Internet access
Hardware Specs
Meets minimum requirements
CPU
8
RAM
20
Storage for /
98G
Storage for /nsm
191G
Network Traffic Collection
span port
Network Traffic Speeds
Less than 1Gbps
Status
Yes, all services on all nodes are running OK
Salt Status
No, there are no failures
Logs
Yes, there are additional clues in /opt/so/log/ (please provide detail below)
Detail
Summary
When one rule in an enabled third-party ruleset cannot be parsed, SOC aborts the whole Suricata sync. As a result, no ruleset gets updated, including Emerging-Threats, until the upstream file is fixed.
Environment
Error (/opt/so/log/soc/sensoroni-server.log)
The reported line number grows over time (55461 → 55468 → 55484 → 55496) because new IOCs are prepended to the upstream file. It is always the same rule.
Root cause
The upstream ThreatFox rule for IOC 1848687 contains a URL ending with a backslash that is not escaped, so the closing quote is escaped and the string never terminates:
This is an upstream bug, but third-party feeds can contain malformed rules at any time, and right now a single bad rule out of ~70k blocks all NIDS rule updates for the whole grid.
Steps to reproduce
Expected behavior / suggested improvements
skipInvalidRulesper ruleset source.Guidelines
All reactions