Giter Site home page Giter Site logo

rurbin3 / dagobah Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 5l1v3r1/dagobah

0.0 1.0 0.0 376 KB

DAGOBAH - open source tool to generate internal threat intelligence, inventory & compliance data from AWS resources.

License: MIT License

Python 100.00%

dagobah's Introduction

DAGOBAH - open source tool to generate internal threat intelligence, inventory & compliance data from AWS resources.

alt text

Dagobah is an open source tool written in python to automate the internal threat intelligence generation, inventory collection and compliance check from different AWS resources. Dagobah collects information and save the state into an elasticsearch index.

Dagobah runs into the a LAMBDA and looks at all the AWS REGIONS, actually collect differents configurations from:

  • EC2
  • VPC
  • ENI
  • SecurityGroups

DAGOBAH GOAL:

  • Add IOC and store them into elasticsearch/s3.
  • Live centralized inventory/config information related to AWS/NON-AWS resources.
  • Automatically evaluate resources against other platforms/analyzers.

AWS services/resources:

  • VPC
  • EC2
  • ENI
  • Security Groups

Non-AWS resources:

  • WAZUH (comming soon)

Code layout:

./
 |- dagobah.py (main control for manual/automated exec)
 |- modules/
             |- collector.py (query collection objects)
             |- iam_aws.py (iam stuff for aws multi account-role)
             |- setup.py (elk setup)
             |- analizer.py (analyzer for add external info to the collector)

How works:

alt text

Ideally a Cloudwatch event is triggered the lambda every XXX with the account, role, and inventory type (all) to collect. The lambda gets the cloudwatch and iterates the accounts/role/inventory to start querying the AWS EC2 API with boto3 (not extra charges for use) and for different resources, an additional analyzer is triggered to get context information like:

  • wazuh information (comming soon)
  • running time EC2
  • security group rule status (open/closed) Each result is stored in the inventory index of elasticsearch.

Future integrations:

  • lambda functions
  • aws elb/nlb
  • dns route53
  • iam / trustadvisor
  • s3 buckets
  • eks/fargate
  • transit-gateways
  • api gateway

dagobah's People

Contributors

stuxend avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.