Giter Site home page Giter Site logo

maldefender-python-server's Introduction

Maldefender - Python server

Here on the server side, the PCAP file is input into an open-source network traffic feature extractor tool, provided by the Canadian Institute called the CICFlowMeter. The tool extracts the needed features from the PCAP and converts them into a CSV format. This is necessary to ensure that the ML model input has the same format as the dataset it has dealt with previously. Whenever the machine learning algorithm finishes classifying the network traffic, the result of classification will be sent to the application through OneSignal. It’s a service that enables push notifications on Android. The OneSignal will generate a unique ID for each client. Through the Rest API, the assigned unique ID in addition to the PCAP file is sent from the application to the server through POST. Moreover, the server will be able to handle multiple clients at the same time through threading. Whenever the server gets a new connection request from any application on any Android device, it will handle the new request by opening a new thread. This will allow multiple clients to access the application at the same time. However, a maximum of 10 threads was limited on the server; this is due to two reasons, one is that the server has limited resources that can’t handle more threads than that, and the other is that this would inhibit a Denial of Service (DoS) attack, where continuous scanning requests are sent to the server in order to bring it down.

maldefender-python-server's People

Contributors

alotaibi1217 avatar

Watchers

 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.