Switch Concepts and Configuration and Configuration Part II Advanced Computer Networks.

Slides:



Advertisements
Similar presentations
Mitigating Layer 2 Attacks
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 4: Routing Concepts Routing Protocols.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: Introduction to Switched Networks Routing And Switching 2.0.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Common Layer 2 Attacks and Countermeasures.
CCNA2-1 Chapter 1 Introduction to Routing and Packet Forwarding CLI Configuration and Addressing.
CCNA2 Module 4. Discovering and Connecting to Neighbors Enable and disable CDP Use the show cdp neighbors command Determine which neighboring devices.
1 Semester 2 Module 4 Learning about Other Devices Yuda college of business James Chen
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: Introduction to Switched Networks Routing and Switching.
Chapter 2: Introduction to Switched Networks
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: Introduction to Switched Networks Routing and Switching.
Ch. 6 – Switch Configuration CCNA 3 version Overview Identify the major components of a Catalyst switch Monitor switch activity and status using.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 6 Switch Configuration.
Managing Your Network Environment © 2004 Cisco Systems, Inc. All rights reserved. Managing Cisco IOS Devices INTRO v2.0—9-1.
Ch. 7 – Switch Configuration
COEN 252: Computer Forensics Router Investigation.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—7-1 Minimizing Service Loss and Data Theft Securing Network Services.
Network Security1 – Chapter 3 – Device Security (B) Security of major devices: How to protect the device against attacks aimed at compromising the device.
1 Chapter 6 Network Security Threats. 2 Objectives In this chapter, you will: Learn how to defend against packet sniffers Understand the TCP, UDP, and.
Routers A router is a computer Computers have four basic components:
1 Semester 2 Module 3 Configuring a Router Yuda college of business James Chen
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software.
Chapter 6 Router Configuration Sem 2V2. Configuration files can come from the console NVRAM TFTP server. The router has several modes:  privileged mode.
Configuring a network os
Module 6 – Switch Configuration CCNA 3 Cabrillo College.
TCP/SYN Attack – use ACL to allow traffic from TCP connections that were established from the internal network and block packets from an external network.
VLAN Trunking Protocol (VTP)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols.
Network Security1 – Chapter 5 – Secure LAN Switching Layer 2 security –Port security –IP permit lists –Protocol filtering –Controlling LAN floods (using.
Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 1 – Chapter 9 Ethernet Switch Configuration 1.
Discovery 2 Internetworking Module 5 JEOPARDY John Celum.
1 CHAPTER 3 CLASSES OF ATTACK. 2 Denial of Service (DoS) Takes place when availability to resource is intentionally blocked or degraded Takes place when.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 6 1 Basic Switch Concept Prepared by: Akhyari Nasir Resources form Internet.
The University of Bolton School of Games Computing & Creative Technologies LCT2516 Network Architecture CCNA Exploration LAN Switching and Wireless Chapter.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Configure a Switch LAN Switching and Wireless – Chapter 2.
CCNA3-1 Chapter 2-2 Chapter 2 Switch Concepts and Configuration Part II Pongpisit Wuttidittachotti, Ph.D. Faculty of Information Technology King Mongkut's.
CHAPTER 9 Sniffing.
Enabling Port Security
Module 3 Configuring a Router.
1 © 2005 Cisco Systems, Inc. All rights reserved. 111 © 2004, Cisco Systems, Inc. All rights reserved. CNIT 221 Security 2 ver.2 Module 8 City College.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Basic Switch Configurations.
Switching Topic 2 VLANs.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
Chapter 2: Configure a Network Operating System
Cisco Networking Academy Semester 3 Basic 1900 Switch Configuration.
Configuring a Router Module 3 Semester 2. Router Configuration Tasks Name a router Set passwords Examine show commands Configure a serial interface Configure.
+ Lecture#3: Configuring a Network Operating System Asma AlOSAIMI.
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
LAN Switching Virtual LANs. Virtual LAN Concepts A LAN includes all devices in the same broadcast domain. A broadcast domain includes the set of all LAN-connected.
Application Layer instructors at St. Clair College in Windsor, Ontario for their slides. Special thanks to instructors at St. Clair College in Windsor,
Cisco LAN Switches.
Instructor Materials Chapter 5: Network Security and Monitoring
Managing Your Network Environment
Layer 2 Attacks and Security
Understanding Switch Security
CCNA Routing and Switching Routing and Switching Essentials v6.0
– Chapter 5 – Secure LAN Switching
Chapter 5: Switch Configuration
Chapter 10: Device Discovery, Management, and Maintenance
CCNA Routing and Switching Routing and Switching Essentials v6.0
Chapter 2: Basic Switching Concepts and Configuration
NAT , Device Discovery Chapter 9 , chapter 10.
Chapter 2: Introduction to Switched Networks
Switch Concepts and Configuration Part II
Chapter 5: Network Security and Monitoring
Chapter 5: Switch Configuration
Chapter 10: Device Discovery, Management, and Maintenance
Configuring a Router Module 3 Semester 2.
Chapter 5: Switch Configuration
– Chapter 3 – Device Security (B)
Presentation transcript:

Switch Concepts and Configuration and Configuration Part II Advanced Computer Networks

Chapter 2-2 Configuring Switch Security Passwords Encryption Console Telnet / SSH Password Recovery MAC Address Flooding Spoofing Attacks CDP Attacks Telnet Attacks Security Tools Port Security

Chapter 2-2  Securing Console Access:

Chapter 2-2  Securing Virtual Terminal Access: There are 16 available default Telnet sessions as opposed to the 5 sessions set up for a router.

Chapter 2-2  Securing Privileged EXEC Access: Always use enable secret for password encryption.

Chapter 2-2  Encrypting Switch Passwords: You can encrypt all passwords assigned to a switch using the service password-encryption command.

Chapter 2-2  Password Recovery: To recover a switch password:  Power up the switch with the Mode button pressed.  Initialize flash.  Load helper files  Rename the current configuration file.  Reboot the system.  Reinstate the name of the configuration file and copy it into RAM.  Change the password.  Copy to start up configuration  Reload the switch. A detailed password recovery procedure will be provided.

Chapter 2-2  Login Banner:  Message-Of-The-Day (MOTD) Banner:

Chapter 2-2  Telnet: Most common method. Virtual Terminal application. Send in clear text. Not secure.  Secure Shell (SSH): Virtual Terminal application. Sends an encrypted data stream. Is secure.

Chapter 2-2  Configuring Telnet: Telnet is the default transport for the vty lines. No need to specify it after the initial configuration of the switch has been performed. If you have switched the transport protocol on the vty lines to permit only SSH, you need to enable the Telnet protocol to permit Telnet access.

Chapter 2-2  Configuring Secure Shell (SSH): SSH is a cryptographic security feature that is subject to export restrictions. To use this feature, a cryptographic image must be installed on your switch. Perform the following to configure SSH ONLY Access:

Chapter 2-2  MAC Address Flooding: Recall that the MAC address table in a switch:  Contains the MAC addresses available on a given physical port of a switch.  Contains the associated VLAN parameters for each.  Is searched for the destination address of a frame.  If it IS in the table, it is forwarded out the proper port.  If it IS NOT in the table, the frame is forwarded out all ports of the switch except the port that received the frame.

Chapter 2-2  MAC Address Flooding: The MAC address table is limited in size. An intruder will use a network attack tool that continually sends bogus MAC addresses to the switch.  (e.g. 155,000 MAC addresses per minute) The switch learns each bogus address and in a short span of time, the table becomes full. When a switch MAC table becomes full and stays full, it has no choice but to forward each frame it receives out of every port – just like a hub. The intruder can now see all the traffic on the switch.

Chapter 2-2  Spoofing Attacks: Man-In-The-Middle:  Intercepting network traffic.  DHCP or DNS spoofing.  The attacking device responds to DHCP or DNS requests with IP configuration or address information that points the user to the intruder’s destination. DHCP Starvation:  The attacking device continually requests IP addresses from a real DHCP server with continually changing MAC addresses.  Eventually the pool of addresses is used up and actual users cannot access the network.

Chapter 2-2  CDP Attacks: Cisco Discovery Protocol (CDP) is a proprietary protocol that exchanges information among Cisco devices.  IP address  Software version  Platform  Capabilities  Native VLAN (Trunk Links – Chapter 3). With a free network sniffer (Wireshark) an intruder could obtain this information. It can be used to find ways to perform Denial Of Service (DoS) attacks and others.

Chapter 2-2  Telnet Attacks: Recall that Telnet transmits in plain text and is not secure. While you may have set passwords, the following types of attacks are possible.  Brute force (password guessing)  DoS (Denial of Service)  With a free network sniffer (Wireshark) an intruder could obtain this information. Solutions:  Use strong passwords and change them frequently.  Use SSH.

Chapter 2-2  Help you test your network for various weaknesses. They are tools that allow you to play the roles of a hacker and a network security analyst. Network Security Audits:  Reveals what sort of information an attacker can gather simply by monitoring network traffic.  Determine MAC address table limits and age-out period. Network Penetration Testing:  Identify security weaknesses.  Plan to avoid performance impacts.

Chapter 2-2  Common Features: Service Identification:  IANA port numbers, discover FTP and HTTP servers, test all of the services running on a host. Support of SSL Service:  Testing services that use SSL Level security.  HTTPS, SMTPS, IMAPS and security certificates. Non-destructive and Destructive Testing:  Security audits that can degrade performance. Database of Vulnerabilities:  Compile a database that can be updated over time.

Chapter 2-2  You can use them to: Capture chat messages. Capture files from NFS traffic. Capture HTTP requests. Capture mail messages. Capture passwords. Display captured URLs in a browser in real-time. Flood a switched LAN with random MAC addresses. Forge replies to DNS addresses. Intercept packets.

Chapter 2-2  Implement Port Security to: Port security is disabled by default. Limit the number of valid MAC addresses allowed on a port. When you assign secure MAC addresses to a secure port, the port does not forward packets with source addresses outside the group of defined addresses.  Specify a group of valid MAC addresses allowed on a port.  Or Allow only one MAC address access to the port.  Specify that the port automatically shuts down if an invalid MAC address is detected.

Chapter 2-2  Secure MAC Address types: Static:  Manually specify that a specific MAC address is the ONLY address allowed to connect to that port.  They are added to the MAC address table and stored in the running configuration. Dynamic:  MAC addresses are learned dynamically when a device connects to the switch.  They are stored in the address table and are lost when the switch reloads.

Chapter 2-2  Secure MAC Address types: Sticky:  Specifies that MAC addresses are:  Dynamically learned.  Added to the MAC address table.  Stored in the running configuration.  You may also manually add a MAC address.  MAC addresses that are “sticky learned” (you will hear that phrase) will be lost if you fail to save your configuration.

Chapter 2-2  Security Violation Modes: Violations occur when:  A station whose MAC address is not in the address table attempts to access the interface and the address table is full.  An address is being used on two secure interfaces in the same VLAN.  Modes:  Protect: drop frames – no notify  Restrict: drop frames - notify  Shutdown: disable port - notify

Chapter 2-2  Default Security Configuration:

Chapter 2-2  Configure Static Port Security: ONLY address allowed. Add to MAC table and running configuration.

Chapter 2-2  Configure Dynamic Port Security: Dynamically learned when the device connects. Added to MAC table only.

Chapter 2-2  Configure Sticky Port Security: Dynamically learn MAC addresses. Add to MAC table and running configuration.

Chapter 2-2  Verify Port Security Settings:

Chapter 2-2  Verify Secure MAC Addresses:

Chapter 2-2  Disable unused ports: You can specify a range of interfaces. For example, to specify the first 10 interfaces: interface range fastethernet 0/ You can specify a range of interfaces. For example, to specify the first 10 interfaces: interface range fastethernet 0/1 - 10