Security Solutions
Lesson 9 named the threats. This lesson names the tools that stop them. The organising idea is defense in depth: no single control is enough, so security is stacked in layers from the physical wall to the data itself. Each layer assumes the one outside it will eventually fail.
Defense in depth
Defense in depth (layered security) means defending with many overlapping controls instead of one. If the firewall is bypassed, the intrusion-prevention system may catch the traffic; if that misses, endpoint protection may still stop the malware; if a host is compromised, encryption and segmentation limit what the attacker can reach. The goal is to make a successful attack so slow and noisy that it is either stopped or detected in time.
Firewalls and endpoint protection
A firewall enforces a security policy on traffic crossing between networks, usually at the edge between a trusted internal network and an untrusted one such as the Internet. It allows or denies traffic based on rules. Firewalls have evolved in capability.
| Type | How it decides | Notes |
|---|---|---|
| Packet-filtering firewall | Inspects each packet’s header in isolation — source/destination IP, protocol, and port. | Simple and fast, but stateless: it cannot tell whether a packet is part of a legitimate session. |
| Stateful firewall | Keeps a state table of active connections and allows return traffic for connections it already permitted. | Smarter and the modern baseline; a reply to an allowed outbound request is automatically allowed back. |
Endpoint protection
An endpoint is any device that could be the target or source of an attack — a PC, laptop, phone, server, or printer. Endpoint protection runs on the device itself.
- Antivirus / anti-malware — detects and removes known malicious software using signatures and heuristics. Signatures must be kept up to date, which is why patching matters.
- Host firewall — a software firewall on the host that blocks unwanted inbound connections.
- Endpoint detection and response (EDR) — modern endpoint protection that watches behaviour continuously and can isolate a compromised host automatically.
Access control lists
An access control list (ACL) is a written list of rules applied to a router or firewall interface. Each rule matches traffic (by source/destination address, protocol, or port) and the device takes the first matching rule — either permit or deny. ACLs are the simplest way to filter traffic at Layer 3 and Layer 4 and are a core CCNA configuration skill.
Secure remote access and VPNs
A virtual private network (VPN) creates an encrypted tunnel across an untrusted network such as the Internet, so that traffic is confidential and tamper-evident in transit.
| Type | Who uses it | What it connects |
|---|---|---|
| Site-to-site VPN | Two sites of the same organisation | Two gateways (for example two offices), transparently joining two networks. |
| Remote-access VPN | An individual user | A single client (teleworker, laptop, phone) to the corporate network. |
In a site-to-site VPN the branch router and the HQ router negotiate the tunnel themselves, so traffic between the two networks flows as if the sites were directly cabled and the users see no difference. In a remote-access VPN one individual connects in: a teleworker running a VPN client on a laptop creates a tunnel to the VPN gateway at the corporate edge, and their machine behaves as if it were plugged into the office network.
VPNs also replace insecure older remote protocols such as Telnet: instead of sending a clear-text login, administrators use SSH or a VPN to reach devices remotely.
IDS vs IPS
Both intrusion systems watch traffic for signs of an attack; the difference is what they do about it — and that difference is entirely about where they sit in the path.
| System | Full name | Behaviour |
|---|---|---|
| IDS | Intrusion Detection System | Detects and alerts. It is passive: it copies traffic, analyses it, and raises an alarm to an administrator. |
| IPS | Intrusion Prevention System | Detects and blocks. It sits inline in the traffic path and can drop or reset malicious packets in real time. |
Identity, physical security, encryption and monitoring
Authentication, authorisation, accounting
AAA is the framework that controls access to network devices and services:
- Authentication — who are you? Verifying identity with a password, a token, or biometrics.
- Authorisation — what are you allowed to do? Determining the commands or resources the authenticated user may use.
- Accounting — what did you do? Logging activity for auditing and billing.
Authentication is the first gate: until you have proved who you are, nothing else matters. Authorisation then decides what you may touch once inside — view-only access for some engineers, full configuration rights for others. Accounting turns a live network into evidence: who connected, when, to which device, and what they changed.
At a larger scale AAA is provided by a server such as Cisco ISE using the RADIUS or TACACS+ protocols. This lesson is only an introduction; Week 10 covers AAA configuration, patching, and device hardening in depth.
Physical security
Physical controls protect the equipment itself: locked server rooms, restricted-access cabinets, cable locks, surveillance cameras, and controlled entry. Physical security underpins everything else — an attacker with hands on a router can reset it or capture the console. In the lab you will connect to a router by console cable; in production that cable, and the room it lives in, must be physically protected.
Encryption
Encryption scrambles data so that only holders of the correct key can read it. It is the primary tool for confidentiality and, with integrity checks, for detecting tampering too. Two examples you will meet repeatedly:
- SSL / TLS — secures web traffic as HTTPS. The browser and server negotiate keys and then encrypt the session.
- IPsec — a suite of protocols that encrypts IP traffic; it is the usual technology behind VPN tunnels.
Hashing is related but different: it produces a fixed-size fingerprint of data to verify integrity, and it is how device passwords are stored (as you will see with enable secret in the lab).
Security monitoring
Finally, you must watch the network. Log collection and a SIEM (Security Information and Event Management) system gather events from firewalls, routers, servers, and endpoints so that analysts can spot patterns an individual device would miss. Monitoring turns the logs from every other layer into a single picture of what is happening — and it is how a defence that failed to block becomes a defence that detects.
Layer-to-tool map
This table maps each layer of defense in depth to its typical tools, so you can answer “which control belongs where” questions. The deeper configuration of AAA, patching, and device hardening is in Week 10.
| Layer of defence | Primary tools | Protects mainly |
|---|---|---|
| Physical | Locks, cabinets, access control, cameras | All goals — keeps hands off the gear |
| Perimeter | Firewall (packet-filtering, stateful), VPN | Availability & confidentiality at the edge |
| Network | ACLs, IDS/IPS, segmentation | Confidentiality & integrity of internal traffic |
| Endpoint | Antivirus/anti-malware, EDR, host firewall | Integrity & availability of hosts |
| Identity & data | AAA, encryption (TLS/IPsec), hashing | Confidentiality & integrity of data and accounts |
| Monitoring | Logs, SIEM | Detection across every layer |
Review
Check what you have learned with these review questions.
Sources & references
- Cisco. CCNA (200-301) Exam Topics, Domain 5.0 Security Fundamentals (5.5–5.8). cisco.com.
- NIST. SP 800-123: Guide to General Server Security (2008) — layered defence and host hardening. csrc.nist.gov.
- Rose, M. & Strom, D. RFC 2865: Remote Authentication Dial In User Service (RADIUS) (2000). rfc-editor.org/rfc/rfc2865.
- Kent, S. & Seo, K. RFC 4301: Security Architecture for the Internet Protocol (IPsec) (2005). rfc-editor.org/rfc/rfc4301.
Target exams: CCNA 200-301 v1.1 · CyberOps Associate 200-201. Last content verification: 2026-10-11.