Giter Club home page Giter Club logo

menga's Introduction

Menga

When we download a docker image, and run it as a container, we have no guarantee on its malicious behavior or not. Indeed, docker images are regularly uploaded on public repositories open to everyone. So, an attacker can publish a malicious docker image on a public repository. This image could then be downloaded by a developer or an ops and executed on his infrastructure.

Menga is an application that aims to analyze the behavior of docker containers running on a given infrastructure with the objective of detecting potentially malicious behavior of these containers:

- Illegal or unsolicited network traffic

- Suspicious CPU consumption (crypto-mining)

- Suspicious kernel calls

The project is based on ebpf technology which allows for a wide variety of hook and probe functionality.

V1

Menga logo

Based on probes of https://github.com/iovisor/bcc

Dependencies

 pip3 install bcc, python-docx, cairosvg, Elasticsearch, docker

Cmd Line

Time Based Mode

 sudo python3 menga.py -dt 30 -o result.csv -i alpinetest

Real Time Mode

 sudo python3 menga.py -rt -o result.csv -i alpinetest -u elastic -p changeMe -ip localhost -id menga-network

Menga global architecture

UI

Menga ui

ElasticSearch

Menga kibana dashboard

Contributions

Any help is welcome, feel free to clone and pull request us your modifications.

In case you want to add your sensors it is possible to do so by implementing the Sensor interface and calling it in the sensor_launch.py

Improvements

  • Analyse data to make correlation
  • Finish to implements all the sensors in ui
  • Rewrite Sensors in RedBPF to allow more flexibility

Thank YOU

- Aquarhead 
- Junyeong Jeong
- Frédéric PAILLART

menga's People

Contributors

dunateo avatar jesa974 avatar chipsmiel avatar

Stargazers

david avatar  avatar Junyeong Jeong avatar  avatar

Watchers

Junyeong Jeong avatar  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.