Pillars of information security: the CIA triad and core concepts
Confidentiality, integrity, availability, authenticity, and non-repudiation with real examples, plus how passwords, 2FA, and backups protect each pillar.
An acquaintance messaged me asking whether he should change his bank password after tapping a link in a text message. The link looked real, the sender looked like the bank, and he had no way to tell. The short answer was "yes, right now". The useful answer was another question: what exactly did he put at risk? If he typed his password, the problem is confidentiality. If the scammer gets in and moves money, it becomes an integrity problem for the account. If the bank freezes everything as a precaution, he loses availability for a few days. Three different problems, three different responses.
That way of looking at it has a name: the pillars of information security. This post explains each one with examples and the control that protects it, plus the basic vocabulary (threat, vulnerability, risk) that shows up in any course, exam, or serious conversation on the subject. The practical parts stay short and point to the dedicated posts: two-step verification, phishing, and strong passwords.
What information security is
Information security means protecting information, in any format, against improper access, modification, and unavailability. The US federal definition used by NIST sums it up in three properties: protecting information "in order to provide integrity, confidentiality, and availability" (44 U.S.C. § 3542, via the NIST glossary).
Note the "in any format". A printed contract left on the printer, a spreadsheet on a USB stick, and a WhatsApp conversation are all in scope. Cybersecurity is the part that deals with the digital medium; information security is the umbrella.
The 3 pillars: the CIA triad
The acronym is CIA (confidentiality, integrity, availability); in Portuguese material you'll see it as CID. It isn't pretty theory: every incident violates at least one of the three.
Confidentiality means information reaches only those who are allowed to see it. A plaintext password in the database, a salary spreadsheet emailed to the wrong person, a stolen laptop without disk encryption: all violate confidentiality. Typical controls are access control (who can see what) and encryption (even whoever grabs the data can't read it). The post on symmetric and asymmetric encryption explains both families.
Integrity means information isn't changed without authorization, or that a change is detectable. An installer modified in transit, a payment slip altered with a different account, a log edited to erase tracks. The classic control is a hash: you compare the digest of the downloaded file with the one the vendor published, and any different byte changes the result. You can do that in the hash generator, and the post on MD5, SHA-1, and SHA-256 explains which algorithm to use. To also prove who produced the file, you need a digital signature.
Availability means systems and data are reachable when needed. A denial-of-service attack (DDoS), ransomware encrypting the file server, and a disk dying with no backup all violate availability: the data exists, but you can't get to it. The controls are tested backups, redundancy, and capacity to absorb traffic.
The pillars fight each other, and understanding that is half the job. An encrypted database protects confidentiality, but if the key is lost, availability goes with it. A backup copied to a public bucket guarantees availability and destroys confidentiality. When someone asks "is this system secure?", the honest answer starts with "secure against a violation of which pillar?".
Authenticity, non-repudiation, and the 5 pillars
In courses, certification exams, and much of the Portuguese-language material, the list grows to five pillars:
- Authenticity: ensuring information comes from who it claims to come from, and that whoever accesses it is who they claim to be. That's what passwords, biometrics, and two-step verification try to prove.
- Non-repudiation: ensuring the author of an action can't deny it later. NIST describes it as the service that lets a third party verify the integrity and origin of data signed with a private key (FIPS 186-5, via the NIST glossary). In practice: a digital signature with a certificate. A password shared across the team gives no non-repudiation, because any of the five people could have done it.
Some lists add legality or compliance: handling information according to the law, which in Brazil today mainly means the LGPD, the country's data protection law.
It's worth knowing there's no single official list. The same US definition that names the three pillars puts authenticity and non-repudiation inside integrity ("includes ensuring information non-repudiation and authenticity"). Three pillars or five, the concepts are the same; only the grouping changes.
Threat, vulnerability, and risk
Three words that become synonyms in conversation and aren't:
- Threat is whatever can cause harm: a scammer, ransomware, a flood, a careless employee.
- Vulnerability is the weakness the threat exploits: a reused password, an unpatched system, a backup in the same building as the server.
- Risk is the measure of how much it should worry you. The NIST glossary defines risk as a function of the impact if the event happens and the likelihood that it will (CNSSI 4009, via NIST).
One example ties it together. The threat is credential stuffing (bots mass-testing passwords leaked from other sites). The vulnerability is reusing your password. The impact is high if it's your main email, which resets every other account. The likelihood is high because the attack is automated and cheap. High risk, and the control is a unique password per service. Notice you can't eliminate the threat; you can eliminate the vulnerability.
The pillars in practice: passwords, 2FA, phishing, and backup
Passwords (authenticity and confidentiality). The search space of a random password is alphabet_size ^ length. Both terms multiply the attacker's work, but length is the exponent, which is why it pays off more. I ran the numbers:
random password combinations entropy
12 lowercase (26 symbols) 9.5 x 10^16 56.4 bits
12 characters from 94 symbols 4.8 x 10^23 78.7 bits
16 lowercase 4.4 x 10^22 75.2 bits
20 lowercase 2.0 x 10^28 94.0 bits
16 characters from 94 symbols 3.7 x 10^31 104.9 bits
Going from a 26-symbol to a 94-symbol alphabet in a 12-character password multiplies the space by about 5 million (+22 bits); adding 8 lowercase characters multiplies it by 200 billion (+37.6 bits). All of that holds only for a randomly drawn password: P@$$w0rd!123 has 12 characters from 94 symbols and still falls early, because dictionary attacks with rules (hashcat ships several) try those substitutions before any brute force. The details are in what makes a password strong. The practical fix is a password manager generating a different password per service; the post on password managers shows what happens when one of them is breached and how to configure yours.
Two-step verification (authenticity). The second factor protects you when the password leaks, but the methods aren't equal. NIST classifies SMS as a "restricted" authenticator and requires the service to offer an alternative (SP 800-63B-4, section 3.1.3.3), because of SIM swaps and attacks on the phone network. An authenticator-app code (TOTP) doesn't depend on the carrier; Google Authenticator, Microsoft Authenticator, 2FAS, Aegis, or your password manager all work. Authy, which used to top these lists, shut down its desktop apps on March 19, 2024 (Twilio) and in July 2024 had account phone numbers exposed through an unauthenticated endpoint (Twilio); it still works on phones, but it's no longer the obvious pick.
But TOTP is phishable too. NIST states plainly that OTP authentication "is not phishing-resistant" (sections 3.1.4 and 3.2.5): a fake page that relays what you type to the real site in real time (so-called AiTM, adversary-in-the-middle) uses the code before it expires and keeps the session (Microsoft). What resists this is FIDO2/WebAuthn, in two different forms:
- Hardware key (YubiKey, Titan): the credential is bound to the hardware and never leaves it.
- Passkey: usually synced through iCloud Keychain (Apple), Google Password Manager (Google), or a third-party manager. It isn't a hardware key, but it also only works on the domain where it was created, so the fake page gets nothing usable.
The full comparison, with what to do for each account, is in the post on two-step verification.
Phishing (every pillar). In Brazil, the most common scam doesn't arrive by email: it arrives by SMS, WhatsApp, or phone call. The fake call center rings with the bank's number spoofed, mentions a suspicious purchase, and asks for your password, your token, or a Pix transfer to a "safe account". Febraban, the Brazilian banking federation, repeats the rule that solves almost everything: banks don't call asking for passwords, tokens, or transfers; hang up and call the number on your card yourself (Febraban). For links, the old advice to "hover over it" doesn't work on a phone, where most of these messages land. There, long-press the link to see the address without opening it or, better, don't tap: open the bank's app yourself. The post on phishing covers the patterns in detail.
Backup and connection (availability and confidentiality). A backup you've never restored is hope, not a backup; test restores now and then and keep one copy out of ransomware's reach (offline or in another service). And HTTPS protects content in transit, including on public Wi-Fi. The padlock only says the connection is encrypted, not that the site is honest; the post on free SSL certificates explains that difference.
The threat model is the question nobody asks
Security without context makes no sense. The right question isn't "how do I become more secure?" but "against whom and against what am I protecting myself?".
A journalist covering corruption has a completely different threat model from a software engineer who just wants to protect personal accounts. The first needs end-to-end encrypted communication, operational discipline, and possibly dedicated devices. The second mostly needs a password manager, a decent second factor, and skepticism about urgent messages.
Security measures have a cost: time, friction, money. Doing everything at once is unsustainable, and the threat model tells you where effort pays off. For someone who banks on their phone, the most likely threats are three: credential stuffing with a leaked password, a fake-call-center or fake-link scam, and a lost or stolen unlocked phone. The matching defenses are a unique manager-generated password, a passkey or authenticator app where available, and a biometric screen lock plus distrust of any request for a password or transfer over the phone.
Frequently asked questions
What are the pillars of information security?
The three classics are confidentiality, integrity, and availability (the CIA triad, or CID in Portuguese). Much Portuguese-language material talks about five pillars, adding authenticity and non-repudiation, and some include legality or compliance with data protection law. There's no single official list; the definition NIST uses, for instance, treats authenticity and non-repudiation as part of integrity.
What's the difference between threat, vulnerability, and risk?
A threat is the agent or event that can cause harm; a vulnerability is the weakness it exploits; risk is the combination of the likelihood of harm and the size of the impact. You rarely control the threat, but you can almost always reduce the vulnerability or the impact.
Is SMS 2FA enough for a bank account?
It's better than a password alone, but it's not what I'd recommend as the main method. NIST treats SMS as a restricted authenticator, and SIM swaps and fake call centers are common scams in Brazil. If the bank offers an in-app token, a passkey, or a hardware key, prefer that; use SMS only where there's no other option.
What should I do if I think I've been phished?
Act right away. Change the affected service's password from a different device, end any open sessions you don't recognize, and turn on two-step verification if it wasn't already on. If it's a financial account, call the bank on the number printed on your card to block access and transactions, and file a police report if there was a loss.
Think in pillars before you think in tools
Confidentiality, integrity, and availability (plus authenticity and non-repudiation, if you count five) are how you turn "is this secure?" into a question with an answer. For each system or account, ask which pillar is at stake, which vulnerability exists, and what the worst case would cost. In personal life, the answers almost always lead to the same trio: a unique password generated by a manager, a phishing-resistant second factor where available, and a tested backup. For the passwords you still need to create outside the manager, I use the Password Generator, which draws with crypto.getRandomValues right in the browser, without sending anything to a server.
- 01 CPU Cores vs. Threads: What Actually Changes in Practice Understand the difference between CPU cores and threads and what actually changes for performance, multitasking, gaming, and development.
- 02 MIT, Apache, and GPL Licenses: Practical Differences for Developers MIT, Apache 2.0, and GPL are not the same thing. Understand permissive vs copyleft, patent protection, and compatibility before shipping code to production.