Giter Club home page Giter Club logo

mudgee's Introduction

MUDGEE

Generate MUD Profiles using PCAP.

Prerequisite

  1. LibPcap (install tcpdump)
    Linux: ``apt-get install tcpdump''
    OSX: readily available by default.
    Windows: follow instructions at: https://nmap.org/npcap/
  1. Maven
    Follow instructions at: https://www.baeldung.com/install-maven-on-windows-linux-mac for installation.

Installation

$ git clone https://github.com/ayyoob/mudgee.git
$ cd mudgee
$ mvn clean install

A sample config file is provided in the target directory (i.e. /mudgee/src/main/resources/apps/mud_config.json). Before executing the tool, make sure to declare three parameters including "defaultGatewayConfig", "deviceConfig" and "pcapLocation".

Execute

$ java -jar target/mudgee-1.0.0-SNAPSHOT.jar target/mud_config.json 

After execution, this tool outputs the generated MUD profile into the results directory (i.e. /mudgee/result/)

Configurations

This tool generates MUD profile of a device by analyzing its traffic trace.

A sample config file is provided in /mudgee/src/main/resources/apps/mud_config.json you need to specify three parameters in the config file: "defaultGatewayConfig" (MAC/IPv4/IPv6 addresses), "deviceConfig" (MAC address, name) and "pcapLocation" (file path and name).

"pcapLocation": "/Users/ayyoobhamza/Documents/mud/pcap/0024e42028c6.pcap"

Location/name of the traffic trace.

"deviceConfig":{ "device":"00:24:e4:20:28:c3", "deviceName": "augustdoorbellcam" }

"device": MAC address of the device that we aim to generate the MUD profile for. "deviceName": name that appears in the output MUD profile.

"defaultGatewayConfig": { "macAddress" : "14:cc:20:51:33:ea", "ipAddress": "192.168.1.1", "ipv6Address": "fe80:0:0:0:16cc:20ff:fe51:33ea" }

In order to capture communications between the device and servers on the Internet , our tool requires the default gateway details. Therefore, MAC address and IP addresses of the default gateway are needed to be declared in the config file.

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.