5.3.7 Lab - Introduction To Wireshark - Es XL
5.3.7 Lab - Introduction To Wireshark - Es XL
5.3.7 Lab - Introduction To Wireshark - Es XL
Nombre del curso: Seguridad Informática y Nombre del profesor: Miguel Ángel Gómez
Criptografía Marroquín
Fecha: 06/02/2022
Objetivo:
Part 1: Install and Verify the Mininet Topology
Part 2: Capture and Analyze ICMP Data in Wireshark
Procedimiento y Resultados:
b. At the prompt on Node: H1, enter ip address to verify the IPv4 address and
record the MAC address. Do the same for Node: H2. The IPv4 address and MAC
address are highlighted below for reference.
[root@secOps analyst]# ip address
<output omitted>
2: H1-eth0@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UP group default qlen 1000 link/ether
ba:d4:1d:7b:f3:61 brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet
10.0.0.11/24 brd 10.0.0.255 scope global H1-eth0 valid_lft
forever preferred_lft forever inet6
fe80::b8d4:1dff:fe7b:f361/64 scope link valid_lft forever
preferred_lft forever
In this step, you will examine the data that was generated by the ping requests of
your team member’s PC. Wireshark data is displayed in three sections:
o The top section displays the list of PDU frames captured with a summary of
the IP packet information listed.
o The middle section lists PDU information for the frame selected in the top
part of the screen and separates a captured PDU frame by its protocol
layers.
o The bottom section displays the raw data of each layer. The raw data is
displayed in both hexadecimal and decimal form.
a. On Node: H1, enter wireshark & to start Wireshark (The pop-up warning is not
important for this lab.). Click OK to continue.
[root@secOps]# wireshark &
[1] 1552
[root@secOps ~]#
** (wireshark:1552): WARNING **: Couldn't connect to
accessibility bus: Failed to connect to socket /tmp/dbus-
f0dFz9baYA: Connection refused
Gtk-Message: GtkDialog mapped without a transient parent.
This is discouraged.
Reporte
b. In the Wireshark window, under the Capture heading, select the H1-eth0
interface. Click Start to capture the data traffic.
c. On Node: H1, press the Enter key, if necessary, to get a prompt. Then type ping
-c 5 10.0.0.12 to ping H2 five times. The command option -c specifies the count
or number of pings. The 5 specifies that five pings should be sent. The pings will
all be successful.
[root@secOps analyst]# ping -c 5 10.0.0.12
Reporte
d. Navigate to the Wireshark window, click Stop to stop the packet capture.
f. If necessary, click the first ICMP request PDU frames in the top section of
Wireshark. Notice that the Source column has H1’s IP address, and the
Destination column has H2’s IP address.
Reporte
g. With this PDU frame still selected in the top section, navigate to the middle
section. Click the arrow to the left of the Ethernet II row to view the Destination
and Source MAC addresses.
Reporte
Question:
Note: In the preceding example of a captured ICMP request, ICMP data is encapsulated
inside an IPv4 packet PDU (IPv4 header) which is then encapsulated in an Ethernet II
frame PDU (Ethernet II header) for transmission on the LAN.
You will ping remote hosts (hosts not on the LAN) and examine the generated data
from those pings. You will then determine what is different about this data from the
data examined in Part 1. a. At the mininet prompt, start terminal windows on hosts
H4 and R1.
mininet>
xterm H4
mininet>
xterm R1
b. At the prompt on Node: H4, enter ip address to verify the IPv4 address and
record the MAC address. Do the same for the Node: R1.
Reporte
c. Start a new Wireshark capture on H1 by selecting Capture > Start. You can also
click the Start button or type Ctrl-E Click Continue without Saving to start a
new capture.
d. H4 is a simulated remote server. Ping H4 from H1. The ping should be
successful.
[root@secOps analyst]# ping -c 5 172.16.0.40
e. Review the captured data in Wireshark. Examine the IP and MAC addresses that
you pinged. Notice that the MAC address is for the R1-eth1 interface. List the
destination IP and MAC addresses.
IP address:
172.16.0.40.
MAC address:
8a:1f:e2:23:8b:3d.
Reporte
g. To clean up all the processes that were used by Mininet, enter the sudo mn -c
command at the prompt.
analyst@secOps ~]$
sudo mn -c [sudo]
password for analyst:
*** Removing excess controllers/ofprotocols/ofdatapaths/pings/noxes
killall controller ofprotocol ofdatapath ping nox_core lt-nox_core
ovs-openflowd ovscontroller udpbwtest mnexec ivs 2> /dev/null
killall -9 controller ofprotocol ofdatapath ping nox_core lt-
Reporte
Conclusiones:
Ya he trabajado en materias previas con wireshark, resulta interesante como monitorea el
contacto entre dispositivos remotos, servidores y enrutadores; la advertencia de que el usar este
software podría considerarte una brecha de seguridad en los equipos me deja ver el porque se
utiliza una maquina virtual para no poner en exposición equipos propios o de la escuela si fuese
el caso.
Me parece interesante que la topología se muestre en la terminal y que esta se pueda manipular
y monitorear desde la misma línea de comando, resulta similar a la manera de trabajar con packet
tracer donde los distintos elementos de la terminal se pueden trabajar con terminales individuales
para cada uno, y el que dentro de estas mismas se pueda ejecutar Wireshark facilita mucho el
trabajo de monitorear si tienen una buena comunicación entre ellos y la correcta interacción.