🎯 What you'll learn: Common security threats and vulnerabilities, types of malware and network attacks, the defense-in-depth approach, key mitigations including firewalls and AAA, and how to harden a Cisco device with strong passwords and SSH.
Section 1
Security Threats and Vulnerabilities
A vulnerability is a weakness in a system that can be exploited. A threat is the potential danger that exploits that weakness. Understanding both is the starting point for any security strategy — you defend against threats by closing vulnerabilities.
Technological
Software & Hardware Flaws
Unpatched OS vulnerabilities, weak protocol design (e.g. unencrypted Telnet), misconfigured devices, and default credentials left unchanged.
Configuration
Human Setup Mistakes
Unsecured accounts, overly permissive access controls, and insecure default settings that were never hardened.
Policy
Process Gaps
Missing or unenforced written security policy, lack of disaster recovery planning, and inconsistent software/hardware installation procedures.
Physical security matters just as much as digital security. An attacker with physical access to a device can often bypass software protections entirely — through console access, removing drives, or even simple device theft. The four major classes of physical threats are hardware, environmental, electrical, and maintenance-related.
⚠️
Physical Access Often Beats Logical Security
No amount of password complexity matters if an attacker can walk up to an unsecured router and use the console port with password recovery procedures. Locked server rooms, cable management, and controlled physical access are foundational — not optional extras layered on top of "real" security.
Section 2
Network Attacks
Network attacks generally fall into a few broad categories, each with a different goal.
Malware
Viruses, Worms, Trojans
Malicious software. Viruses need a host program and user action to spread; worms self-replicate across networks without help; trojans disguise themselves as legitimate software.
Reconnaissance
Information Gathering
The attacker's first step — scanning for open ports, live hosts, and software versions before launching a real attack. Often goes unnoticed since no damage occurs yet.
Access Attacks
Exploiting Weaknesses to Gain Entry
Password attacks, trust exploitation, port redirection, and man-in-the-middle attacks — all aimed at gaining unauthorized access to systems or data.
DoS / DDoS
Denial of Service
Overwhelms a target with traffic or requests until it can no longer serve legitimate users. DDoS uses many distributed sources (often a botnet) simultaneously.
💡
Reconnaissance Is the Quiet First Step
Most successful attacks begin with reconnaissance — port scans, DNS queries, social media research — long before any actual exploitation. This is why monitoring for unusual scanning activity is a key part of early threat detection, not just watching for active attacks already in progress.
Section 3
Network Attack Mitigations
No single tool stops every attack. The defense-in-depth approach layers multiple, independent security measures so that if one fails, others still protect the network.
Backups
Recovery Insurance
Regular, tested, and ideally offline/offsite backups ensure data can be restored after ransomware, hardware failure, or accidental deletion.
Patching
Upgrade, Update, Patch
Most successful exploits target known, already-patched vulnerabilities — keeping software current closes the door before attackers can use them.
AAA
Authentication, Authorization, Accounting
Authentication confirms identity, authorization defines what that identity can do, accounting logs what they actually did — together forming the core of access control.
Firewalls
Traffic Filtering
Inspects and filters traffic between trust zones based on rules — types include packet-filtering, stateful, and next-generation firewalls.
Endpoint Security
Protecting the Device Itself
Antivirus/anti-malware, host-based firewalls, and device hardening protect the endpoint even if network-level defenses are bypassed.
✨
AAA: Three Distinct, Sequential Steps
Authentication ("who are you?") always happens first. Authorization ("what are you allowed to do?") happens next, based on the authenticated identity. Accounting ("what did you actually do?") happens continuously, creating an audit trail. Confusing these three is a very common exam mistake — they answer different questions.
Section 4
Device Security
Securing individual network devices (routers, switches) is a practical, hands-on extension of the password and access concepts from Module 10. A few additional steps round out a properly hardened device.
Enable SSH for Secure Remote Access
Cisco IOS
! 1. Set a hostname and domain name (required for SSH key generation)Router(config)#hostnameR1R1(config)#ip domain-namebitwithbite.local! 2. Generate the RSA key pair (minimum 1024 bits — 2048 recommended)R1(config)#crypto key generate rsaHow many bits in the modulus [512]:2048! 3. Create a local user accountR1(config)#usernameadmin secret StrongPass123!! 4. Configure VTY lines to use SSH only and local authenticationR1(config)#line vty 0 4R1(config-line)#transport input sshR1(config-line)#login localR1(config-line)#exit! 5. Force SSH version 2 (more secure than version 1)R1(config)#ip ssh version 2
Other key device hardening steps: disable unused services (CDP, HTTP server, unused interfaces) to reduce the attack surface, use enable secret instead of enable password, and consider Cisco AutoSecure, a single command that applies a baseline of recommended security settings automatically.
⚠️
Telnet Sends Everything in Cleartext
Telnet (port 23) transmits usernames, passwords, and all session data unencrypted — anyone capturing traffic on the path can read it directly. SSH (port 22) encrypts the entire session. Modern best practice disables Telnet entirely with transport input ssh.
Section 5
Types of Firewalls
Firewalls have evolved significantly, each generation adding more context about the traffic it inspects.
Packet Filtering
Basic ACL-Based
Allows or denies traffic based on source/destination IP, port, and protocol alone — no awareness of connection state.
Stateful
Connection-Aware
Tracks the state of active connections, automatically allowing return traffic for connections initiated from inside — far more secure than stateless filtering.
Application Layer
Deep Packet Inspection
Inspects the actual application data (Layer 7), not just headers — can identify and block specific applications or malicious payloads.
Next-Gen (NGFW)
All-in-One
Combines stateful inspection, intrusion prevention (IPS), application awareness, and threat intelligence in a single platform.
🧱
Stateful Firewalls Auto-Allow Return Traffic
If an internal host initiates a connection out to a web server, a stateful firewall automatically permits the server's response back in — without needing a separate inbound rule. This is the key advantage over basic packet filtering, which would need explicit rules in both directions.
Section 6
Putting Security Into Practice
A secure network isn't the result of one perfect tool — it's the layered combination of everything covered in this module, applied consistently.
An attacker who breaches one layer (say, gets past the perimeter firewall through a misconfigured rule) still has to get past device hardening and endpoint protection. Each layer that holds buys time to detect and respond to the breach.
🔬
Challenge — Identify the Missing Layer
Apply defense-in-depth thinking to a real scenario
Scenario: A small office has a firewall at the internet edge and antivirus on every PC. An employee plugs an unknown USB drive into their laptop, and it turns out to contain malware that spreads across the LAN.
Task: Identify which layer(s) of defense-in-depth were missing or insufficient, and suggest at least two specific mitigations that would have helped in this scenario.
💡 Show suggested answer
The firewall only protects the network perimeter — it can't see a threat introduced locally via USB
Endpoint security (antivirus) existed but apparently failed to catch this specific malware — signature-based AV alone isn't foolproof
Missing layer: device/policy controls — disabling USB ports via group policy, or requiring removable media to be scanned before use
Missing layer: network segmentation — VLANs could have limited how far the malware could spread laterally even after infecting one host
Missing layer: user awareness training — policies against plugging in unknown removable media in the first place
🧩 Knowledge Check
10 questions — Network Security Fundamentals
1. What is the difference between a vulnerability and a threat?
2. Which type of malware self-replicates across a network without needing a host program?
3. A DDoS attack differs from a basic DoS attack because it:
4. In the AAA security model, what does the "Accounting" component do?
5. Which command on a Cisco router restricts remote access to SSH only, disabling Telnet?
6. Why is Telnet considered insecure for remote device management?
7. What distinguishes a stateful firewall from a basic packet-filtering firewall?
8. Which is an example of a configuration-related vulnerability, rather than a technological one?
9. What is the core idea behind "defense-in-depth"?
10. Reconnaissance attacks are primarily used to:
Finished this module?
Mark it complete to track your CCNA progress.
🎉
Module 16 Complete!
You now understand security threats, malware, attack mitigations, AAA, firewalls, and how to harden a device with SSH. One module left — let's build a small network!