CIA Triad
Foundations

CIA Triad

A complete guide to Confidentiality, Integrity, and Availability, the three foundational pillars of information security.

Whenever a security professional evaluates a system, whether it is a mobile banking app, a connected medical device, or an internal corporate database, they start by asking three core questions: 1. Can unauthorized people read this data? (Confidentiality) 2. Can someone tamper with or alter this data without permission? (Integrity) 3. Can authorized users access the system when they need it? (Availability) These three concepts form the CIA Triad: Confidentiality, Integrity, and Availability. Every security policy, encryption algorithm, permission rule, and backup plan exists to protect one or more of these three pillars. If any one pillar fails, the system is at risk.

Definition

The CIA Triad is a foundational model in information security consisting of Confidentiality (keeping data secret from unauthorized parties), Integrity (ensuring data remains accurate and unaltered), and Availability (ensuring systems and data are accessible when needed).

Why It Matters

Different organizations prioritize different pillars based on what matters most to their mission: • A defense or intelligence agency prioritizes Confidentiality above all else, because classified leaks can put lives in danger. • A financial exchange or bank prioritizes Integrity, because account balances and transactions must remain perfectly accurate to the cent. • An emergency 911 dispatch center or hospital intensive care unit prioritizes Availability, because system downtime can prevent doctors and emergency responders from saving lives. Understanding the CIA Triad helps engineers make sensible trade-offs instead of adding security controls that unintentionally make systems impossible to use.

How It Works

Each pillar in the CIA Triad has its own specific threats and dedicated security controls: 1. Confidentiality (Preventing Unauthorized Viewing): • Common Threats: Snooping on open public Wi-Fi, database data leaks, credential theft through phishing, and lost or stolen employee laptops. • Common Defenses: Strong encryption (such as AES-256 for files and TLS for network traffic), multi-factor authentication (MFA), role-based access control (RBAC), and data masking. 2. Integrity (Preventing Unauthorized Alteration): • Common Threats: Man-in-the-Middle (MitM) attacks altering web requests in transit, unauthorized SQL database updates, malware tampering with operating system files, and accidental data corruption. • Common Defenses: Cryptographic hashing (such as SHA-256), digital signatures, Message Authentication Codes (HMAC), database transaction logs, and change audit trails. 3. Availability (Ensuring Systems Remain Accessible): • Common Threats: Distributed Denial of Service (DDoS) traffic floods, ransomware encrypting entire hard drives, power outages, server hardware failures, and software memory leaks. • Common Defenses: Redundant cloud servers across multiple regions, load balancers, automated data backups, uninterruptible power supplies (UPS), and disaster recovery plans.

The CIA Triad: Pillars and Defensive Controls

1. Confidentiality
Enforced using strong encryption (AES-256), TLS protocols, MFA, and role-based access controls
2. Integrity
Enforced using SHA-256 checksums, digital signatures, HMAC authentication, and immutable audit logs
3. Availability
Enforced using redundant server clusters, load balancing, DDoS filtering, and tested offsite backups
4. Balancing Trade-Offs
Applying heavy encryption and strict verification must be balanced against system performance and user access

Key Points

  • Confidentiality means privacy: Only authorized individuals can view the data.
  • Integrity means accuracy and trust: Data has not been secretly changed, deleted, or corrupted.
  • Availability means accessibility: Authorized users can access systems and data whenever needed.
  • Every security incident compromises at least one pillar of the CIA Triad.
  • Good security design requires balancing the needs of all three pillars without crippling usability.

Steps

  1. Classify Data by CIA Impact

    Determine what happens if a dataset is leaked (Confidentiality impact), modified without permission (Integrity impact), or made unavailable (Availability impact).

  2. Apply Confidentiality Controls

    Encrypt sensitive records at rest on disk and enforce HTTPS and TLS across all internal and public web endpoints.

  3. Set Up Integrity Checks

    Publish cryptographic checksums (like SHA-256) for software downloads so users can verify that files have not been modified.

  4. Build Redundancy for Availability

    Run applications across multiple availability zones behind load balancers with health checks and automated failover.

Examples

The Sealed Medical Record Analogy

• Confidentiality: A doctor puts medical test results in a sealed envelope so unauthorized staff cannot read the diagnosis. • Integrity: The doctor signs and stamps the report so no one can alter test figures or swap names. • Availability: The hospital keeps digital copies ready 24/7 so emergency doctors can pull blood types immediately during surgery.

Real-World Examples

The WannaCry Ransomware Attack (2017)

WannaCry infected hundreds of thousands of computers across the world by encrypting hard drives. In many affected hospitals, patient records were not leaked publicly, so Confidentiality was largely preserved. However, doctors were locked out of medical charts and surgery schedules, severely damaging Availability and compromising data Integrity.

Technical Examples

Verifying Data Integrity with SHA-256 Checksumsbash
# ─── Verifying Software Download Integrity via SHA-256 Hash ─────────

# 1. Download official release binary and author's published SHA-256 checksum
curl -O https://example.com/downloads/v2.1.0/installer.tar.gz
curl -O https://example.com/downloads/v2.1.0/installer.tar.gz.sha256

# 2. Inspect published checksum:
cat installer.tar.gz.sha256
# Output: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  installer.tar.gz

# 3. Compute local SHA-256 checksum of downloaded binary:
sha256sum -c installer.tar.gz.sha256
# Output: installer.tar.gz: OK (Integrity intact! No malware injected during transit)

# 4. If an attacker tampers with even a single byte in the binary:
echo "malware" >> installer.tar.gz
sha256sum -c installer.tar.gz.sha256
# Output: installer.tar.gz: FAILED (Hash mismatch! File was altered!)
Cryptographic hash functions produce a completely different output hash if even a single character in a file changes. This property allows developers and users to verify file integrity before running downloaded software.

Integrity Violation vs Confidentiality Violation

AspectIntegrity ViolationConfidentiality Violation
Core ImpactData is modified, forged, or corruptedPrivate information is viewed by unauthorized parties
Example IncidentAn attacker alters a bank transfer amount from $100 to $10,000An attacker downloads 50,000 customer credit card numbers
Primary DefenseCryptographic hashing (SHA-256), digital signatures, and HMACEncryption (AES-256, TLS 1.3), MFA, and access control lists
Detection MethodHash mismatch verification and audit log checksData loss prevention (DLP) alerts and egress network monitoring

The Parkerian Hexad: Expanding Beyond the CIA Triad

In 1998, security researcher Donn B. Parker suggested expanding the CIA Triad into six elements known as the Parkerian Hexad. It adds three practical attributes: 1. Possession or Control: Physical or logical custody of data. For example, if an encrypted backup tape is stolen, confidentiality may remain intact because the thief cannot read the ciphertext, but the organization has lost physical possession of the tape. 2. Authenticity: The true attribution of data. It answers whether a message or record genuinely came from the claimed sender or author. 3. Utility: How usable or practical the data is. If data is encrypted with a strong key that is accidentally lost forever, confidentiality and integrity are preserved, but the data has zero utility because no one can use it.

Advantages

  • Clear Framework: Gives security teams and developers a shared language for evaluating risk.
  • Balanced Focus: Prevents teams from focusing solely on data privacy while forgetting about backup redundancy and uptime.
  • Aligned with Standards: Major security frameworks like ISO 27001 and NIST build their control requirements around CIA principles.

Limitations

  • Natural Tension: Adding heavy encryption and complex authentication steps can increase latency and make access harder for legitimate users.
  • Scope Limitations: The traditional triad focuses on technical attributes and does not explicitly address user consent or data retention policies.

Interview Questions

What is the CIA Triad, and how does a security breach violate each pillar?

The CIA Triad consists of Confidentiality, Integrity, and Availability. A confidentiality violation happens when unauthorized people see private data, such as a database leak revealing user passwords. An integrity violation happens when data is secretly modified, such as an attacker altering bank account numbers during a transaction. An availability violation happens when legitimate users cannot access resources, such as a DDoS attack taking a healthcare website offline.

Practice Questions

  1. Identify which CIA pillar is primarily harmed by each event: 1) A distributed denial of service attack, 2) An unencrypted customer list posted online, 3) Malware modifying local system host files.