intercepting HTTP logins with Wireshark
Capturing and analyzing HTTP POST traffic containing unencrypted credentials.
A captured POST request over HTTP showing clear-text credentials.
In this project, I used Wireshark to capture traffic from my browser and identified login credentials being transmitted in clear text over an insecure HTTP connection.
How It Was Done
- Started a Wireshark capture on Wi-Fi.
- Visited
http://neverssl.comto trigger unencrypted HTTP traffic. - Used the filter
http.request.method == "POST"to isolate form submissions. - Located the POST request containing form data in plain text.
Observations Made:
The captured packet showed:
POST /loginin the Info column- HTTP headers and form fields visible
username=C3A43231426andpass=HMAC%7Bnj5jy6wzgykyj4e7e6swjag9gge%3D%7Dincluded in the body
Anyone on the same network with a packet capture running could read those credentials directly off the wire. No exploit, no tools beyond Wireshark, no decryption required.
The point
Plain HTTP forms are a solved problem. The reason this still matters as an exercise is that the demonstration is faster than the explanation. Read the capture, see the password in cleartext, and the case for HTTPS everywhere makes itself.
Public Wi-Fi, captive portals, anywhere a network is shared with strangers, the threat is exactly this: a passive listener with a default Wireshark filter. HTTPS is what closes the gap. There is no other defence at the protocol level.