Comments (9)
Should be doable soon. I've had a Golang rule parser sitting around for sometime now not in version control. Sounds like a good idea for the "agent" feature I've been prototyping, which would make this work even if the sensor is on a different machine.
from evebox.
I have also been experimenting with a golang rule parser. Let me know if you need some help/ideas.
from evebox.
If interested, here's my go parser: https://github.com/jasonish/go-idsrules
It doesn't go so far as to validate that rules will actually run, it currently only looks at syntax.
from evebox.
Looks very nice. I will have a look and watch for stuff that I can contribute from my implementation.
I see from tests that you have solved a problem of mine. Am I right, that suricata does in fact allow spaces in the address lists in the net part of the rule contrary to snort?
from evebox.
I see from tests that you have solved a problem of mine. Am I right, that suricata does in fact allow spaces in the address lists in the net part of the rule contrary to snort?
I actually haven't checked Suricata, and my parser doesn't either - the test is to make sure that they fail. Currently I still want to parse valid Snort rules as well. If Suricata can (I should check) then I'll have to go a little farther where you can set a parser flavour.
from evebox.
Edit in last comment.. I haven't checked Suricata yet for allowing spaces.
from evebox.
I checked - suricata does allow blanks for net and port definitions.
from evebox.
It might not help in your use case, but there are now ways to include the rule with the alert...
The evebox server (if also reading events), the evebox agent as well as esimport can all parse a directory of Snort rules and add the rule to the event.
This doesn't help if you are using Logstash/Filebeat or other tools to handle your logs though, so I'll leave this open for now.
from evebox.
Closing for now. As mentioned above the EveBox log readers can also parse rules and add them to events. In the future, Suricata may also include the rule with an alert.
from evebox.
Related Issues (20)
- Systemd file memory error HOT 1
- Comment functionality removed in 0.17 ? HOT 5
- login error HOT 1
- Require username and password by default HOT 1
- Unable to negate a phrase in the query string HOT 2
- SQList Corruption Issues HOT 6
- sqlite/fts: disk space failed to be returned HOT 2
- Fails to import AWS Network Firewall netflow logs HOT 2
- Using additional-fields as filters ? HOT 4
- Rule modification feature HOT 4
- Old events not properly cleared HOT 5
- How to enable login function with SQLite? HOT 10
- Empty events list (No events found) HOT 3
- Add links for rule references
- sensorname filter drop-down HOT 1
- OpenSearch "version_conflict_engine_exception", document already exists HOT 2
- /stats page data is empty HOT 3
- a lot of messages display "Authentication required but no session found." HOT 1
- I want to add 1month range for search.
- Connect to elasticsearch with HTTPS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evebox.