CYBER WELFARE

Protect your Digital Privacy

Checking a download’s fingerprint or signature before you open it, when it does not come from an app store

Lucy has two young children and a phone full of their photos: school plays, birthdays, holidays. A friend recommends a free, open-source program that copies them to an external drive every week. One evening Lucy watches a video about it, and the description has a link: it leads to a file-sharing site offering a “ready-made version” and a big green “Free download” button.

That site is not the project’s own, and the file’s name is slightly different from what she expected. How can Lucy know that the program she is about to install is really the one recommended, not a copy with something extra inside?

This recommendation, R48 of the Cyber Welfare Framework, offers a habit for these moments: learning to check downloaded files that matter, meaning programs, updates and important documents taken from a website rather than an official store. It comes down to three moves: start from the official page, compare the fingerprint or signature when the site publishes them, and listen to the operating system’s warnings. No technical skills are needed, and it is not for every file: only for the ones you open and trust.

What this recommendation says

Recommendation R48 states that when you download a program, an update or an important document from a website, rather than from an official store, you get it from the official page and, if the site publishes a SHA-256 fingerprint or a signature, you compare it before opening the file. If it does not match, you do not open it, and you fetch it again from the official source. And you leave the operating system’s signature checks on, without ignoring their warnings.

A few words first:

  • an official store is the app catalogue built into your phone’s or computer’s system, where programs arrive after some checks. Outside the stores you find many computer programs, drivers (the programs that make printers and other devices work), router and camera software, and many open-source programs;
  • a file’s fingerprint, also called a hash or checksum, is a short code calculated from the file’s contents. Identical files always produce identical fingerprints; change one character and a completely different one comes out. SHA-256 is the calculation method recommended today, and its result is always 64 characters long;
  • a digital signature, in the technical sense, is a seal the developer applies to the file with their own secret key. Anyone can check it with the matching public key: one later change to the file, or a seal made with another key, and the check fails;
  • the operating system’s signature checks are the automatic checks your computer runs when you open a program: who signed it, whether it has been modified, whether it is known to be harmful.

A fingerprint and a signature say different things. If the fingerprint matches, you know the file on your computer equals the one used to produce the published value. You do not know who published that value. A valid signature adds the origin: behind the seal is the holder of that key. Neither, however, tells you the program is harmless: only that it is the one the developer distributed.

One limit, stated honestly. A fingerprint published on the same page you download the file from protects little if the page itself has been tampered with: whoever got hold of the page may have changed both at once. The fingerprint still helps against files damaged in the download and copies swapped on an intermediate server. A signature protects more, because forging it would need the developer’s secret key, which is not on the page.

What it is not. It does not cover the apps you install from stores, which are the subject of the recommendation on checking an app is genuine, nor attachments that arrive by email, the subject of the recommendation on unknown email attachments. Nor is it the browser padlock: the recommendation on browsing only over HTTPS explains that the padlock protects your data in transit, but does not say whether the site is the official one or the file intact. And it is not for every photo or document you download: it is for programs and important files.

A note on words: in law, “signature” also means something else. Under the EU eIDAS Regulation, also part of UK law, a qualified electronic signature is legally equivalent to a handwritten one and is used, among other things, for contracts. Here we mean the technical seal developers put on software.

Where it applies. Computer programs, updates that do not come from the program or the system, drivers, important documents already signed: on your devices and on those of family members you help.

Why it matters

A program you install works with your permissions: it can read your files and go online. If it has been altered, what it does behind the scenes, it does in your name.

Whoever spreads counterfeit programs only needs to be found before the real site. In an alert of 21 December 2022, the FBI described this pattern: paid search adverts at the top of the results that imitate a brand and lead to a copied page, where the download is actually malware, a program designed to cause harm. The FBI’s advice includes this recommendation’s first move: type the official address instead of searching for it.

The fingerprint method matters too. MD5 and SHA-1, two older methods, are no longer enough against deliberate tampering. The CERT Coordination Center at Carnegie Mellon University has considered MD5 “cryptographically broken” since 2008. NIST, the US institute that sets the standards for these algorithms, announced on 15 December 2022 that it was retiring SHA-1, because today’s computing power can build different files with the same fingerprint, and recommends phasing it out by 2030. An MD5 or SHA-1 value can still reveal a damaged download, but is no longer enough against a deliberate swap. SHA-256 belongs to the SHA-2 family, which NIST recommends alongside SHA-3.

Finally, a signature is no absolute guarantee. A CISA and NIST document of April 2021 on software supply chain attacks describes attackers who break into a developer’s systems or get round its signing. Such cases are rare, but they are a reminder that a signature is one extra check, not a seal of quality.

An unchecked file can cost you on three fronts:

  • data read by others: an altered program can collect passwords, documents and photos and send them on;
  • accounts taken over: credentials saved in the browser are among the most common targets;
  • a device to clean up: hours or days of reinstalling, restoring and changing passwords.
Benefit of checking downloaded filesWhy it matters
You start from the official pageYou avoid many of the copies, which live on adverts and lookalike addresses
You compare the SHA-256 fingerprintYou know your copy matches the one described on the site, neither damaged nor swapped on the way
You check the signature, when there is oneYou know who sealed the file, with a key that is not on the page
You listen to the system’s warningsAn automatic check that works even when you are tired
You know when to stopA file that does not match never gets opened

A concrete example

Lucy does not use the link from the video. She looks the program up in an online encyclopaedia, finds the project’s official address there and types it into the browser herself. The download page is plain: next to each file, a line marked “SHA-256” with 64 characters, and a link to a signature file.

She downloads the installer. Before opening it, she calculates the fingerprint with her computer’s built-in tool, following the resource on hash functions and digital signatures. She compares the two values from start to finish, not just the first characters: they match.

Lucy knows that the value and the file come from the same page, so this check does not protect her from a hacked site. That is why she also looks at what the system shows when she opens the installer: the publisher, meaning whoever signed it, is the project, with no warnings. She cannot yet check the separate signature file: to begin with, two checks that agree are enough.

Two weeks later, a pop-up on a music website says her “video player is out of date” and offers an update. Lucy closes it. Programs update from the program itself or from the system, not from a pop-up on a website.

When to apply it

  • When you install a new program on your computer. The most common case, and the one where misleading adverts turn up most.
  • When you download a driver or a device’s software. Printers, cameras, routers: their software often comes from a manufacturer’s site found in a hurry.
  • When a website offers you an update. A pop-up saying “update now” is not how real updates arrive.
  • When you download from a mirror server. Some projects distribute files from several servers, called mirrors: the fingerprint on the official site tells you whether the copy is identical.
  • When you receive an important signed document. Your document reader shows who signed it: look at that name, as well as the result.

How to apply it

  1. Ask whether there is a store. If the program is in your system’s official store, that is often the simplest route, as the recommendation on downloading apps only from official stores explains.
  2. Reach the official page yourself. Type the address you know or use a bookmark or reliable reference; skip sponsored results and links sent by message. The resource on download security: deciding before you install helps you take that pause.
  3. Look for the fingerprint and the signature on the download page. The most common labels are “SHA-256”, “checksum”, “hash” or “signature”. If you only find MD5 or SHA-1, they help against damaged files, not against tampering.
  4. Compare the fingerprint before opening the file. Calculate it on your own computer, without sending the file to online services, and check the whole value, character by character. The steps are in the resource on hash functions and digital signatures.
  5. Check the signature, when there is one. The system often does it for you, showing the publisher’s name when you open the program: check it is the one you expect. Some projects also publish a separate signature file: verifying it is an extra step, useful for the most sensitive programs.
  6. If something does not match, stop. Do not open the file; delete it and fetch a fresh copy from the official page. If it happens again, wait and contact the project through the channels on its site.
  7. Leave the system’s checks switched on. Do not turn off protection to “let a program through”. A warning that a file is unknown, unsigned or modified always deserves a pause.
  8. Update from the program itself. Once installed, the program updates from its own menu or from the system, as the recommendation on keeping your software up to date explains.

The full steps, from prevention to what to do if you have already opened a suspicious file, are in the guide on how to verify a download. What signatures and the system’s checks guarantee, and what they do not, is explained in the post on code signing and operating system checks.

Common mistakes to avoid

  • Trusting the first result. The top of the search may be an advert. Position says nothing about authenticity.
  • Comparing only the first and last characters. That is exactly where a careful copy can resemble the original. Compare the whole value.
  • Believing the padlock is enough. A fake site can have HTTPS too.
  • Reading “valid signature” without reading the name. If the signer is not who you expected, stop: the signature is valid, but someone else’s.
  • Thinking the check makes the program safe. A fingerprint and a signature say the file is the one distributed. Whether the program is useful and trustworthy depends on the source, its track record and your choice.

How this connects to the Cyber Welfare Framework

PillarHow it contributes
SkillsBeing able to find the official page, compare a SHA-256 fingerprint and recognise who signed a program
AwarenessUnderstanding that a fingerprint and a signature answer different questions, and that neither says a program is harmless
Secure BehaviourStopping when something does not match and leaving the system’s checks switched on

Digital maturity levels.

  • FL1 — Basic. You download from the first result and open the file at once. It is the most common behaviour, not a fault.
  • FL2 — Beginner. For important programs you start from the official page, compare the SHA-256 fingerprint when there is one and do not ignore the system’s warnings.
  • FL3 — Autonomous. You do it for every program installed outside the stores, and can tell what a fingerprint proves from what a signature proves.
  • FL4 — Skilled. You also verify separate signature files, check where the public key comes from and know when MD5 or SHA-1 is not enough.
  • FL5 — Expert-Guide. You help family and colleagues make this check a habit, calmly and without frightening them.

R48 is the key step towards FL2.

How to check you are applying it correctly

Three honest questions.

  • The last program you installed on your computer: what convinced you that the page was the right one?
  • Could you say what a matching fingerprint guarantees, and what it does not?
  • What would you do if the system told you the program came from an “unknown publisher”?

Quick checklist

  • ☐ I download important programs from the official page, which I reach myself
  • ☐ I skip sponsored results when I look for a program
  • ☐ When the site publishes a SHA-256 fingerprint, I compare it before opening the file
  • ☐ I read the publisher’s name when the system shows it to me
  • ☐ I do not open a file whose fingerprint does not match
  • ☐ I have left the system’s security checks on
  • ☐ I update programs from the program itself, not from pop-ups on a website

If a box stays empty, you already have your next step. For a more structured measure of your level, take the digital resilience self-assessment.

In short

For programs that matter, taken from outside the stores, three moves are enough: start from the official page, compare the SHA-256 fingerprint or signature when published, and listen to the system’s warnings. If something does not match, the file stays closed.

The fingerprint tells you your copy matches the one the site describes; the signature tells you who sealed it. A fingerprint on the same page protects little if the page has been tampered with, and neither makes a program harmless. Together, though, they close the most common routes.

Keep trying new programs: just know where they come from before letting them in.

Something to think about. Of the programs installed on your computer, for how many could you say which page you downloaded them from?

Explore this recommendation

This recommendation is the pivot of a content unit. Each post looks at a different aspect.

Related resources

Short reads from the Resources section, for anyone who wants to focus on a single aspect:

Start with the first step: the Cyber Welfare Programme guides you free of charge, one recommendation at a time.