Security Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=742
Answer
Security fundamentals are the terms used to reason about risk: a threat is someone or something that could cause harm, a vulnerability is a weakness, an exploit is the way the weakness is used, risk is the likelihood and impact combined, and a mitigation reduces it.
Remember
Risk = likelihood × impact. A vulnerability with a public exploit on an internet-facing device is urgent; the same flaw on an isolated lab device may not be. Protect confidentiality, integrity and availability (CIA).
First checks
show version— exact software release, to compare with vendor advisories.- Cisco Software Checker / PSIRT advisories — known vulnerabilities for that release.
show control-plane host open-ports— services an attacker could reach.show running-config | include http server|snmp-server community|transport input— common exposures.
Commands
show logging- Local state
Verify in this order
asset identified → exposure known → vulnerability matched to the running release and enabled features → exploitability assessed → risk rated → mitigation applied → residual risk accepted or reduced further
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=742