The Wayback Machine - https://web.archive.org/web/20260218132629/https://www.geeksforgeeks.org/computer-networks/the-cia-triad-in-cryptography/

What is CIA Triad?

Last Updated : 22 Dec, 2025

The CIA Triad is a core framework in information security that helps organizations protect data and maintain secure, reliable systems.

  • Three principles: Confidentiality, Integrity, Availability
  • Guides policies for protecting sensitive information
  • Ensures data is secure, accurate, and accessible

CIA Triad

Confidentiality

Confidentiality ensures that sensitive data is accessible only to authorized individuals or systems. Its purpose is to prevent unauthorized viewing, access, or misuse of private information.

Risks to Confidentiality

  • Unauthorized Access: Attackers exploit vulnerabilities to access protected data.
  • Weak Encryption: Outdated or weak encryption can be easily broken, exposing sensitive information.
  • Insider Threats: Employees or trusted users may leak or accidentally expose confidential data.

How to Ensure Confidentiality

  • Encryption: Use strong encryption methods like AES or RSA to protect data from unauthorized reading, even if intercepted. (Note: DES is outdated and insecure.)
  • VPN: A Virtual Private Network creates an encrypted tunnel for internet communication, preventing eavesdropping or interception.
file
Confidentiality

Integrity

Integrity ensures that data remains accurate, authentic, and unaltered during storage or transmission. Any unauthorized modification or corruption compromises the reliability of data.

Risks to Integrity

  • Data Tampering: Attackers intentionally alter or corrupt data for malicious purposes.
  • Malware & Ransomware: Malicious software can modify, encrypt, or destroy data, leading to loss and system disruption.

How Integrity Is Ensured

To detect whether data has been modified, hash functions are used.Common Hash Functions:

  • MD5: Produces a 128-bit hash value.
  • SHA Family: Includes SHA-1 (160-bit), SHA-0, SHA-2, and SHA-3.

Working of Hash Functions

1. Host A Sends Data: Host A creates a hash value (H1) using a hash function.

2. Attach Hash: H1 is sent along with the data.

3. Host B Verifies: Host B generates a new hash (H2) from the received data.

4. Compare:

  • If H1 = H2, the data is unchanged (integrity preserved).
  • If H1 ≠ H2, the data was altered or corrupted.
    Even a tiny change in the input completely changes the output hash.
file
Hash Function

Note: Even a small change in the input (like altering a single word or character) will completely change the resulting hash."

Availability

Availability ensures that systems, networks, and data are accessible to authorized users whenever needed. Disruptions can halt operations and cause major losses.

Risks to Availability:

  • DoS and DDoS Attacks: Denial of Service (DoS) or Distributed Denial of Service (DDoS) attacks flood network resources with excessive traffic, making them unavailable to legitimate users.
  • Impact: Such attacks can cause major service disruptions, downtime, and financial losses for companies.

How to Ensure Availability

To ensure availability, network administrators should focus on the following factors:

  • Hardware Maintenance: Regularly maintain and upgrade hardware to prevent failures and ensure smooth operations.
  • Regular Upgrades: Keep systems and software updated to maintain performance and security.
  • Failover Plan: Implement failover systems so that if one component fails, another can take over, minimizing downtime.
  • Preventing Bottlenecks: Monitor and manage network traffic to avoid congestion or bottlenecks, ensuring consistent performance.

Comment

Explore