Giter Site home page Giter Site logo

punitzen / network-analyser Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 52 KB

network analyzer using python (scapy, pandas etc) and wireshark, to analyse pcap files and extract useful information

Python 100.00%
scapy network-analysis pcap-analyzer pandas-dataframe wireshark

network-analyser's Introduction

Network Analyser using python and wireshark

python script to analyse PCAP files, able to extract information about specific IP addresses, guess suspicious IP addresses, able to extract and identify malicious payload and give statistics about top IP addresses, detect reverse shell, used scapy to parse pcap file and pandas to create data frames for statistics, scheduler script to run the script on constant intervals

Usage

~$ python .\network_analyser.py --help

usage: network_analyser.py [-h] --pcap <pcap file name> [--client <client IP:port>] 
                           [--server <server IP:port>] [--packet <packet number>] 
                           [--data_frame <src,dst,sport,dport>] [--stats <num,graph>]
                           [--suspicion <true>] [--payload <get,post>] [--cmd <command injection>]

Network Analyser

optional arguments:
  -h, --help                         show this help message and exit
  --pcap <pcap file name>            pcap file to parse
  --client <client IP:port>          clients IP and port
  --server <server IP:port>          server IP and port
  --packet <1>                       Packet Number
  --data_frame <src,dst,sport,dport> All IP Addresses and Ports
  --stats <num,graph>                Shows Statistics for given pcap file numerical or graphical
  --suspicion <true>                 Investigate for Suspicious IPs
  --payload <get,post>               Payload Investigation for specific protocols, detect reverse shell
  --cmd <command injection>          Check raw payloads for Command Injection

Example

Analyser

python network_analyser.py --pcap <pcap_file_name> --packet 1 --data_frame src,dst,sport,dport --stats num,graph --suspicion true --payload get,post --cmd true

Scheduler

python scheduler.py --pcap <pcap_file_name> --server_ip <server IP>

References

vnetman's blog | Ronald Eddings Article

network-analyser's People

Contributors

punitzen avatar

Stargazers

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