Giter Site home page Giter Site logo

network_security_analysis's Introduction

Network Packet Analysis

Packet visualization tool for ports and IP addresses on IPv4

Description

This project visualizes the movement of packets through ports and their corresponding IP addresses via IPv4. As described in Network Security Through Data Analysis: Building Situational Awareness,

Imagine a network is a two-dimensional grid, where the x axis shows your IP addresses and the y-axis shows the ports. The grid will then have k cells, where k is the total number of IP addresses. ... As a rule of thumb, defenders scan vertially and attackers horizontally

cap_convert.py takes in a .cap file and converts it to a suitable csv for the packet_analysis.R to visualize.

example

Getting Started

Dependencies

  • Scapy - Handles packet manipulation
  • Pcap-handler - For .pcap support
  • Pandas - Data manipulation
  • ggplot2 - Visualization

Executing program

  • cap_conver.py
  1. For .cap support, edit the path vairable
PATH = 'path/to/.cap'
  1. Live analysis is also avilable
cap = sniff(count = n) #n = number of packets
  • packet_analysis.R
  1. Provide table.csv pah
PATH = path/to/table.csv

Authors

  • Sean Theisen

Version History

  • 0.1
    • Initial Release

License

This project is licensed under the MIT License

Acknowledgments

Inspiration, code snippets, etc.

network_security_analysis's People

Contributors

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