Security concepts: threats, vulnerabilities and mitigation

Four words

TermMeaningExample
VulnerabilityA weaknessA router that still accepts Telnet, with password cisco
ExploitSomething that uses a weaknessA script that tries common passwords on port 23
ThreatSomeone or something that could use an exploitAn attacker on the guest Wi-Fi
MitigationWhat reduces the riskSSH only, strong secrets, an ACL on the vty lines

Common attacks

AttackWhat happens
Denial of service (DoS / DDoS)Flood a device or link until real users can't get through
SpoofingFake a source address (IP, MAC) to hide or to pretend to be someone else
Reflection and amplificationSpoofed small requests make servers send big answers to the victim
Man-in-the-middleGet between two devices (ARP spoofing, a rogue DHCP server) to read or change traffic
ReconnaissanceScan and probe to learn what's on the network
MalwareViruses, worms, trojans, ransomware
Social engineeringPhishing, spear phishing, whaling, vishing, smishing, pretexting, tailgating
Password attacksGuessing, dictionary and brute-force attacks

A security program

  • User awareness: everyone knows the risks (phishing tests, posters, reminders).
  • User training: formal lessons for people with specific jobs.
  • Physical access control: locked rooms, badges, cameras. Anyone at a console port can reset the passwords, so the network room must be locked.

Passwords and beyond

Good password policy: long passphrases, no reuse, no shared accounts, changed after a leak (not every month for no reason). Better still, add another factor:

FactorExamples
Something you knowPassword, PIN
Something you havePhone app code, hardware key, smart card
Something you areFingerprint, face

Multi-factor authentication (MFA) needs two different kinds: a password plus a phone code is MFA, two passwords are not. Certificates prove identity with a key pair signed by a certificate authority (CA), as web servers and VPNs do.

VPNs

TypeWhoHow
Site-to-siteTwo offices, all their trafficIPsec between the two routers or firewalls; users notice nothing
Remote accessOne laptop to the officeA VPN client (TLS or IPsec) on the laptop

IPsec gives confidentiality (encryption), integrity (hashes), authentication (pre-shared keys or certificates) and anti-replay. Plain IPsec carries only unicast; GRE over IPsec also carries routing protocol multicasts.

Remember: Vulnerability = weakness, exploit = what uses it, threat = who could, mitigation = what stops it. MFA = two different kinds of factor.

HOME LABS COMMUNITY DASHBOARD