Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate enrich.py to modular system #117

Merged
merged 53 commits into from
Apr 8, 2021

Conversation

fastlorenzo
Copy link
Collaborator

@fastlorenzo fastlorenzo commented Nov 17, 2020

  • Enrich CS beacon data
  • Enrich redirector traffic with greynoise
  • Enrich redirector traffic with tor exit nodes
  • Enrich redirector traffic with IP list (iplist_unknown.conf)
  • Enrich redirector traffic with IP list (iplist_redteam.conf)
  • Enrich redirector traffic with IP list (iplist_customer.conf)
  • Enrich redirector traffic with IP list (iplist_alarmed.conf)
  • Enrichment to replace roguedomains.conf => To be done in another PR
  • Test enrich CS beacon data
  • Test enrich redirector traffic with greynoise
  • Test enrich redirector traffic with tor exit nodes
  • Test enrich redirector traffic with IP list (iplist_unknown.conf)
  • Test enrich redirector traffic with IP list (iplist_redteam.conf)
  • Test enrich redirector traffic with IP list (iplist_customer.conf)
  • Test enrich redirector traffic with IP list (iplist_alarmed.conf)
  • redteamdomains.conf => still to decide how to use it => To be done in another PR
  • Remove enrichment for known_testsystems.conf and known_sandboxes.conf
  • Add possibility to enable/disable enrichment modules (via config file)
  • Add possibility to configure run interval for enrichment and alarm modules (via config file)
  • Fix small errors in installer for dev run (don't run certbot in dev)

Fixes #108

@github-actions github-actions bot added docker Related to docker container builds elkserver Related to RedELK server components installer Related to RedELK installers labels Nov 17, 2020
@fastlorenzo
Copy link
Collaborator Author

@MarcOverIP @xychix could you already have a look at the proposed approach?

Regarding the iplist, I would get rid of the iplist config files from /etc/redek and move that to a specific index (iplist).
The different IPs can be then modified via python scripts (alarms, enrichment, Jupyter) or via the Kibana plugin (interface to be created)

@fastlorenzo
Copy link
Collaborator Author

@MarcOverIP @xychix could you already have a look at the proposed approach?

Regarding the iplist, I would get rid of the iplist config files from /etc/redek and move that to a specific index (iplist).
The different IPs can be then modified via python scripts (alarms, enrichment, Jupyter) or via the Kibana plugin (interface to be created)

As discussed, we'll keep the following iplist config files in sync with the related ES index:

  • rogue_useragents.conf
  • iplist_redteam.conf
  • redteamdomains.conf
  • iplist_customer.conf
  • iplist_alarmed.conf

@fastlorenzo fastlorenzo marked this pull request as ready for review March 31, 2021 22:11
@github-actions github-actions bot added the documentation Related to RedELK documentation label Mar 31, 2021
@fastlorenzo
Copy link
Collaborator Author

@MarcOverIP @xychix should be ready to be merged in master \o/

Signed-off-by: fastlorenzo <[email protected]>
Signed-off-by: fastlorenzo <[email protected]>
@MarcOverIP MarcOverIP merged commit 9b3899d into outflanknl:master Apr 8, 2021
@fastlorenzo fastlorenzo deleted the enrich-modules branch April 8, 2021 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Related to docker container builds documentation Related to RedELK documentation elkserver Related to RedELK server components helpers Related to RedELK helper scripts installer Related to RedELK installers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate enrich script to new modular system
2 participants