Still managing routers with Telnet? In this Cisco lab an attacker on the same LAN captures the router passwords in clear text. Then we harden the router step by step: scrypt secrets, local users, SSH version 2, login protection, AAA and disabling unused services.
In this lab you will learn:
✅ Why Telnet and old password commands are dangerous
✅ Capturing a Telnet login with tcpdump (lab demo)
✅ enable secret with scrypt (type 9) and minimum password length
✅ Named local users instead of shared passwords
✅ SSH version 2 with a 2048-bit RSA key, Telnet disabled
✅ login block-for, exec-timeout and failure logging
✅ AAA new-model with local authentication (ready for RADIUS / TACACS+)
✅ Router hardening checklist
⏱️ Chapters:
0:00 Intro
0:19 Why Router Hardening Matters
0:47 Lab Topology
1:00 The Problem · A Weak Configuration
1:14 Attack · Sniffing Telnet
1:41 Fix 1 · Strong Secrets and Local Users
2:05 Fix 2 · SSH Only
2:26 Fix 3 · Login Protection and AAA
2:50 Verify the Hardening
3:22 Router Hardening Checklist
3:56 Recap
4:20 Outro
🧪 Key commands (R1):
no enable password
enable algorithm-type scrypt secret YOUR-STRONG-SECRET
security passwords min-length 12
service password-encryption
username admin privilege 15 algorithm-type scrypt secret YOUR-STRONG-PASSWORD
ip domain-name netacademy.local
crypto key generate rsa modulus 2048
ip ssh version 2
line vty 0 4
login local
transport input ssh
exec-timeout 5 0
login block-for 120 attempts 3 within 60
aaa new-model
aaa authentication login default local
no ip http server
⚠️ Educational purposes only. Test attacks only in your own lab.
📚 More networking labs: IPsec VPN, BGP, VLANs, OSPF, Layer 2 attacks, STP, ACLs, NAT — subscribe to netacademy.ge
© netacademy.ge — All rights reserved.
#CCNA #Cisco #NetworkSecurity #SSH #Networking