Skip to content
Back to Series Network Security from Scratch
Security

Network Security Fundamentals: The CIA Triad and Threat Modeling

Learn the foundations of network security from scratch: the CIA Triad, essential terms, and how to think through a threat model.

A
Alif Afriza Author
· · 5 min read
Network Security Fundamentals: The CIA Triad and Threat Modeling

Network security is often seen as complicated, yet its foundation is a single concept you can memorize in five minutes: the CIA Triad. This article is the starting point of a network security curriculum that goes from zero to advanced level.

Why Is Network Security Important?

Every time a device connects to a network, it exchanges data with other devices. That data can contain anything: passwords, documents, money, even control over hardware such as cameras and lights. Anyone who controls the network can potentially read, modify, or cut off that data.

Network security is the discipline of preventing those three things from happening while keeping services running.

The CIA Triad

CIA stands for the three main security goals.

Confidentiality

Data may only be read by authorized parties. How to achieve it: encryption, access control, and firewall rules.

Example: a WiFi password should never be readable by others. HTTPS encryption ensures that the contents of a page cannot be read by an eavesdropper in the middle of the network.

Integrity

Data must remain intact and must not be modified by unauthorized parties. How to achieve it: checksums, digital signatures, and logging.

Example: an installer file you download should not be replaceable with a malicious version without anyone noticing. Tools like sha256sum verify that the file you downloaded matches the original.

Availability

Services must remain accessible to authorized users. How to achieve it: redundancy, backups, and protection against attacks that take services offline.

Example: an e-commerce website should not go down just because one server is attacked. Regular backups ensure that data can be recovered even if the storage medium fails.

These three pillars often conflict with one another. Locks that are too tight reduce availability, while access that is too loose damages confidentiality. The network designer’s job is to find the right balance.

Important Terms You Will Hear Often

TermMeaning
ThreatSomething that can cause harm, such as malware or a hacker
VulnerabilityA flaw that can be exploited, such as an open port with no lock
ExploitCode or a technique used to take advantage of a flaw
Attack surfaceEvery point on a system that can be attacked
RiskThe combination of a threat, a vulnerability, and the impact if it occurs
MitigationA step taken to reduce risk

Threat Model

A threat model is a way of thinking: who wants to attack your system, through which path, and with what goal. The answers differ depending on the context:

  • Home network: the main threats are unwanted network guests and malware.
  • Small office: add the risk of employees misconfiguring things and access from the internet.
  • Large enterprise: add sophisticated actors targeting data, and organized attacks.

The core questions always asked when building a threat model:

  1. Which assets are the most valuable?
  2. Who might attack?
  3. What path will they take?
  4. What is the worst-case impact if they succeed?
  5. What is the cheapest step to reduce the risk?

A threat model does not have to be complicated. For a homelab server, writing three lines on a piece of paper is far better than not thinking about it at all.

Layered Security: Defense in Depth

Any single layer of security can always be defeated. That is why modern network security uses a layered approach:

  1. Physical: locking the server room, locked racks.
  2. Hardware: up-to-date firmware, secured switch ports.
  3. Network: firewalls, segmentation, traffic encryption.
  4. Application: regular updates, strong authentication.
  5. Human: awareness, policies, training.

If one layer fails, the next layer still provides protection. This is a concept that will be used throughout this curriculum.

A 5-Minute Exercise for Beginners

  1. Run nmap against devices on your local network to see which ports are open.
  2. Write down three ports you see and find out what they are used for (80, 443, and 22 are common examples).
  3. Ask yourself: do all of these ports really need to be open?
# Scan the local network with nmap (replace the subnet to match your network)
nmap -sn 192.168.1.0/24
nmap -sS 192.168.1.5

Do not be discouraged if the results are confusing. This exercise is only meant to familiarize yourself with the terms, not to master nmap in a day.

Next in the curriculum: the following article covers TCP/IP for Security: Ports, Protocols, and Encapsulation, the protocol fundamentals that underlie every network attack.

References

  • RFC 4949, Internet Security Glossary, rfc-editor.org/rfc/rfc4949 (standardized definitions of security terms).
  • NIST SP 800-12 Rev 1, An Introduction to Information Security, csrc.nist.gov/pubs/sp/800/12/r1/final.
  • William Stallings, Network Security Essentials: Applications and Standards, Pearson (the opening chapters cover the CIA Triad and security models).
  • NIST, Computer Security Resource Center, csrc.nist.gov (a freely accessible library of security standards).
Open for Contributors

Your ideas deserve to be read by thousands of people.

ByteNesia is built for everyone. If you have experience, tutorials, or opinions about technology, write and share them here. Your name will be credited as a contributor.

Write anything: tool reviews, homelab tutorials, security tips, or your tech stories.

Discussion & Comments