
INTRODUCTION
- In this tutorial , we learn how to analyse broadcasting packets with wireshark.
- This tool ( wireshark ) help you out to understand what is going behind the scenes when you just ping .
REQUIREMENTS
- Backtrack 5 r3
- Windows XP
- Wireshark
- Oracle Virtual Box
- Knowledge of Basic networking.
Lets START
- Now open your Backtrack Machine .
- Open terminal and enter ifconfig .
- It show you , your ip address and Mac address .
- See the below example for more help -

OPEN WINDOWS MACHINE
- Same thing as above start windows xp and open command prompt .
- Enter the ipconfig command to view ip address .
- See the below example for more help-

OPEN WIRESHARK
- Now open wireshark .
- Follow the path to open wireshark under Backtrack 5 r3 .
- See the below image for more help -

ENABLE INTERFACE IN WIRESHARK
- Now enable the interface .
- In my case my interface is " eth1 " .
- Click on start . Thats it .

SENDING PING PACKETS
- Now what i am going to do is just sending 4 ping packets to the host 10.0.0.3 .
- Command used : ping -c4 10.0.0.3
- And you can see the reply in the below image .
- Also at the background see that wireshark is capturing the packets like ARP , ICMP , etc .
- See the below example image for more details -

CAPTURED PING PACKETS
- Here you will see different packets captured by the wireshark .
- See the below example image for more understanding that how our 4 ICMP packets look like on wireshark .
- As i mention 1,2,3,4 are the ping packets that i have send from the ip 10.0.0.2 to 10.0.0.3 .
- And also i will captured the Broadcast packet . See on the top of this example image .
- So on the front side packet is look like this on wireshark .
- Lets go inside the packet no .1 which shows the information ( who has 10.0.0.3) .See the below image and move to the next image .

ANALYSE FRAME 1
- Ok so this is the frame 1 . And that broadcast packet from inside look like this .
- To know more see the below example image for the details -

ETHERNET
- This section of this packet tells you about the Mac address .
- So as this was the requesting packet ,we only know only the source MAC address ( backtrack 5 , 10.0.0.2) .
- And About destination we know nothing . As shown in the below example image .

ANALYSE ARP REQUEST
- Now the ARP comes in , what ARP do it request the target to obtain a physical address , for that it broadcast an ARP onto the TCP/IP network.
- Then the host reply with the Mac address.
- See the below example image for more understanding .

NOW PACKETS MOVING FROM 10.0.0.3 ( Windows XP ) to 10.0.0.2 ( Backtrack 5 )
- Now it is coming back with the Mac address.
ANALYSE FRAME 2
- Lets talk about difference .
- The frame is always same but the values are changes like -
- Arrival Time .
- Epoch Time .
- Time delta from previous captured frame .
- Frame Number .
- Frame Length . etc
- See the below example image for more details -

ETHERNET
- Now you can see the difference , now it shows the Destination MAC address .
- See the below example image for more details -

ARP REPLY
- At the end , ARP with full details that who is 10.0.0.3 with mac address as shown in the below example image .
- See the below image for more details -

I hope you will like this turorial .Post you comments on facebook page .
THIS TUTORIAL IS JUST FOR EDUCATIONAL PURPOSE ONLY /-
|
0 comments:
Post a Comment