No history yet

Security Fundamentals

The CIA Triad

At the heart of cybersecurity are three core principles: confidentiality, integrity, and availability. Known as the CIA triad, this model helps guide security policies and decisions. Think of it as the foundation for protecting any information system.

Confidentiality ensures that data is accessible only to authorized users. Integrity guarantees that data is accurate and trustworthy. Availability means that authorized users can access the data when they need it.

Let's break them down.

Confidentiality is about secrecy. It's implemented through measures like encryption, access controls, and passwords. When you use your banking app, confidentiality ensures that no one else can see your account balance.

Integrity is about trust. It ensures that information hasn't been tampered with or altered by an unauthorized person. Hashing is a common technique used to verify file integrity. If you download a software update, a hash value can confirm that the file you received is the exact one the developer released.

Availability is about access. Systems, networks, and data must be operational and accessible when needed. This is where defenses against things like Distributed Denial of Service (DDoS) attacks come in. Redundant systems and regular backups are also key to maintaining availability.

Balancing these three principles is a constant challenge. Sometimes, strengthening one can weaken another. For example, extremely tight confidentiality controls might make a system less available to those who need it.

Access and Accountability

Beyond the CIA triad, we need a framework for managing user access. This is where Authentication, Authorization, and Accounting (AAA) come in. It's a system for tracking user activity and controlling what they can and can't do.

Authentication answers the question, "Who are you?" It's the process of verifying a user's identity. This can be something you know (a password), something you have (a security token), or something you are (a fingerprint).

Authorization answers, "What are you allowed to do?" Once authenticated, a user is granted specific permissions. For instance, a regular employee might be authorized to read company files, but only a manager can edit them.

Accounting answers, "What did you do?" This is the process of logging user activity. It creates a record of which resources a user accessed, how long they were connected, and what actions they took. These logs are crucial for audits and investigating security incidents.

Lesson image

A related concept is non-repudiation. This ensures that someone cannot deny having performed an action. Digital signatures are a perfect example. When you digitally sign a document, it provides cryptographic proof that it was you, and only you, who signed it. This is legally binding and prevents you from later claiming you never agreed to the terms.

Types of Security Controls

To implement principles like the CIA triad and AAA, security professionals use controls. A control is any safeguard or countermeasure used to avoid, detect, or minimize security risks. They can be grouped by their function and how they are implemented.

Control TypeDescriptionExample
PreventiveAims to stop a security incident from happening.Firewall, security guard, password policy.
DetectiveAims to identify an incident that is happening or has already occurred.Intrusion Detection System (IDS), security camera.
CorrectiveAims to fix a system after an incident has occurred.Antivirus software removing a virus, restoring from backup.
DeterrentAims to discourage an attacker from attempting an intrusion."Beware of Dog" sign, threat of legal action.
CompensatingAims to provide an alternative solution when a primary control is not possible.Reviewing logs daily when real-time monitoring isn't feasible.
PhysicalAims to protect systems and data in the physical world.Locks, fences, fire suppression systems.
ManagerialAims to manage the security of an organization through policies and procedures.Risk assessments, security awareness training.
OperationalAims to ensure security is implemented correctly by people on a day-to-day basis.User account reviews, data backup procedures.
TechnicalAims to protect systems through technology.Encryption, access control lists, smart cards.
DirectiveAims to enforce a specific security rule or policy.An acceptable use policy that all employees must sign.

A strong security posture uses a mix of these controls, creating layers of defense. This approach, often called "defense in depth," ensures that if one control fails, another is there to back it up.

Ready to check your understanding of these core concepts?

Quiz Questions 1/6

Which principle of the CIA triad ensures that data has not been tampered with or altered by an unauthorized party?

Quiz Questions 2/6

A company's website is flooded with traffic from a botnet, making it inaccessible to legitimate users. This is a direct attack on which core security principle?

Understanding these foundational ideas is the first step toward mastering cybersecurity. They provide the framework for nearly every security decision you'll encounter.