4.6.6.5 Lab - Using Wireshark To Examine HTTP and HTTPS Traffic
4.6.6.5 Lab - Using Wireshark To Examine HTTP and HTTPS Traffic
4.6.6.5 Lab - Using Wireshark To Examine HTTP and HTTPS Traffic
Objectives
Part 1: Capture and view HTTP traffic
Part 2: Capture and view HTTPS traffic
Background / Scenario
HyperText Transfer Protocol (HTTP) is an application layer protocol that presents data via a web browser.
With HTTP, there is no safeguard for the exchanged data between two communicating devices.
With HTTPS, encryption is used via a mathematical algorithm. This algorithm hides the true meaning of the
data that is being exchanged. This is done through the use of certificates that can be viewed later in this lab.
Regardless of HTTP or HTTPS, it is only recommended to exchange data with websites that you trust. Just
because a site uses HTTPS does not mean it is a trustworthy site. Threat actors commonly use HTTPS to
hide their activities.
In this lab, you will explore and capture HTTP and HTTPS traffic using Wireshark.
Required Resources
CyberOps Workstation VM
Internet connection
Cisco and/or its affiliates. All rights reserved. Cisco Confidential Page 1 of 7 www.netacad.com
Lab – Using Wireshark to Examine HTTP and HTTPS
Because this website uses HTTP, the traffic is not encrypted. Click the Username field to see the warning
pop up.
e. Enter a username of Admin with a password of Admin and click Login.
f. Close the virtual web browser.
g. Return to the terminal window where tcpdump is running. Enter CTRL+C to stop the packet capture.
Cisco and/or its affiliates. All rights reserved. Cisco Confidential Page 2 of 7 www.netacad.com
Lab – Using Wireshark to Examine HTTP and HTTPS
Cisco and/or its affiliates. All rights reserved. Cisco Confidential Page 3 of 7 www.netacad.com
Lab – Using Wireshark to Examine HTTP and HTTPS
c. Browse through the different HTTP messages and select the POST message.
d. In the lower window, the message is displayed. Expand the HTML Form URL Encoded: application/x-
www-form-urlencoded section.
Cisco and/or its affiliates. All rights reserved. Cisco Confidential Page 4 of 7 www.netacad.com
Lab – Using Wireshark to Examine HTTP and HTTPS
Cisco and/or its affiliates. All rights reserved. Cisco Confidential Page 5 of 7 www.netacad.com
Lab – Using Wireshark to Examine HTTP and HTTPS
a. Click the Filesystem icon on the desktop and browse to the home folder for the user analyst. Open the
httpsdump.pcap file.
b. In the Wireshark application, expand the capture window vertically and then filter by HTTPS traffic via port
443.
Enter tcp.port==443 as a filter, and click Apply.
c. Browse through the different HTTPS messages and select an Application Data message.
Cisco and/or its affiliates. All rights reserved. Cisco Confidential Page 6 of 7 www.netacad.com
Lab – Using Wireshark to Examine HTTP and HTTPS
Reflection
1. What are the advantages of using HTTPS instead of HTTP?
_______________________________________________________________________________________
_______________________________________________________________________________________
2. Are all websites that use HTTPS considered trustworthy?
_______________________________________________________________________________________
_______________________________________________________________________________________
Cisco and/or its affiliates. All rights reserved. Cisco Confidential Page 7 of 7 www.netacad.com