B5. Essentials in Cyber Security: CIA Triad and Network Security
| Level | Foundation and Intermediate (with a step towards Advanced: network security elements) |
| Prerequisites | B1 OSI model, B2 Operating systems, B3 Protection of data, and for Intermediate B4 Protocols |
| Study time | About 8 hours (4 h reading and video, 4 h hands-on) |
| Source | Teach-the-Teachers fiche B5 |
| Next topics | B6 Attacks · B7 Cyber hygiene · B8 Cryptography |
Why this matters
"Secure" means nothing until you say what must be protected and against what. The CIA triad (Confidentiality, Integrity, Availability) is the shared vocabulary for that. Almost every security framework, risk analysis, audit and job interview uses it:
- In a risk analysis you rate each information system on C, I and A. A hospital's patient record needs high confidentiality and high integrity and high availability. A public website mainly needs integrity (no defacement) and availability.
- In an incident report you describe which of the three was affected: a data leak hits C, a manipulated bank transfer hits I, ransomware hits A (and nowadays often C too, because data is leaked as well).
- In design you choose measures per goal: encryption for C, hashes and signatures for I, redundancy and backups for A.
The second half of this topic covers the building blocks that protect a network: network access control, firewalls and intrusion detection and prevention. These are the first technical measures you meet in any organisation.
Learning objectives
Foundation. After this topic you can:
- Define the CIA triad.
- Explain confidentiality, with examples.
- Explain integrity, with examples.
- Explain why availability is important, with examples.
Intermediate. In addition you can:
- Explain the role of cryptography in protecting confidentiality and integrity.
- Explain what a (distributed) denial-of-service attack is and what it affects.
- Link common attacks to the part of the CIA triad they threaten.
Towards Advanced. You can also explain the main elements of network security: network access control, firewalls, intrusion detection/prevention and network segmentation.
Foundation: the CIA triad
| Goal | Definition | Everyday example | Typical threats | Typical measures |
|---|---|---|---|---|
| Confidentiality | Only authorised people and processes can access the information | Only you and your bank see your balance; your PIN is secret | Data leak, eavesdropping, stolen laptop, shoulder surfing | Access control, MFA, encryption, need-to-know |
| Integrity | Information is correct and complete and cannot be changed unnoticed by unauthorised parties | The amount of your bank transfer arrives exactly as you typed it; your grade is not changed | Manipulation, malware, man-in-the-middle, mistakes | Hashes, digital signatures, access control, logging, version control |
| Availability | Authorised users can access information and systems when they need them | The ATM and the banking app work at 23:00 on a Sunday | DDoS, ransomware, power or hardware failure, natural disasters | Redundancy, backups, DDoS protection, maintenance, a continuity plan |
The three goals often pull in different directions. More checks (for C and I) can make a system slower or harder to reach (A). A good security design finds the right balance for this system and this organisation. That is a choice you must justify, not a technical given.
Beyond CIA
Two related concepts you will often meet:
- Authenticity: you can be sure who sent something (for example through a digital signature).
- Non-repudiation: someone cannot later deny having done something (signed contracts, logged actions).
Some models extend the triad. The Parkerian hexad adds possession, authenticity and utility. The DAD triad (Disclosure, Alteration, Destruction) is the attacker's mirror of CIA.
Intermediate: cryptography, DoS and attacks on CIA
Cryptography for confidentiality and integrity
Cryptography is the main technical tool for the first two goals (details in B8):
- Encryption protects confidentiality: without the key, the data is unreadable. Examples are HTTPS, an encrypted laptop disk and end-to-end encrypted messaging.
- Hash functions and message authentication codes protect integrity: any change to the data gives a completely different hash. A download page can publish the SHA-256 hash of the file so you can check it.
- Digital signatures protect integrity and authenticity: they prove who created something and that it was not changed. Software updates and Secure Boot rely on them.
Cryptography does little for availability. It can even hurt it: lose the key and you lose the data.
Denial of service
A denial-of-service (DoS) attack overloads a machine or network so that legitimate users can't use it. It targets availability. In a distributed DoS (DDoS) the traffic comes from thousands of compromised devices (a botnet), often IoT devices such as cameras and routers with default passwords. The Mirai botnet (2016) is the classic example.
| Type | Layer | Example |
|---|---|---|
| Volumetric | 3–4 | Flooding the line with more traffic than it can carry, often via UDP amplification |
| Protocol | 3–4 | SYN flood: exhausting the server's connection table |
| Application | 7 | Many expensive, valid-looking HTTP requests (for example search queries) |
Defences include extra capacity, rate limiting, filtering by the Internet provider, DDoS scrubbing services and content delivery networks (CDNs).
Which attack threatens which goal?
| Attack | C | I | A |
|---|---|---|---|
| Eavesdropping on unencrypted Wi-Fi | ● | ||
| SQL injection (read the database) | ● | ● | ○ |
| Man-in-the-middle | ● | ● | |
| Defacing a website | ● | ○ | |
| Ransomware (encrypt and leak = "double extortion") | ● | ● | ● |
| DDoS | ● | ||
| Stolen unencrypted laptop | ● | ○ |
● main impact · ○ possible impact
Learning from real breaches
Classic breaches still illustrate the triad well, even though some are over ten years old:
- Equifax (2017). An unpatched web application vulnerability (Apache Struts) led to the theft of personal data of about 147 million people. That is confidentiality, caused by poor patch management.
- OPM (2015). Background-check files of more than 20 million US government employees and applicants were stolen. That is confidentiality, with national security consequences.
- Ransomware against hospitals, universities and municipalities. In Europe these are now among the most common serious incidents: availability is lost and patient or student data is often leaked as well. In 2019 Maastricht University paid a ransom after its systems were encrypted; read its public report for a candid case study.
Use a current case from the ENISA Threat Landscape or recent news when you present this topic.
Towards Advanced: the elements of network security
Network security protects the network, its infrastructure and its traffic. Four elements come back in every organisation:
1. Network access control (NAC)
NAC decides who and what may connect to the network at all. With IEEE 802.1X, a device must authenticate (with a certificate or username and password, checked by a RADIUS server) before the switch port or Wi-Fi network lets it in. NAC can also check the device's posture (is the OS up to date, is antivirus running?) and place unknown or guest devices in a separate network.
2. Firewalls
A firewall decides, based on rules, which traffic is allowed or blocked between networks or on a single host. A computer without a firewall is like a house where every door and window is open.
| Type | Looks at | Example rule |
|---|---|---|
| Packet filter (stateless) | IP addresses, ports, protocol of each packet | "Allow TCP to 10.0.0.5 port 443" |
| Stateful firewall | The same, plus connection state | "Allow replies to connections started from inside" |
| Next-generation firewall (NGFW) | Applications, users, content, threat signatures | "Allow Teams, block BitTorrent for user group students" |
| Web application firewall (WAF) | HTTP requests to a web application | "Block requests containing SQL injection patterns" |
| Host-based firewall | Traffic on one computer | Windows Defender Firewall, ufw on Linux |
Good practice: default deny (block everything, then allow only what is needed), document every rule with its purpose and owner, and review rules regularly.
3. Intrusion detection and prevention (IDS/IPS)
- An IDS monitors traffic or hosts and alerts on suspicious activity.
- An IPS sits in the traffic path and can also block or drop it.
Both use signatures (patterns of known attacks) and/or anomaly detection (deviations from normal behaviour). Open-source examples are Suricata and Snort. Alerts typically flow into a SIEM and are handled by a Security Operations Centre (SOC). That team is the answer to the fiche's question "Who takes action in case of an attack?"
4. Segmentation and defence in depth
Split the network into zones (for example office, servers, guests, IoT, production systems) with firewalls between them, so an attacker who gets into one zone cannot simply move on (lateral movement). Combine measures in layers: defence in depth. If one control fails, the next one still stands. The modern extension of this idea is zero trust: never trust a connection just because it comes from "inside", but verify every request.
In practice
Exercise 1: CIA classification (Foundation, 45 min)
Choose three systems from your own life or school, for example your school's grading system, a streaming service and a smart doorbell. For each one, rate C, I and A as low, medium or high, and explain your rating with one realistic incident per goal. Compare with a classmate: where do you disagree, and why?
Exercise 2: check integrity with a hash (Intermediate, 20 min)
- Download a tool from a site that publishes SHA-256 checksums, for example the Wireshark download page or a Linux ISO.
- Calculate the hash:
Get-FileHash file.exe -Algorithm SHA256(PowerShell) orsha256sum file.iso(Linux/macOS). - Compare it with the published value. Change one byte of a copy of a small text file and hash it again: what happens?
Exercise 3: your own firewall (Towards Advanced, 45 min)
Windows. Open Windows Defender Firewall with Advanced Security. Look at the inbound rules: which programs may accept connections? Create a rule that blocks inbound ICMP echo requests and test it with ping from another device.
Linux (in a VM).
1 2 3 4 | |
Scan the VM with nmap from your host before and after. What changed?
Exercise 4: watch an IDS work (Towards Advanced, 1–2 h)
Use a TryHackMe room on Snort or Suricata, or install Suricata in a Linux VM and let it read a sample capture from the Wireshark sample captures (suricata -r capture.pcap). Then read the alerts in fast.log. Which signatures fired, and which CIA goal was the attack aimed at?
Tools
| Tool | What you use it for | Cost |
|---|---|---|
Get-FileHash / sha256sum |
Verify file integrity | Built in |
| Windows Defender Firewall / ufw | Host-based firewall | Built in |
| pfSense or OPNsense | Open-source network firewall for a home lab | Free |
| Suricata / Snort | Network IDS/IPS | Free, open source |
| Nmap | Check which ports a firewall lets through | Free |
Videos
- 🎬 What is the CIA triad? – IntellectualPoint (Foundation)
- 🎬 CIA triad – Neso Academy (Foundation)
- 🎬 Cybersecurity tutorial for beginners – Invensis Learning (Foundation; CIA from 9:24, network security from 11:30)
- 🎬 Top 10 biggest data breaches in history – Surfshark Academy (Intermediate)
- 🎬 What is a firewall? Firewall explained – Simplilearn (towards Advanced)
Handouts and reading
- 📄 CIA in cyber security: definition, examples, importance – KnowledgeHut
- 📄 What is a firewall? – Cisco
- 📄 What is a DDoS attack? – Cloudflare Learning Center
- 📄 What do we mean by security anyway? – Brookings
- 📄 The biggest data breaches – UpGuard
- 📄 Data breaches: user comprehension, expectations and concerns – USENIX SOUPS 2018 (PDF)
Literature and courses
- Andress, J. Foundations of Information Security: A Straightforward Introduction (No Starch Press, 2019). A short, clear book on the CIA triad, controls and network security. It is the successor to the Basics of Information Security cited in the fiche.
- Anderson, R. Security Engineering (3rd ed., 2020). The standard reference; several chapters are free online.
- 🎓 Introduction to Cybersecurity – Cisco Networking Academy (free).
- NIST Cybersecurity Framework 2.0: how organisations organise their security (Govern, Identify, Protect, Detect, Respond, Recover).
- Our summaries CyBOK 08 Security operations & incident management (IDS, SIEM, SOC) and CyBOK 19.1-3 Network goals, applications and protocols.
Common mistakes
- "Security = confidentiality." Many of the most damaging incidents are about integrity (fraudulent payments) or availability (ransomware stopping a hospital).
- "We have a firewall, so we are safe." A firewall only controls traffic it sees and rules it is given. Phishing, stolen passwords and allowed-but-vulnerable services go straight through.
- "Encryption gives availability." It does not; key management and backups do.
- "Any allow rule" in a firewall. Rules such as allow any → any "to get things working" are a common audit finding and a common attack path.
Check yourself
- What does CIA stand for, and why is it important?
- Which CIA goal does a PIN code mainly protect? And an ATM that works 24/7?
- Which goal does a DDoS attack target, and why is a botnet needed for the "distributed" part?
- Which part of the triad does SQL injection affect?
- What is the difference between an IDS and an IPS?
- Why is "default deny" a better firewall policy than "default allow"?
Answers
1. Confidentiality, Integrity, Availability. It defines the goals of every security programme and helps you decide what to protect and how.
2. A PIN mainly protects confidentiality (and through that, access). An ATM that works 24/7 is about availability.
3. Availability. A single machine rarely generates enough traffic to overwhelm a large service; a botnet of thousands of devices does, and it is much harder to block because the traffic comes from everywhere.
4. Mainly confidentiality (reading data) and integrity (changing or deleting data); sometimes availability (dropping tables).
5. An IDS detects and alerts; an IPS sits in the traffic path and can also block.
6. With default deny, anything you forgot to think about is blocked; with default allow, anything you forgot is open.
Related topics
- B6 Attacks, threats, vulnerabilities
- B8 Cryptography: the technical basis of C and I.
- B9 Individual incident response: restoring availability and integrity after an attack.