Giter VIP home page Giter VIP logo

appcoreopc / advanced-wireshark-network-forensics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from netsecexplained/advanced-wireshark-network-forensics

0.0 1.0 0.0 11.21 MB

If you've ever picked up a book on Wireshark or network monitoring, they almost all cover about the same information. They'll show you, "Here's an ARP frame, here's an IP packet, here's a web request..." But what they don't go into is: when you open a Pcap file for the first time, where do you start? What are the things that you look for? And how do you find them? So my goal here is to help you bridge that gap between having a basic understanding of network protocol analyzers, and using them to solve real world problems.

advanced-wireshark-network-forensics's Introduction

Advanced-Wireshark-Network-Forensics

If you've ever picked up a book on Wireshark or network monitoring, they almost all cover about the same information. They'll show you, "Here's an ARP frame, here's an IP packet, here's a web request..." But what they don't go into is: when you open a Pcap file for the first time, where do you start? What are the things that you look for? And how do you find them? So my goal here is to help you bridge that gap between having a basic understanding of network protocol analyzers, and using them to solve real world problems.

For scenario 1.

  1. Where did the user contracted the virus

  2. any malware files captured? If there are, we can generate hash and submit to virustotal.

  3. kinda of calls made to external sources It makes various call. Seems like the ones that responding via Pot 80

  4. did try to propogate No

The commands uses in wireshark

To see traffic from 12.183.1.55 ip.addr == 12.183.1.55

Look for acknowledgement when a SYNC call was made. It should ideally return ACK.

Use the following command on wireshark's filter

ip.addr == 12.183.1.55 && !(tcp.stream == 5) && http.host

Internal network scanned, called

ip.src == 12.183.1.55 && ( ip.addr == 192.168.0.0/16 || ip.addr == 192.168.0.0/16 || ip.addr == 172.16.0.0/12 || ip.addr == 10.0.0.0/8 || ip.dst == 12.0.0.0/8)

Scenario 2

Client network attack.

Denial of service attack against FTP 192.168.56.1

FTP taken offline

Attacking host 192.168.56.101

FTP Server 192.168.56.1

Objective

What causes the spike in FTP traffic?

What type of attack?

See alot or ARP - pretty sure it is port scan going on. Go to Statistic -> Converation

Use the filter = arp.opcode == 2 on wirewhark and hit enter

  • This is to

What are the results of those attacks? What types of attack

See network traffic activities

!(arp)

ARP is Address Resolution protocol which tend to retrieve ips from a dns name.

And verify that, there are various different port number appearing. This is an obvious sign that attacker trying to do a port scan

Acknowledgement that attacker received

tcp.flags == 0x012

You should see SYN, ACK for the following ports :-

21

445

139

135

49154

49152

49155

FTP Attack trace

Use the following command :-

tcp.flags == 0x012 && (tcp.port == 21)

0x012 = SYNC / ACK For more info, please refere to link below :- http://rapid.web.unc.edu/resources/tcp-flag-key/

Look only at FTP

tcp.port == 21

Right click and choose follow stream. We can see attacker trying to use brute force to login

What event took place prior to the FTP Servier being taken offline

Did they get in? Ftp login for success code for login successful is 230

We want to see if the attacker has login successfully.

ftp.response.code == 230

And right click, and then choose 'Follow Stream'. Then click on the 'Srream' drop down button up. You can scroll through different types of network traffic capture data.

advanced-wireshark-network-forensics's People

Contributors

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