By the end of this lesson you will be able to
- Recognise the warning signs of a fake download page and a misleading button.
- Explain what bundled software is and how to avoid installing it.
- Check a web address and a publisher name before downloading.
- Compute a checksum of a file and compare it with the published one.
- Follow a safe download routine and explain each step.
Many of the problems that people bring to a repair shop started with a download. The program they wanted was real, but the page they got it from was not, or the installer carried extra software they never asked for. Criminals make fake download pages because they know people are in a hurry. In this lesson you will learn what these pages look like and a short routine that protects you. The examples are educational simulations with fictional names; no real company is meant.
Why downloading is risky
When you install a program, you give it the power to run on your computer, often with your approval. A program that is malicious or careless can read your files, show you adverts, slow the computer, or steal passwords. This kind of harmful software is called Malware. The most reliable defence is not a clever tool but a habit: get software only from places you can trust, and check before you click.
Remember the official stores from the last lesson. Software in them has been checked to some degree. Anything you fetch from elsewhere has not. This does not mean that every website is dangerous; it means the checking becomes your job.
Official sites and download portals
An official site is run by the people who make the software. A {{download-portal|download portal}} is a third-party site that collects links to many programs and earns money from adverts. Portals are not always criminal, but they have a weak spot: they may wrap the real program inside their own installer, which adds extras, or they may show adverts designed to look like the download button.
The easiest first check is the web address. A URL has a part called the domain name that tells you who runs the site. Read the domain from the right-hand side of the part before the first single slash. Fakes copy a famous name but put it in a different position, or change one letter.
https://ProtocolEncrypted, but not proof of honestydownloads.Sub-domainA section chosen by the ownerexample.orgDomain: the ownerRead this part first/viewer/getPathA page on that siteRead this figure as text
A web address split into a protocol, a domain and a path, with a note that the domain tells who owns the site.
A fictional address, https://downloads.example.org/viewer/get, broken into parts. The first part, https://, says the connection is encrypted; it does not prove the site is honest. The second part, downloads.example.org, is the domain, and the last two words, example and org, show the owner: example.org. The third part, /viewer/get, is the path to a page on that site. A fake would look like https://example.org.get-viewer.test/viewer, where the real owner is the last words before the first slash, get-viewer.test, not example.org.
Fake buttons and misleading pages
A fake download page often has several big green buttons that say Download, Start or Play, but only one of them, usually small, is the real link. Other buttons are adverts. Fake pages may also claim your computer is infected, or invent countdown timers, to hurry you. A real maker's page is calm. It names the program, the version, the licence and the system it is for.
WARNING: your computer may be at risk! Update now.
[ Download Now (FAST) ]
Viewer 3.1 - free PDF viewer
Download from the publisher's site (small link)
- Marker 1: A portal domain, not the maker's
- Marker 2: Big button: really an advert
- Marker 3: Scare banner to rush you
- Marker 4: The small real link
Read this figure as text
A simulated web page with a large green download button that is an advert, a smaller real link and warning markers.
An educational simulation, not a real page. The browser address is example-free-downloads.test, a download portal rather than the maker. Marker 1 points to the address, a portal domain unrelated to the maker. Marker 2 points to a large flashing green button reading Download Now (FAST), which is actually an advert. Marker 3 points to a banner saying Your computer may be at risk, a scare tactic. Marker 4 points to a small plain link reading Download from the publisher's site, which is the genuine route.
Bundled software
Even a real installer can carry passengers. Bundled software is extra programs packed together with the one you wanted. Some are harmless trials, some change your browser's home page or search engine, and some show adverts all day. A well-behaved installer lets you decline extras with clearly labelled boxes. A poor one hides the choice behind a button called Recommended or Express that quietly accepts everything.
When you run an installer from outside a store, read each screen. Choose Custom or Advanced if offered. Untick extra offers. If you cannot tell what an offer is, decline it. If an installer insists on adding a program you did not ask for, cancel the installation and look for another source.
Publisher names and system warnings
A digital signature is a mark on a program, made with a secret key, that lets the system check who published it and whether it was changed afterwards. On Windows, the prompt that asks whether to allow changes shows a Verified publisher name when a file is signed, and warns about an unknown publisher if not. Windows may also show a blue screen saying “Windows protected your PC”, from a feature called SmartScreen, when a file is unusual or unknown. These warnings are not always right, but they are a reason to stop and check, not to click through.
A signature tells you who made the file, not that the maker is honest. Read the name: it should match the product's maker. On Ubuntu, packages from the official sources are checked by the system, and a file from a website should come with instructions from the maker.
Checking a download with a checksum
Some makers publish a Checksum next to their downloads: a long string of letters and numbers calculated from the file's contents. Change even one tiny part of the file and the string changes completely. You can calculate the checksum of your downloaded copy and compare. If the two strings match exactly, the file is the one the maker published, with no damage and no tampering in transit. If you got the checksum from the same page as the file, a criminal who controls the page could alter both, so the check proves the most when the checksum comes from the maker's own official site.
Here is a safe way to practise on your own computer, using a file that you create yourself, so nothing from the internet is involved. The command mkdir -p ~/practice makes the folder practice if it does not exist. The next command writes the word hello into a file. The command sha256sum then prints the file's checksum, using a method called SHA-256, followed by the file name.
Calculate a checksum of a practice file
mkdir -p ~/practice
echo hello > ~/practice/hello.txt
sha256sum ~/practice/hello.txt- Marker 1: Command: calculate the checksum
- Marker 2: 64-character checksum, then the file name
Read this figure as text
A simulated terminal showing the sha256sum command and its output of a long hash and the file name.
A simulated terminal. Line 1 is the command sha256sum with the file ~/practice/hello.txt. Line 2 is the output: a 64-character string starting 5891b5b5 and ending f6be03, then the file name. Marker 1 points to the command, marker 2 to the 64-character checksum, which is the same every time for the same content, and marker 3 to the file name it belongs to. For the text hello followed by a new line, this checksum is always the same on any computer.
New-Item -ItemType Directory -Force $HOME\practice | Out-Null
Set-Content $HOME\practice\hello.txt "hello"
Get-FileHash $HOME\practice\hello.txtGet-FileHash prints a small table with the algorithm (SHA256 by default), the Hash (a 64-character string) and the file path. The exact string depends on how Windows saves the text, so do not worry if it differs from the one on Ubuntu. What matters is the idea: the same file always gives the same hash, and changing the file changes it.
- Step 1: Store firstApp Center or Store
- Step 2: Find the makerRead the domain
- Step 3: Download thereIgnore ad buttons
- Step 4: CheckName, size, checksum
- Step 5: ScanAntivirus or system
- Step 6: InstallRead each screen
Read this figure as text
A flow of six steps from checking the store first to scanning and then installing the file.
Six steps in order. Step 1: look in the official store first. Step 2: if it is not there, reach the maker's site by searching for the maker's name and reading the domain. Step 3: download from the maker's own page, ignoring big adverts and buttons. Step 4: check the file name and the size and, if the maker gives one, the checksum. Step 5: let your antivirus or the system scan the file. Step 6: install, reading every screen and declining extras.
- Did it come from the official store or the maker's own site?
- YesDoes the publisher name match the maker?
- YesIs there a serious warning, or forced extras?
- YesDo thisClose the installer, re-check the domain and the publisher, and ask someone you trust.
- NoDo thisInstall, read every screen, and look at the installed apps list afterwards.
- NoDo thisClose the installer, re-check the domain and the publisher, and ask someone you trust.
- YesIs there a serious warning, or forced extras?
- NoDo thisDelete the file. A source you cannot confirm is not worth the risk.
- YesDoes the publisher name match the maker?
Read this figure as text
A decision chart that checks the source, the publisher and the warnings before running an installer.
Question 1: did the file come from an official store or the maker's own site? If not, do not run it; delete it. If yes, question 2: does the publisher name in the prompt match the maker? If not, stop and check again. If yes, question 3: does the system show a serious warning, or does the installer insist on extras you did not choose? If yes, stop and look for another source. If no, it is reasonable to install, then check the installed apps list afterwards.
Common mistakes
✖ Instead of: Trusting a site because the address begins with https and shows a padlock.
✔ Do this: The padlock means that the connection is encrypted, not that the owner is honest. Read the domain name.
✖ Instead of: Clicking the biggest green button on a download page.
✔ Do this: It is often an advert. Look for the maker's own link, or use the official store.
✖ Instead of: Clicking Next on every installer screen without reading.
✔ Do this: Read each screen, choose Custom if offered and untick extras you did not ask for.
✖ Instead of: Ignoring a Windows protected your PC or unknown publisher warning.
✔ Do this: Treat it as a reason to stop. Check the source and the publisher before deciding.
If something goes wrong
- The checksum I calculated does not match.
- Check that you compared the whole string and used the same method, such as SHA-256. If it still differs, delete the file and download it again from the maker's official site.
- I already ran an installer and now my browser has a new home page and adverts.
- Open the installed apps list, uninstall recent programs you do not recognise, and reset the browser's settings. A later module explains how to scan for malware.
- Windows says Unknown publisher for a program I trust.
- Some small makers do not sign their files. Check that the file came from their real site, confirm with their website, and only then decide.
- I cannot find the official site of a program.
- Look for the program in the store, or ask a person you trust for the maker's address. If the maker cannot be identified, choose a different program.
Key terms
- Download portal
- A third-party website that collects links to many programs and earns money from adverts, rather than being run by the maker.
- Bundled software
- Extra programs packed together with the one you wanted, often installed unless you decline them.
- Digital signature
- A mark on a file, made with a secret key, that shows who published it and that it has not been changed since.
- Checksum
- A long string calculated from a file's contents that changes completely if even one part of the file changes.
- Malware
- Any software made to harm your device, steal your information or spy on you.
- Domain name
- The readable name of a website, such as example.com.
Practise it for real
Reading is not the same as being able to do it. Complete these on your own computer, then tick only what you have actually done. These ticks are your own honest record: nothing checks them for you.
Judge three addresses and compute a checksum
Part one: for each of these three fictional addresses write who owns the site and whether you would trust it as the maker's page for a program called Viewer: https://viewer.example.org/download, https://example.org.free-viewer.test/download, https://example-viewer-downloads.test/get. Part two: follow the checksum steps for your system to make hello.txt in your practice folder, note its checksum, then add one letter to the file with a text editor and compute it again.
Challenge: write your own safe download checklist
Without looking at the lesson, write a six-line checklist that you would follow before installing any program from the internet. Then compare it with the flow in this lesson. Add anything that you forgot, and keep the checklist near your laptop or as a note in your Documents folder.
Knowledge check
6 questions. You need 80% to pass. Mistakes here are part of learning, and you can retry as often as you like.
Summary
- Get software from the official store first; outside it, the checking is your job.
- The domain name, read before the first single slash, shows who owns a page.
- Fake pages use big buttons, scare banners and hurry; real ones are calm and specific.
- Bundled software hides behind Recommended or Express buttons; choose Custom and untick extras.
- A checksum from the maker's own site lets you prove that a file is unchanged.
Checklist: can you do these?
Marking a lesson as read does not prove you can do it. Skills count as demonstrated when you pass the quiz (not yet) and complete the practical tasks (not yet).
Related lessons
References and further reading
Official sources for details that can change between versions.
- Ubuntu: Verify your download (Ubuntu)
- Get-FileHash command reference (Microsoft)
- Avoid and report tech support scams (Microsoft)