All exams← All Cisco CCNA Practice notes

Security fundamentals: Cisco CCNA Practice revision notes

Revision notes

Security fundamentals — the big picture

CCNA security fundamentals cover the core concepts you need before touching a firewall CLI: threats, key security principles, and the basic controls Cisco expects you to recognise.

CIA triad

  • Confidentiality: only authorised people can read the data (encryption, ACLs).
  • Integrity: data has not been altered in transit or storage (hashing, checksums).
  • Availability: systems and data are accessible when needed (redundancy, DoS defence).
  • Every security control maps back to one or more of these three goals — a common exam trick is naming a control and asking which leg it protects.

AAA framework

  • Authentication: proving who you are (username/password, certificates, MFA).
  • Authorisation: what you are allowed to do once authenticated.
  • Accounting: logging what you actually did (audit trail).
  • Cisco devices commonly use TACACS+ (Cisco-proprietary, encrypts the whole packet, separates authentication/authorisation, uses TCP port 49) or RADIUS (open standard, only encrypts the password, combines authentication and authorisation, uses UDP ports 1812/1813 — older ports 1645/1646 still seen).
  • Common mistake: mixing up TACACS+ (TCP 49, full encryption) with RADIUS (UDP 1812/1813, partial encryption) — the exam loves this contrast.

Common threats and mitigations

  • Malware: viruses, worms, trojans, ransomware — mitigate with endpoint AV/AMP and patching.
  • Social engineering: phishing, pretexting, tailgating — mitigate with user training, not just tech.
  • Reconnaissance, access, and DoS attacks are the three classic attack categories.
  • Spoofing attacks (MAC, IP, DHCP) are countered on switches with Port Security, DHCP Snooping, Dynamic ARP Inspection (DAI), and IP Source Guard.
  • Password attacks: brute force and dictionary attacks — mitigate with complexity rules, lockout thresholds, and MFA.

Key device/network hardening

  • Disable unused ports and services; use SSH (TCP 22) not Telnet (TCP 23) for management — Telnet sends everything in clear text.
  • Use enable secret (MD5/scrypt-hashed) rather than the plaintext enable password.
  • Port Security limits the number of MAC addresses per switchport (default violation action is shutdown) to stop MAC flooding.
  • VPNs (IPsec, site-to-site or remote-access) protect data confidentiality and integrity over untrusted networks like the internet.

Common mistakes to avoid

  • Confusing authentication with authorisation — authentication is 'who', authorisation is 'what they can do'.
  • Thinking RADIUS encrypts the whole session — it only encrypts the password field.
  • Forgetting accounting is a distinct AAA pillar, not just a log file.
  • Assuming Telnet is 'good enough' for internal management — always default to SSH.

Key facts

Flashcards

What does the CIA triad stand for?
Confidentiality, Integrity, Availability.
tap to reveal
What does AAA stand for in network security?
Authentication, Authorisation, Accounting.
tap to reveal
Which AAA protocol is Cisco-proprietary and uses TCP port 49?
TACACS+.
tap to reveal
Which AAA protocol uses UDP ports 1812/1813 and only encrypts the password?
RADIUS.
tap to reveal
Does TACACS+ or RADIUS separate authentication and authorisation into distinct steps?
TACACS+ separates them; RADIUS combines them.
tap to reveal
What port does SSH use for secure management access?
TCP port 22.
tap to reveal
Why should Telnet be avoided for device management?
It sends all traffic, including passwords, in clear text (TCP port 23).
tap to reveal
What is the default violation action for Port Security on a Cisco switch?
Shutdown — the port goes into err-disabled state.
tap to reveal
Name three Layer 2 features that defend against spoofing attacks.
DHCP Snooping, Dynamic ARP Inspection (DAI), and IP Source Guard.
tap to reveal
What is the difference between enable password and enable secret?
Enable password is stored in plain text; enable secret is hashed (MD5 or scrypt) and is the secure choice.
tap to reveal
What are the three broad categories of network attacks?
Reconnaissance, access, and denial-of-service (DoS) attacks.
tap to reveal
What is the best mitigation against phishing and other social engineering attacks?
User awareness training, alongside technical email/web filtering controls.
tap to reveal
What technology protects data confidentiality and integrity over an untrusted network like the internet?
A VPN, typically using IPsec.
tap to reveal
In AAA, what does the accounting pillar provide?
A log/audit trail of what an authenticated and authorised user actually did on the system.
tap to reveal
Which legacy RADIUS ports might still be seen alongside 1812/1813?
UDP ports 1645 and 1646.
tap to reveal
Practice questions

Security fundamentals: 5 practice questions

Q1. What is the primary purpose of AAA in network security architecture?
  • A.  To encrypt all traffic between two network endpoints
  • B.  To control who can access a network, what they can do, and to log their activity
  • C.  To translate private IP addresses into public IP addresses
  • D.  To detect and block malware signatures at the network perimeter
Show answer & explanation
✓ Answer: B. To control who can access a network, what they can do, and to log their activity
AAA stands for Authentication, Authorization, and Accounting - it verifies identity, grants appropriate access rights, and records what was done. Encryption is a separate function (confidentiality), and NAT/malware detection are unrelated services.
Q2. Which term describes a weakness in a system that could be exploited by a threat?
  • A.  Exploit
  • B.  Mitigation
  • C.  Countermeasure
  • D.  Vulnerability
Show answer & explanation
✓ Answer: D. Vulnerability
A vulnerability is a flaw or weakness that a threat actor could exploit. An exploit is the tool or technique used to take advantage of a vulnerability, while mitigation and countermeasure refer to defensive actions taken against it.
Q3. An administrator wants to ensure that data has not been altered in transit. Which security principle does this address?
  • A.  Availability
  • B.  Non-repudiation
  • C.  Confidentiality
  • D.  Integrity
Show answer & explanation
✓ Answer: D. Integrity
Integrity ensures data remains unchanged and accurate from source to destination, typically verified using hashing. Confidentiality is about preventing unauthorized viewing, and availability is about ensuring access when needed.
Q4. Which type of attack involves an attacker positioning themselves between two communicating hosts to intercept or alter traffic?
  • A.  Man-in-the-middle attack
  • B.  SQL injection attack
  • C.  Buffer overflow attack
  • D.  Denial of service attack
Show answer & explanation
✓ Answer: A. Man-in-the-middle attack
A man-in-the-middle (MITM) attack occurs when an attacker secretly intercepts and possibly alters communication between two parties who believe they are communicating directly. DoS attacks aim to disrupt availability rather than intercept data.
Q5. What is the main goal of a distributed denial of service (DDoS) attack?
  • A.  Exploit a buffer overflow to gain remote code execution
  • B.  Modify routing tables to redirect traffic to an attacker
  • C.  Steal credentials by impersonating a legitimate login page
  • D.  Overwhelm a target with traffic from multiple sources to disrupt service availability
Show answer & explanation
✓ Answer: D. Overwhelm a target with traffic from multiple sources to disrupt service availability
A DDoS attack uses many compromised hosts (a botnet) to flood a target with traffic, exhausting resources and denying service to legitimate users. Credential theft and code execution describe different attack categories entirely.
Test yourself
See the Cisco CCNA Practice page

More Cisco CCNA Practice topics