How does the CIA triad work?

The short answer

The CIA triad is the core model of information security: confidentiality (only authorized people can read the data), integrity (nobody changes or deletes it without permission) and availability (it's there when you need it).

Animated diagram: How does the CIA triad work?

CIA triad

A leaked password, a changed bank balance and a crashed website look like three different problems. Security people file all three under one model, the CIA triad. It has nothing to do with the spy agency. CIA stands for confidentiality, integrity and availability, the three goals that security controls protect.

The US standard FIPS 199 calls them security objectives and says what losing each one means. A loss of confidentiality is the unauthorized disclosure of information. A loss of integrity is the unauthorized modification or destruction of information. A loss of availability is the disruption of access to or use of information or an information system.

What each goal protects

Confidentiality means only authorized people can read the data. NIST defines it as “preserving authorized restrictions on information access and disclosure”, and that includes protecting personal privacy. Encryption and access control are the usual tools.

Integrity means nobody changed or deleted the data without permission. NIST’s definition also covers authenticity and non-repudiation: you can tell where the data came from, and the sender can’t deny it later. Hashes and digital signatures reveal tampering.

Availability means “ensuring timely and reliable access to and use of information”. Backups and redundancy are classic ways to protect it.

How a hash check reveals a change

  1. Save a fingerprint. sha256sum report.pdf > report.pdf.sha256 stores the file’s SHA-256 hash.
  2. Check it later. sha256sum -c report.pdf.sha256 prints report.pdf: OK while the file is unchanged.
  3. Spot the change. After someone edits the file, the same check prints report.pdf: FAILED and warns that a computed checksum did not match.
  4. Keep the reference safe. A hash only proves something if the saved hash can be trusted. Someone who can edit the file may also rewrite the .sha256 file, so the reference is stored separately or signed.

A failed check tells you the file changed. It doesn’t tell you who changed it or why. Accidental corruption fails the check too.

Ransomware can break all three

Take ransomware. It encrypts your files, so they’re unusable and availability is gone. The files were also changed without permission, which is why NIST’s ransomware guide, SP 1800-26, treats it as a loss of data integrity. If the attackers copy the files before they encrypt them, confidentiality goes too.

Security is not only secrecy

It’s tempting to think security means keeping things secret. But an encrypted server that’s offline has still failed: the data is safe from prying eyes, yet nobody can work. The triad is the core model, not a complete list. Other models add properties such as authenticity and non-repudiation, which NIST already counts as part of integrity.

What to do

  • For any attack or defense you read about, ask which of the three goals it touches.
  • Keep backups of the files you can’t lose, and test that you can restore them.
  • When a site publishes a SHA-256 hash for a download, compare it with sha256sum before you open the file.

#cybersecurity#infosec#CIATriad#informationsecurity#confidentiality#integrity#availability#ransomware#securitybasics#learncybersecurity

Watch it in 60 seconds