Lab: Web Privacy and Anonymity
This lab will help you learn more about how to protect your privacy on the Web. Perform the steps below on your personal computer, not your Kali VM on Google Cloud.
Part 1: Check Out Your Data
Several major companies allow you to check out and examine the data they have on file for you. This can be very revealing.
Use this link to learn how to download your data from one or more of the following services:
- Facebook (highly recommended)
- Google (If you use Gmail or Google Drive, note that downloads can be large)
Alternatively, see the links below to download your data from these companies:
If you aren’t a customer for any of the above companies, try to check out your data for another company you use.
Part 2: Blocking Web Trackers
Although ad trackers are seemingly everywhere on the Web, the good news is that the newest versions of several major web browsers–such as Firefox, Brave, and Safari for Apple devices–have built-in privacy protections.
For this section of the lab, you’ll configure Firefox on your laptop to block and examine web trackers of various kinds.
- Watch this one-minute video about the new privacy protections in Firefox 70.
- Download the latest version of Firefox. If you already have Firefox installed on your laptop, check to see that you have Firefox 70 or later installed.
- On a Mac, go to the Firefox menu and select “About Firefox.”
- On Windows, go to the “Help” menu and select “About Firefox.”
After the update downloads, click the “Restart to update Firefox” button.
- Turn on fingerprint blocking.
- Open Firefox preferences by clicking the icon with three horizontal lines (the so-called “hamburger” icon) in the top-right-hand corner of Firefox.
- Select “Privacy & Security”
- Under “Enhanced Tracking Protection,” select “Custom,” and make sure that all four boxes are checked (“cookies,” “Tracking content,” “Cryptominers,” and “Fingerprinters”.
Use Ghostery to Learn about Web Trackers
Firefox now blocks third-party cookies and fingerprinting techniques. However, to get more information about web trackers, you’ll next install Ghostery, a browser extension that blocks ads and trackers.
- Visit https://www.ghostery.com/products/ and install the Ghostery extension in Firefox.
- Choose the free basic plan.
- In “Customize Setup,” select “Block Everything” and click the “Next” button. Uncheck the box for sending anonymous analytics to Ghostery.
- Browse to your favorite sites and click the Ghostery icon after each page load. Which of your favorite sites uses the most web trackers?
Click on the Ghostery icon and select the “Detailed View” tab. Click on the struck-through name of an add tracker and click the “Continue to full tracker profile” to learn more about the ad tracker (see figure below).
Part 3: Browser Fingerprinting
Visit https://panopticlick.eff.org and test your browser.Question: Is your browser blocking tracking ads?Question: Is your browser blocking invisible trackers?Question: Does your browser unblock 3rd parties that promise to honor Do Not Track?Question: Does your browser protect against fingerprinting?
Click on the link, “Show full results for fingerprinting.” Look over the browser characteristics and how many bits of identifying information each one provides.
Note: The bits of identifying information means that your browser can be uniquely identified out of a set of 2^bits of identifying information. A lower score is better, because it means that you can be less precisely identified. For example:
“We observe that the distribution of our finger- print contains at least 18.1 bits of entropy, meaning that if we pick a browser at random, at best we expect that only one in 286,777 other browsers will share its fingerprint. Among browsers that support Flash or Java, the situation is worse, with the average browser carrying at least 18.8 bits of identifying information. 94.2% of browsers with Flash or Java were unique in our sample.”Question: How many bits of information does Panopticlick report for your browser?
Part 4: Anonymous Web Browsing
- Go to http://whatismyip.com/ and note your IP address.
- Turn on your browser’s privacy mode (e.g., “Incognito Mode” in Chrome, “Private Browsing” in Firefox and Safari).
Go to http://whatismyip.com/ again and note your IP address.
Note that your IP address didn’t change. Why not?Question: If your true IP address can still be seen by web servers, what does your browser\’s privacy mode do? (Ask the internet if you're not sure.)
Run the Tor Browser (install if necessary) available for Linux, Mac, and Windows here.
Note: You can't download or use Tor Browser on Temple University's campus unless you use a VPN service. For this part of the lab, use the Tor browser from an off-campus network.
Note: If you’re using a Mac and MacOS refuses to open the Tor Browser app because it is from an unknown developer, hold the control key and right-click the Tor Browser app and then select “open.” This will create an exception for the Tor Browser app and open it.
Reload http://whatismyip.com/ inside of the Tor Browser and verify that your IP address has changed.
Determine your IP address using three different websites (e.g., https://www.whatismyip.com/, http://www.whatsmyip.org, and https://whatismyipaddress.com/). Note what IP addresses each site reports for your browser.
Look up the location of each IP address you noted in step 6 using a service like https://www.wolframalpha.com/.Question: To which parts of the world do the IPs you noted in step 6 belong?
Read the about how to use Tor effectively: https://www.torproject.org/download/download-easy.html#warning
Tor also provides the functionality of a server only being accessible via the Tor network. This is what is known colloquially as “the dark web.” While it’s true that there are many sites providing illegal services on the dark web, there are also legitimate uses for the dark web as well.
Read this short article about the dark web:
Access the legitimate TOR services using the Tor browser:
- The New York Times:
- ProPublica (non-profit news site):
- The Federalist Papers (originally published pseudonymously in 1787–1788):
- The Washington Post’s SecureDrop site for whistleblowers:
SecureDrop uses the Tor network to allow whistleblowers to securely share information with the news media:
Note: If you’re interested in how SecureDrop works, see here: https://securedrop.org/faq
- Visit the Duck Duck Go TOR service search engine, and search for something:
- If you have a Facebook account, access Facebook using their TOR service:
Note: Facebook says that as of April 2016, more than 1 million people access Facebook via Tor
Try to load the same URL in a browser other than the Tor Browser.Question: What error message do you receive?