I treated myself as a bystander and grabbed public WiFi, but there were only three things I did naked

Last week while waiting for the train at the high-speed rail station, my phone signal was down to just one bar, so I conveniently connected to the free WiFi in the waiting hall. A young man nearby glanced at me: "Bro, you dare to connect this net? Sitting next to me is someone who knows the trade; he knows everything you do."
I didn't argue at the time, but actually did something at home: I connected my old laptop to the same local network and played the role of the 'knowledgeable bystander,' checking the other computer's normal internet activity. To get straight to the point—he couldn't see my password, nor what I was talking about, but there were three things that were blatantly exposed. Say each one one of those three.
Let's put our minds at ease: HTTPS locks
down the most critical layer. To be fair,public WiFi is not as scary as the rumors say.
In recent years, almost all websites have switched to HTTPS. The line between you and the website is encrypted, and the ciphertext caught by bystanders is just a string of garbled text—the bank card password you entered, WeChat chat content, and the session credentials after login, all of which he couldn't touch through this lock. Previously, I wrote an article explaining the difference between http and https > So the saying "if you link to the public WiFi password, you'll be stolen" is basically an outdated threat by 2026. If you really want to steal your password, you'll have to find other methods, as we'll discuss in the fifth section.
But—the lock only locked the "content of the letter." What was written on the envelope, who it was to, when it was sent—all of this was publicly displayed. These are the three things that make it streaked.
First: You ask someone, which means that before opening a website for citywide broadcasting
, the computer must first ask the DNS for 'What is the house number corresponding to this domain?' This Q&A uses UDP port 53 and is not encrypted. Observers on the same network don't use any high-end tools; if they catch this packet, the domain name is printed directly in the message.
I did an experiment using my own domain name. Yes www.shunot.com Initiate a DNS query to extract the problem segment from the packet. The hexadecimal system looks like this:
03 777777 06 7368756e6f74 03 636f6d 00
Looks garbled? The first 03 is the length, followed by three characters www; Then 06 is the length, followed by six characters of shunot; Then 03 brings com. Each domain segment has a byte length tag at the front, and the rest are plaintext ASCII. Bystanders don't even need to parse; they can read all printable characters in the message together and directly get .www.shunot.com
What does this mean: what websites you browse in a coffee shop, which apps you use (many apps have domain names that you can tell whose brand they belong to), or what sites you don't want to know about late at night—everyone on the same network can see the list. He doesn't know the content, but the 'where you went' signpost is public.
There are also methods to address this; just encrypt this question as well. Enable encrypted DNS on your phone: For Android 9.0 and above, search for "Private DNS" in settings and enter dot.pub; On an iPhone, use the browser's secure DNS or install a description file. I have written about this in this article on encrypted DNS and will not elaborate here. Once enabled, bystanders only see a pile of encrypted messages when searching for DNS packets, making the process of asking for directions private.
Second: The first shout of a handshake is to run around with your name
on the street.Even if DNS is encrypted, there's still one thing you can't hide. The first step in an HTTPS handshake is to send a ClientHello packet containing an item called SNI (Server Name Indicator)—basically before entering the building, shouting to the gatekeeper, "I'm looking for www.shunot.com Master Zhang!" This voice was plaintext, because the other server's server needed it to know which certificate to submit.
When I tested it, I counted it—the first packet of this handshake was only 248 bytes, and it contained the complete domain name I was looking for. For onlookers, this is as easy to recognize as DNS queries: grab the handbag, find plaintext segments, and get the domain again.
Therefore, DNS encryption can block "asking for directions," but it cannot stop "shouting names." When both layers are exposed, the information is actually redundant; After DNS encryption, SNI became the main loophole. The industry is aware of this; the new ECH (Encrypted Client Hello) technology is designed for this purpose. Cloudflare and Firefox already work with it, but widespread adoption in domestic network environments will still take time.
For ordinary people, there's no good way to deal with this, nor do they really need it—knowing "where I go online, others can know which domain names I'm linking to" is more important than precaution itself. If you really care, cut traffic when it's sensitive.
Third: Websites still running http, with the envelope and cover completely exposed
.The first two are 'information on the envelope.' The third thing is tougher: there are still websites that haven't run HTTPS, just running pure HTTP. When you open this site on public WiFi, bystanders see not just who you're connecting to, but everything—which page you requested, what parameters you brought, what content the server replied to.
I used example.com to make a demonstration (this is a standard plaintext HTTP test site). The requested request looks like this:
GET / HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0
This is the original text the bystander reads in the link, word for word. The server's response header clearly states whether it uses Cloudflare's cache and which node it hit this time. If such plaintext sites include a login box, then the account and password are written directly on the letter and uploaded.
Fortunately, now the browser's address bar will prompt you: a pure HTTP site shows the words "Unsecure." My habit is simple—when I see a page that says 'Not Secure' and asks me to enter a password, I just close it. I've mentioned this before, so I'll repeat it here: just glance at the lock icon, then enter the password and it's not a bad idea.
By the way, there's a small note: traffic profile. Even if you cure the first two, the "words" about when, which IP, and how much traffic you talk to are still visible. At 3 a.m., a high-traffic connection ran for forty minutes. The content was unclear, but the matter itself was obvious. There's no way to defend against this, just know it.
Three more proactive moves than just "watching" are the ones you really need to guard against
. What I mentioned earlier is all passive bystanding. When public WiFi really has problems, it's usually someone who has set it up first. There are usually just three common tricks.
The first trick: fake hotspot twins. The attacker also opened a hotspot called "Starbucks-Free-WiFi," which matched the official hotspot name you might expect. If your phone remembers this name, it automatically connects — I've written about the logic of WiFi search on phones before, asking by name, see how does the phone find nearby WiFi? If the name is the same, you mistake someone for the wrong person. Defense: Turn off 'Auto-join Open Network' and verify the name on the store's sign character by character when connecting to public hotspots.
The second trick: fake login pages. After connecting, a "Enter phone number for verification" page pops up, which looks exactly like the carrier's authentication page. If you hand over your phone number and verification code, they will immediately reset your account. The real carrier authentication page only asks for a phone number to receive a verification code, never asking you to enter a password. Any public WiFi pop-up asking you to enter a password is always fake.
The third trick is to let traffic bypass his home. On the same local area network, attackers can trick your computer into thinking "I am the gateway," channeling your traffic to their own machine first before sending it out. This is ARP spoofing. I explained the principle in the article ARP — arp -a shows that if the gateway's MAC overlaps with others', it means it's infected. HTTPS ensures it can't change the content, but it can "downgrade": secretly switch your HTTPS request back to the HTTP version (many websites have both http and https enabled), and the content will be accessible again. So if you see your browser suddenly change from a green lock to 'Not Secure,' don't take it lightly—disconnect immediately.
Self-protection checklist and two details that ninety percent of people don't know
.After saying so much, there are just a few actions I can do, so I'll rank them by how comfortable they are:
| does | this action block? | |
|---|---|---|
| Address bar shows "Not secure" and does not enter plaintext password | ;HTTP bare run, fake login page | zero |
| opens private DNS / browser secure DNS | DNS DNS navigationlist | Zero, set it up all at |
| turn off 'Auto Join Open Network', | fakehotspot twins, | connect to hotspots, tap multiple |
| data | andconsume all | |
| exit the certificate alert page directly | Intermediaries forged | certificates zero |
Let's talk about two more details. One is computer sharing: Windows divides the network into "dedicated" and "public" configurations. In dedicated configurations, your folders and printer are shared across the same network. At home, it's convenient; at a café, you can browse the whole store. When connecting to public WiFi, check the settings to see if the current network is "public"; if not, just switch it manually. Another is certificates: any pop-up prompt that says you need to "install a certificate" to access the internet, don't install it—the certificate is like a copy of your home key; once installed, fake websites are "trusted" in your browser, and the green lock will light up. I wrote about this in the article certificate chain. Back in 12306, when people nationwide were allowed to install certificates, this was the very opening they used.
And there's another counterintuitive thing: if public WiFi has 'AP isolation,' it's not that the merchant is being stingy—they're protecting you. With isolation enabled, devices on the same network can't see each other, and the bystander's catch-and-catch scheme is completely ruined. I wrote about the AP isolation. When I cast it at home, it can't be found, which is a hassle; Opening a coffee shop is a good deed. The same thing, two scenes, two reviews.
To wrap it up: public WiFi isn't as scary as the rumors say—HTTPS has blocked the most critical part. The remaining three naked things—who you asked, shouted to someone, and the plaintext site—knowing they existed, you already beat that young man who tried to scare me. If you really need something important, cut traffic and end it all.
