Giter VIP home page Giter VIP logo

visual_tcprecon's Introduction

About:

This is a visual tcp reconstruction tool for pcaps.

The way I generally use this is as follows:

  1. take a packet capture with wireshark
  2. filter the pcap to hosts of interest to get decent size
  3. save as a classic .pcap file
  4. load in visual_tcprecon for data exploration and file extraction

When you load a pcap, it will parse it into communication streams each host:port pair gets it own node. Under this node each leg of the communication will get its own sub node.

each stream is dumped to a single binary file and each block of communication can be highlighted or extracted by clicking on a sub node.

The tool is very handy for looking at binary communication protocols, and has some extra tools for web requests.

it also auto extracts all: dns requests unique ip addresses http web requests

Scripting capabilities:

This application also supports a scripting interface, so that you can walk the nodes, and extract the data from an external C# script. Sample scripts are provided in the ./Visual_TCPRecon/Scripts/ folder.

If you create more handy scripts, please submit them for inclusion in the distro!

Dependancies:

This app has been compiled to run as a 32bit exe. This is required because it uses the 32bit hexed.ocx ActiveX control. On startup the application will detect if this ocx has been registered on your system yet or not. If not, it will automatically register it for you and then should be able to load seamlessly.

Other work:

Another project i stumbled across while looking for dns parsing code is Network Miner. Its open source and written in C#. Looks like its worth checking out too:

http://sourceforge.net/projects/networkminer/files/networkminer/NetworkMiner-1.5/

Credits:

tcpRecon: TCP Session Reconstruction Tool
author : Saar Yahalom, 21 Sep 2007 original: http://www.codeproject.com/Articles/20501/TCP-Session-Reconstruction-Tool license : http://www.codeproject.com/info/cpol10.aspx

dependancies: (included) make sure to run the cmd "regsvr hexed.ocx" (also installed with pdfstreamdumper/sysanalyzer)

PacketDotNet http://sourceforge.net/apps/mediawiki/packetnet/index.php?title=Main_Page SharpPcap http://sourceforge.net/apps/mediawiki/sharppcap/index.php?title=Main_Page

hexed.ocx - https://github.com/dzzie/hexed winpcap http://www.winpcap.org/ whois.exe - Freeware provided courtesy of NirSoft

ReassemblePacket was updated 6.17.2015 with code from Mark Woan's SessionViewer https://github.com/woanware/SessionViewer

Known Bugs:

Sometimes I still get errors parsing packets back into continious data streams. The bug affects both the original stream reassembly code, as well as the updated logic from Woans sessionviewer. It does not happen very often so I am ignoring it for now since that is some pretty complicated logic in there to tinker with.

visual_tcprecon's People

Contributors

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