Git Product home page Git Product logo

netplier's Introduction

NetPlier

NetPlier is a tool for binary protocol reverse engineering. It takes network traces as input and infer the keywork by multiple sequence alignment and probabilistic inference. Please find the details in our paper: NETPLIER: Probabilistic Network Protocol Reverse Engineering from Message Traces.

Installation

  • Install dependencies (python 3.6 or higher):
$ pip install -r requirements.txt

Usage

Run NetPlier with the following command:

$ python main.py -i INPUT_FILE_PATH -o OUTPUT_DIR -t PROTOCOL_TYPE [Other Options]

e.g.:

$ python netplier/main.py -i data/dhcp_100.pcap -o tmp/dhcp -t dhcp 

Arguments:

  • -i, --input: the filepath of input trace (required)
  • -o, --output_dir: the folder for output files (default: tmp/)
  • -t, --type: the type of the test protocol (for generating the ground truth)
    currently it supports dhcp, dnp3, icmp, modbus, ntp, smb, smb2, tftp, zeroaccess
  • -l, --layer: the layer of the protocol (default: 5)
    for the network layer protocol (e.g., icmp), it should be 3
  • -m, --mafft: the alignment mode of mafft, including ginsi(default), linsi, einsi
    refer to mafft for detailed features of each mode
  • -mt, --multithread: using multithreading for alignment (default: False)

netplier's People

Contributors

netplier-tool avatar yapengye 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.