Giter VIP home page Giter VIP logo

deepfence / flowmeter Goto Github PK

View Code? Open in Web Editor NEW
1.1K 8.0 195.0 10.53 MB

⭐ ⭐ Use ML to classify flows and packets as benign or malicious. ⭐ ⭐

License: Apache License 2.0

Go 75.45% Jupyter Notebook 10.21% Python 14.24% Makefile 0.11%
forensics-tools machine-learning network-security packet-analyser tcpdump-like infosectools security-tools machine-learning-projects awesome data-science

flowmeter's Introduction

Documentation GitHub license GitHub stars GitHub issues Slack

FlowMeter

FlowMeter is an experimental utility built for analysing and classifing packets by looking at packet headers.

Primary design goals:

FlowMeter aims to:

  • Classify packets and flows as benign or malicious with high true positives (TP) and low false positives (FP).
  • Use the labeled data to reduce amount of traffic requiring deeper analysis.

Additionally, Deepfence FlowMeter also categorizes packets into flows and shows a rich ensemble of flow data and statistics.

Flowmeter-flows
FlowMeter takes packets and returns file with statistics of flows.
Flowmeter-flowsClassification
Flowmeter takes packets and returns file with statistics of flows and classifies packets as benign or malicious.

When to use FLowMeter

Use FlowMeter if you wish to build and operate machine-learning models on network packet data.

Quick Start

For full instructions, refer to the FlowMeter Documentation.

FlowMeter QuickStart

Who uses FlowMeter?

  • We use FlowMeter internally to quickly analyse and label packets. It forms one part of a project to build a fast pre-filter for packets before we conduct deeper layer-7 analysis in Deepfence ThreatMapper.

Get in touch

Thank you for using FlowMeter.

  • Start with the documentation
  • Got a question, need some help? Find the Deepfence team on Slack
  • GitHub issues Got a feature request or found a bug? Raise an issue
  • productsecurity at deepfence dot io: Found a security issue? Share it in confidence
  • Find out more at deepfence.io

Security and Support

For any security-related issues in the FlowMeter project, contact productsecurity at deepfence dot io.

Please file GitHub issues as needed, and join the Deepfence Community Slack channel.

License

The Deepfence FlowMeter project (this repository) is offered under the Apache2 license.

Contributions to Deepfence FlowMeter project are similarly accepted under the Apache2 license, as per GitHub's inbound=outbound policy.

flowmeter's People

Contributors

fariz7154 avatar ibreakthecloud avatar noboruma avatar ogarrett avatar prathu122 avatar ramanan-ravi avatar raysofani avatar sidd0529 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flowmeter's Issues

cannot import name 'plot_confusion_matrix'

When am attempting to run below command
python3 Deepfence_ML_flowmeter.py
to generate ML parameters and classify packets, I am receiving this error:
File "/home/batool/FlowMeter/assets/Deepfence_ML_flowmeter.py", line 24, in <module> from sklearn.metrics import ( ImportError: cannot import name 'plot_confusion_matrix' from 'sklearn.metrics' (/home/batool/.local/lib/python3.10/site-packages/sklearn/metrics/__init__.py)

How can I fix it please?

Error decoding some part of the packet

I used flowmeter with recent pcap files from CIC but I always I get this errors and no csv file created

Error decoding some part of the packet:Packet decoding error: Layer type not currently supported 
Error decoding some part of the packet:Packet decoding error: Unable to decode EthernetType 3 

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.