Ethical › Module 8 › Lesson 3
Why HTTPS and VPNs Change the Picture
Encrypted payloads vs metadata. Carry Topic 8 TLS.
Visual · https_vpn_payload_metadata
TLS hides HTTP payload (GET, cookies, body). Metadata can remain (IPs, ports, sizes, sometimes names). A VPN moves who sees the path — it does not replace HTTPS.
Opening
TLS hides the letter. Metadata can still show the envelope. A VPN changes which clerk holds the envelope — it is not a new padlock to the website.
Lesson 1 said cleartext volunteers the request; TLS hides the payload. Lesson 2 said ARP poison is a local steering risk, not a homework weapon. This lesson is the picture that makes sniffing talks honest: encryption of application data (Topic 8 TLS / HTTPS) is what stops a allowed-on-path observer from reading GET /login, cookies, and passwords. What often remains is metadata: which IPs talked, which ports, how long, how many bytes, and sometimes the hostname (DNS, SNI) unless those channels are encrypted too. A VPN adds a hop: your device to a VPN server, then onward. The café may see a tunnel instead of a clear list of inner sites. The VPN operator may see destinations. The website still needs HTTPS or the depot can read the letter. This is ORIGINAL Cyberlium teaching mapped to the CEH v13 sniffing domain — not official EC-Council training, not a cert, not exam dumps. You will not intercept anyone else’s TLS, install a fake CA, or MITM a roommate. You will write https-vpn-notes.txt, chmod 600. Next is the only capture lab: YOUR http.server on 127.0.0.1, YOUR curl, YOUR request line.
1. Encrypted payload: the sniffer should not get the GET, cookie, or password
Carry Topic 8 into this module without rerunning the whole handshake lab. TLS 1.3 agrees on session keys after ClientHello / ServerHello and certificate checks; then HTTP rides inside as application data. HTTPS is that pairing. An observer who is allowed to see the path — YOUR debug capture, a network you own — should see TLS records, not “POST /login” in readable ASCII. That is why leftover http:// on a service you control is a finding: you volunteered the letter. That is why this course will not teach TLS interception. Decrypting other people’s HTTPS is not a Cyberlium lab. Prefer HTTPS on everything you run. That is the fix sniffing lectures were always circling.
The padlock is still not an honesty medal for the shop. Topic 8 already said a phishing site can have a valid certificate for a look-alike name. Encryption hides the payload to that name. It does not prove the name is the bank you meant. Sniffing does not change that. If you type a password into the wrong hostname, TLS will encrypt the mistake. Module 8’s job is narrower: on a path you are allowed to observe, ciphertext means the sniffer lost the letter. Cleartext means you should have turned TLS on.
Command guide
Encrypted payload — WHAT/WHY (sniffer should miss GET/cookie)
═══ INSTALL ═══
Linux (Debian/Ubuntu):
Command — copy this
sudo apt install curl
macOS: Built-in
Windows: Built-in (PowerShell: Invoke-WebRequest)
═══ COMMANDS ═══
Command — copy this
curl -sS -m 8 -vI "https://example.com/" 2>&1 | grep -iE "SSL connection|TLS|HTTP/" | head -n 20
2. Metadata can remain: IPs, ports, sizes, timing — sometimes names
Encryption of the HTTP body does not erase the fact of a conversation. Packet sizes and timing can leak coarse patterns. IP addresses name endpoints. Port 443 is a strong hint of HTTPS. DNS queries in cleartext still name sites. Server Name Indication (SNI) in ClientHello often still carries the hostname you asked for unless Encrypted Client Hello is in play. Encrypted DNS (DoT/DoH) and ECH shrink those leaks; they do not magically delete IP-layer neighbors. Write this as two columns in your notes: payload (hidden by TLS) versus metadata (may still be visible to someone allowed on the path). Do not capture a café to “prove” the metadata column with other people’s names.
Defenders who own a network still look at metadata: which of MY hosts talked to which destinations, unexpected volumes, leftover port 80. That is operations, with authorization. Collecting a stranger’s SNI list on hotel Wi-Fi is still sniffing other people. The literacy is the split. The ethics line did not move from Lesson 1.
Command guide
Metadata can remain — WHAT/WHY (IPs, ports, sizes)
═══ INSTALL ═══
Linux (Debian/Ubuntu):
Command — copy this
sudo apt install curl
macOS: Built-in
Windows: Built-in (PowerShell: Invoke-WebRequest)
═══ COMMANDS ═══
Command — copy this
' https://example.com/
curl -sS -m 8 -o /dev/null -w 'remote_ip=%{remote_ip} port=%{remote_port} size=%{size_download} time=%{time_total}
' https://example.com/Command — copy this
cat >> "$NOTES" << 'EOF' payload: GET/cookie/password should be inside TLS metadata: IPs, ports, sizes, timing may remain EOF
3. VPNs move the observer — they do not replace end-to-end HTTPS
Without a VPN, packets hit the local gateway (home router or café AP), then an ISP, then the internet. A VPN wraps inner packets so the local path mostly sees an encrypted blob to the VPN server. Inner destinations unpack at that server. You shifted trust: the café lost a clear inner map; the VPN vendor gained destination IPs, timing, and — if the inner site is not HTTPS — even content. WireGuard versus OpenVPN is a protocol choice. It does not change the trust shift. A kill switch is a local rule so a dropped tunnel does not leak inner destinations onto raw Wi-Fi. Split tunneling is a leak by design for apps you left outside.
HTTPS still matters inside the tunnel. The VPN hop is not end-to-end with the website. Think armored truck to a depot: depot staff can see where the next leg goes; TLS is the sealed letter the website opens. A VPN is not antivirus, not a phishing shield, not a new identity at login, and not a license to capture café guests “to test their tunnels.” Free sketchy VPN apps with huge permission lists are often logging businesses. Using a VPN to break the law is still breaking the law. In this module, the VPN sentence is only: it can hide inner destinations from a local observer; it does not replace Topic 8 TLS; it does not authorize sniffing other people.
4. Wrong vs right: café decrypt theater vs payload vs metadata literacy
Worked failure — confusing “I cannot read HTTPS” with “I may intercept it anyway.” Right never installs a fake CA against a roommate.
Wrong
Skip HTTPS because “I use a VPN.” Intercept TLS with a fake CA on a shared network. Capture café SNI lists to prove metadata. MITM a roommate to “see the difference.” Call the VPN an invisibility cloak and an antivirus. This course is not official CEH training and does not grade that theater.
Right
Two columns: TLS hides payload (GET, cookies, body); metadata (IPs, ports, sizes, sometimes names) can remain. VPN moves who sees the path; HTTPS still required end-to-end. Fill https-vpn-notes.txt, chmod 600. No café capture. No fake CA. Next: lab — YOUR http.server on 127.0.0.1.
5. Hands-on: lock https-vpn-notes.txt — two columns, no intercept kit
Fill the notes on a computer you own. Optional literacy: in a browser YOU control, open https://example.com and write “padlock present; I did not capture anyone else.” Do not run a proxy that breaks TLS. Do not tcpdump the café to fill the metadata column. chmod 600.
Mission: https-vpn-notes.txt — payload vs metadata, chmod 600
1) Two columns: TLS hides HTTP payload; metadata (IPs, ports, sizes, sometimes names) can remain. Carry Topic 8. 2) VPN sentence: local observer may lose the inner map; VPN operator may gain it; HTTPS still required end-to-end. 3) Fill $HOME/cyberlium-lab/https-vpn-notes.txt and chmod 600. No café capture. No fake CA. No roommate MITM.
Stuck? Ask Cyberlium AI Mentor
If “VPN means I can skip HTTPS and sniff the café to compare” still feels true, ask for a hint — not an intercept recipe. Try: "Hint only: why TLS hides the payload but not always metadata, why a VPN does not replace Topic 8 HTTPS, and where locked https-vpn-notes.txt lives?" You still fill the file. No fake CA. No roommate.
You can now split what a sniffer loses (TLS payload) from what may remain (metadata), and you can place a VPN as a trust shift instead of a magic cloak. Encryption on the application path is still the fix. Notes are locked. This is original Cyberlium teaching, not official CEH, not a cert, not dumps. Next — Lab — Capture Localhost HTTP You Started — python http.server bound to 127.0.0.1, curl to loopback, copy YOUR request line. Never café Wireshark. Never tcpdump a roommate.
Knowledge Check
APPLY: An on-path observer is allowed to see YOUR lab traffic to https://example.com. What should they get, and what is the VPN’s job?
Multiple choice
Knowledge Check
APPLY: True or False: A green VPN icon replaces Topic 8 TLS, so you may skip HTTPS and capture café guests to prove the tunnel hides them.
True or False
Knowledge Check
APPLY: Which note pairing matches this lesson’s ethics and hygiene?
Multiple choice
Knowledge Check
APPLY: curl of http://192.168.0.1/ shows a home router login (TP-Link / Netgear / Huawei / "Router Admin"). Is that DEMO in scope as a hacking target?
Multiple choice