I'm learning about sniffing packets in Wireshark. When I enter the password of my wifi and I can start seeing a lot of traffics and I realize that they are all decrypted. But I don't know how these packets are decrypted because different clients have different PTKs and counter mode in ccmp.
For example, I perform a simple MITM between my phone and the router. I think that the HTTP packet that sending from my phone must be encrypted with its AES-CCMP(PTK) at the data link layer but somehow I can capture password from a simple HTTP authorization page through GET request. So how can Wireshark do that?

How does Wireshark decrypt packets while connecting to wifi?
311 Views Asked by AudioBubble At
1
There are 1 best solutions below
Related Questions in ENCRYPTION
- Is TLS enough for client server encryption or if dealing with sensitive data, its better to add ur own encryption also. for example leverage AWS SSM?
- Secure Messaging Implementation in C#
- File splitting and encryption
- Large file processing in the web browser
- Java code of AES/GCM/NoPadding encryption algorithm with authentication tag
- AES-256-CBC encryption returning different result in Python and PHP , HELPPP
- Why are encrypted stored procedures taking a long time to execute in SQL Server 2022?
- Why/How does Apache auto-include "DHE" TLS1.2 ciphers while nginx needs "dhparams" file?
- Encrypt in Single Store and Decrypt in SQL Server
- Is it possible to develop a Transparent Data Encryption(TDE) system on macOS now?
- How can I ensure incremental changes in deciphered messages in Python substitution cipher decoding?
- Getting Error Message as "the input string is not a complete block" while Decryting using AES
- Laravel: How to fix "the MAC is invalid" on local environment
- How to encrypt a string and decrypt it using a password
- Willena's sqlite-jdbc-crypt driver for sqlite3 database encryption
Related Questions in WIFI
- expression 'net.sniff.http.response' did not match any filter
- WiFiNINA with Raspberry Pi Pico SDK
- How to use WiFi and Ethernet at same time?
- how to tell If Device on WLAN are using internet?
- Connect wifi service with dbus-native
- Questions about having emulated Wifi EXACTLY match host wifi in android studio
- Is there a way to gather the SSIDs of the connected networks in the background?
- Pyrad client wifi connection failure
- Is there any way to get the WiFi contention window (CW) min and max value in Linux 80211 subsystem?
- Is that possible to send a file to a zebra printer to print it by a web application on a phone using just WI-FI?
- Fetching Wifi-Scanning location system setting on Android without deprecated functions
- ESP32 (ESP IDF) Fails to change to other STA config (generated by user) at runtime
- OSError: [Errno 1] EPERM connecting to WLAN on Raspberry Pi Pico W
- How to implement DPP (wifi easy connect) with out of band credentials
- Does ESP32 support WiFi Direct?
Related Questions in WIRESHARK
- Python Multicast packet receiver stops receiving multicast packets when computer is connected to WiFi
- Python uses the scapy library to read the wireshark packet capture file and then writes a new file and it cannot be displayed
- Using Winshark to Filter by process/PID
- Microsoft Message Analyzer disable resolving IP address to their domain names a.k.a turn off AutoIP feature
- Why the code shows only the header and footer of xml file?
- I observed that a duplicate request was sent 60 seconds following the first request, yet the browser's devtool displays only a single request
- v2gexi protocol Data parshing from pcap file
- How to force Wireshark's all_field_infos() function gather all the fields?
- How should USB MIDI packets be formatted?
- Strange base64 python decoding
- Wireshark is crashing after printing the result
- Disable ECDHE cipher in SslSocket in .NET Core
- Need IPSEC Pcap format for AH next header with TCP/UDP
- How to extract content disposition in pyshark
- the network packages when use node middleware
Related Questions in WPA
- Calculate PTK with Python of WPA
- push notifications with CURL on PWA application with PHP
- Race condition in WPA3 with SAE connection attempt between Android 14 and IoT access point?
- hostapd_cli chan_switch command
- Saving a wpf treeview to text file
- wpa_supplicant does not roam based on signal strength but on throughput
- How to get "Size(column value) of Total Commit (Process View)" using Microsoft.Windows.EventTracing
- Can use command prompt for wpr
- hostapd eap configuration with Let's Encrypt Certificate
- I need to export complete stack in text file using wpaexporter (Windows Performance Toolkit), but just able to see the root elements
- WPA3 networks not getting saved in wpa_supplicant.conf file using wpa_cli
- Find Missing Element in XML c#
- Whats the minimum and maximum length of WPA3 Personal password?
- how to get device id from flutter web
- FileNotFoundError: [Errno 2] No such file or directory: '/var/run/wpa_supplicant'
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

Sorry for late answer.
HTTP protocol by itself does not support encryption, this means content of the packet can be seen in plain text. For example, webpage http://icanhazip.com uses HTTP protocol, so if you run Wireshark and head over to this website, you can see IP responded by the webpage in the wireshark's "follow TCP stream" window. I run this scenario and posted its picture.
Not all of the pages are on HTTP, and the majority of the websites, nowadays, use HTTPS. HTTPS is HTTP which send its packets with TLS protocol. TLS is responsible for encrypting and sending the HTTP packet. So if you sniff traffic of a website that uses HTTPS, you can't see the content of the request and response. For example, run Wireshark and go to https://icanhazip.com. Here is a picture of it.
In your case, because web page you are visiting (I think you are visiting this page) uses HTTP and not HTTPS, the content of the packets can be seen in the Wireshark, even vital things like authorization information.