Cybersecurity Formula

Cybersecurity is the practice of protecting computing systems, networks, and data from unauthorized access, attacks, and damage.

The Formula

security={confidentiality,integrity,availability}

Ask yourself: Is someone deliberately trying to get in, trick a user, change data or shut a system down?

Quick example

Using strong passwords, enabling two-factor authentication, keeping software updated, and not clicking suspicious links are all cybersecurity practices.

What this formula means

The practice of protecting computing systems, networks, and data from unauthorized access, attacks, and damage. Cybersecurity encompasses three core goals: confidentiality (only authorized users can access data), integrity (data is not tampered with), and availability (systems remain operational).

Cybersecurity is like protecting a bank: locks on the vault (confidentiality), cameras and receipts so nobody can quietly change the records (integrity), and doors that open during business hours (availability). Banks rely on many layers, not one big lock. The difference: a digital burglar can try a million doors a minute from the other side of the world.

Formal view

Cybersecurity enforces the CIA triad: Confidentiality (C), Integrity (I), and Availability (A) over a system's assets. Threats are modeled as adversaries attempting to violate one or more of {C,I,A}, and controls are countermeasures that reduce risk.

Worked examples

Example 1

easy
Name three common cyber threats and describe how each works.
Show solution

Answer

Malware (malicious software), Phishing (fake communications), Brute force (password guessing). Each exploits different vulnerabilities.

First step

1.
Step 1: Malware — malicious software (viruses, worms, ransomware) that damages systems or steals data. Often spreads through infected downloads or email attachments.

Full solution

  1. 2.
    Step 2: Phishing — fake emails or websites that trick users into revealing passwords or personal information by impersonating trusted organisations.
  2. 3.
    Step 3: Brute force attack — an attacker tries every possible password combination until finding the correct one. Strong, long passwords make this impractical.
Understanding threats is the first step in cybersecurity. Many attacks exploit human behaviour (phishing) rather than technical vulnerabilities, making user awareness essential.

Example 2

medium
Explain three methods of protecting against cyber attacks: encryption, authentication, and firewalls.

Example 3

medium
A website asks for a 4-digit PIN with no rate-limiting. Why is brute force a serious risk and what is the standard defense?

Common mistakes

  • Assuming a single strong password is sufficient—multi-factor authentication and regular updates are equally important
  • Believing only large companies are targets—individuals and small organizations are frequently attacked
  • Thinking cybersecurity is purely a technology problem—human error (clicking phishing links, weak passwords) is the leading cause of breaches

Why this formula matters

Most attacks are not film-style hacking but automated guessing and tricking: a password leaked from one site is tried on hundreds of others, and a fake 'your account is locked' email collects logins. Knowing the three goals tells you what each defence protects, and why one strong lock is not enough: a backup protects availability, two-factor login protects confidentiality, and neither replaces the other.

Frequently asked questions

What is the Cybersecurity formula?

The practice of protecting computing systems, networks, and data from unauthorized access, attacks, and damage. Cybersecurity encompasses three core goals: confidentiality (only authorized users can access data), integrity (data is not tampered with), and availability (systems remain operational).

How do you use the Cybersecurity formula?

Use cybersecurity when a problem involves someone deliberately trying to get in, trick people or cause damage: stolen or guessed passwords, phishing emails, malware, ransomware, a hacked account. Sort each threat by the goal it attacks: confidentiality, integrity or availability. If the question is about who may collect and use personal data, with no attacker involved, that is Privacy; if it is specifically about scrambling data with a key, use Encryption.

Why is the Cybersecurity formula important in CS Thinking?

Most attacks are not film-style hacking but automated guessing and tricking: a password leaked from one site is tried on hundreds of others, and a fake 'your account is locked' email collects logins. Knowing the three goals tells you what each defence protects, and why one strong lock is not enough: a backup protects availability, two-factor login protects confidentiality, and neither replaces the other.

What do students get wrong about Cybersecurity?

No system is 100% secure. Cybersecurity is about managing risk, not eliminating it completely.

What should I learn before the Cybersecurity formula?

Before studying the Cybersecurity formula, you should understand: network, protocol.