Comments (3)
I guess you mean the python (enrich.py) script instead of 'ruby script'? Ruby is only used for inserting links to URLs visible in Kibana.
The approach you mention was our first thought as well and we have gone down this route in our very first versions of RedELK. However we experienced a series of issues, mainly:
- if the first "metadata" line of CS is not yet available in ES, the lookup will fail. In our testing this happened too much. Afaik this wasnt a resource issue, but an issue when the filebeat-logstash link was down and they were playing catchup.
- There is no way of historically modifying things. If the lookup failed, the grok parsing failed and will keep as failed forever. This really comes to play in the 2nd point of your post, the IP lists. At least in our operations we have increasing knowledge of the different sets of IP addresses. We want those historically changed as well. IP is just an example. We can use enrich.py on other info as well that we like to add during the ops (including other C2 frameworks). It is a great template for historically modifying data.
Now, it has been a time since we looked at his (ES version 5.x), and perhaps things have changed. A solution for the first issue could as well be to start using a setup with Kafka and KSQL. But tbh it does seem a bit as overkill and complex.
Yet at the same time I can imagine that the current enrich.py - although it works - might seem overkill and overly complex as well. It might not give the same level of flexibility we really enjoy if you aren't comfortable with the code...?
Happy with your thoughts and overall happy with you thinking along with the project! Im open for discussion, just wanted to let you know we have looked at this some time ago.
from redelk.
Happy to leave it open for some other time. But if it isn't relevant anymore, I would like to close this one.
from redelk.
I think as per our discussion last time we can close this one. Using the enrich.py instead of logstash queries provides more flexibility (like enriching historical data).
from redelk.
Related Issues (20)
- Help with install HOT 1
- Performance issue with rsync on C2server HOT 1
- Glibc filebeat errors HOT 1
- Implant.log_file not showing c2logs HOT 1
- Issue with dashboards missing "keyword" HOT 2
- Add mising modules in config.py
- Add support for domain lists (similar to IP lists) HOT 1
- Check and clean-up ruby scripts
- Check if all modules in config.py HOT 1
- Check for consistent usage of c2.log.type field HOT 1
- All alarms should report project_name HOT 2
- Greynoise error
- Remove config files from source control HOT 3
- Hybrid Analysis - error handling around max API hits HOT 1
- Hybrid Anlaysis - SSL handshake failure HOT 1
- VT quota management HOT 1
- ES document conflicterrors
- quick dump of small notes and issues
- Cobalt Strike enrichment stacktrace errors
- Add containers to GHCR / Review build pipeline 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 redelk.