CiscoRouterHardening
CiscoRouterHardening
Omitron, Inc.
AGENDA
• Basic Configuration
• Cannot teach router configuration here
• Assume some familiarity with Cisco IOS
• Many aspects are not covered
• Router Hardening
• Network Hardening
BASIC CONFIGURATION
• Architecture
• Console Password
• Time Services
• Logging
• Access Control Lists
ARCHITECTURE
• Routers 101
• A router is a computer dedicated to forwarding packets
between networks
• Makes routing decisions
• Applies traffic filters
• Relays packet data
• Exchanges link state information with other routers
• Examples:
# access-list 101 deny ip any 172.16.1.0 0.255.255.255 log
# access-list 102 deny ip any 1.0.0.0 0.255.255.255 log
# access-list 102 deny icmp any any log
# interface Serial 0/0
# ip access-group 101 out
# ip access-group 102 in
# exit
ROUTER HARDENING
• Remote Terminal
Access
• AAA
• Secure Shell & Secure
Copy
• SNMP
• Disabling Unsafe
Defaults
REMOTE TERMINAL ACCESS
• A necessary evil
• Hard to manage routers without it
• Use access lists to restrict who can see data
• Use views to restrict what they can see
• Choose non-obvious community strings, and use different
strings and ACLs for read & write access
• Example:
# access-list 80 permit 172.16.0.0 0.0.255.255
# access-list 90 permit 172.16.1.2
# snmp-server community ReadString view ViewName RO 80
# snmp-server community WriteString RW 90
# snmp-server view ViewName 1.3.6.2.4 excluded
# snmp-server enable traps
# snmp-server host 172.16.1.2 version 2c TrapString
UNSAFE DEFAULTS
• Broadcast Forwarding
• Denial-of-Service
Hardening
• Routing Protocols
• Going Operational
BROADCAST FORWARDING
• Securing individual
routing protocols is
beyond the scope of
this talk
GOING OPERATIONAL
# reload
• Services
• Risk Assessments
• Network Vulnerability / Penetration Testing
• Architecture, Design, & Integration
• Firewalls, VPN, IDS, Remote Access, Wireless, COMSEC
• Policy Development
• Compliance Audits
• Business Continuity / Disaster Recovery Planning
• Security Awareness & Training
CONTACT INFORMATION
• Headquarters
7051 Muirkirk Meadows Drive, Suite A
Beltsville, MD 20705
301-474-1700
Attn: George Sauble
http://www.omitron.com
• Craig Biggerstaff
281-483-2027
mailto:craig.biggerstaff@omitron.com