Skip to content
ImagineWorld

Cisco Switches and Routers: Access Methods and Security Assessments

node_idnode-book_it-audit-field-manual_chapter-03-cisco-switches-and-routers-access-methods-and-security-asses
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num3
chapter_titleCisco Switches and Routers: Access Methods and Security Assessments
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 3 — Cisco Switches and Routers: Access Methods and Security Assessments

Section titled “Chapter 3 — Cisco Switches and Routers: Access Methods and Security Assessments”

To do an IT audit well, the auditor needs different skills and knowledge beyond competencies in audit methodology and processes. Having some technical background may be very helpful in IT auditing. Common areas of IT auditing are networks and infrastructure. As an example, in this chapter, we will speak about the popular network devices made by Cisco. Since they are common subjects of audit reviews, we will explain how to assess them. We selected these devices due to their popularity and access to tools such as Cisco Packet Tracer (https://www.netacad.com/courses/packet-tracer) to reinforce real-world configuration experiences. You will explore the architecture and functions of Cisco switches and routers, understand the security risks associated with these devices, learn about the various access methods available, and walk through the process of conducting detailed security assessments, including using the Cisco Command-Line Interface (CLI) tool to review security configurations. By the end of this chapter, you’ll have a firm foundation in Cisco device security and the confidence to apply these principles in real-world situations.

In this chapter, we’re going to cover the following main topics:

  • Understanding Cisco switches and routers
  • Security risks associated with Cisco devices
  • Access methods for Cisco switches and routers
  • Conducting security assessments on Cisco devices

Note

No book can cover all the items needed to conduct a full security assessment of every networking device. However, with a consistent and methodical process, you can approach any IT audit that includes most network devices such as Cisco routers and switches with confidence. Cisco devices are used throughout this chapter due to the open source availability of training tools that offer auditors lifelike environments to practice and learn.

Before exploring the specifics of switches and routers, it is important to understand some fundamental networking concepts. While we could not cover every networking aspect in this book, these foundational topics will help you understand network devices’ detailed workings and configurations.

To start, we need to understand what network topology is and the different types that exist.

Network topology refers to a computer network’s physical or logical arrangement of different elements (links, nodes, etc.). It defines how devices are interconnected and how data flows between them:

There are several network topologies, each with advantages and disadvantages. Let’s look at a few common topologies an auditor might encounter:

  • Star topology: In this configuration, all devices are connected to a central hub, which acts as a repeater for data flow. A star topology is easy to install and manage but relies heavily on the hub. If the hub fails, the entire network is affected.
  • Ring topology: Each device is connected to two other devices, forming a circular pathway for signals. Data travels in one direction, and each device has exactly two neighbors for communication purposes. A ring topology can be more reliable than a star but can become inefficient as the network grows.
  • Bus topology: All devices share a single communication line or bus. Data sent by one device is available to all others, but only the intended recipient processes the data. A bus topology is simple and cost-effective for small networks but becomes inefficient and slow with increased traffic.
  • Mesh topology: Every device is connected to every other device in the network. A mesh provides high redundancy and reliability because multiple paths exist for data transmission. However, a mesh can be expensive and complex to implement.
  • Hybrid topology: A combination of two or more different types of topologies. For example, a large network might be designed as a star of star topologies or a star-ring topology. A hybrid topology allows for greater scalability and flexibility.

A solid grasp of basic networking concepts is essential for understanding how networks operate and performing effective audits:

  • OSI model: The Open Systems Interconnection (OSI) model is a conceptual framework that standardizes the functions of a telecommunication or computing system into seven distinct layers. These layers are designed to enable interoperability between different products and software. Let’s take a look at the layers that make up the OSI model:
    • Physical layer: This layer deals with the physical connection between devices and the transmission of binary data over physical mediums such as cables, switches, and routers.
      • Data Link layer: Responsible for node-to-node data transfer and error detection and correction. It also handles MAC addressing.
      • Network layer: Manages the routing of data packets across the network. It uses logical addressing (IP addresses) to determine the best path for data delivery.
      • Transport layer: Ensures reliable data transfer between devices. It includes protocols such as TCP (which ensures reliable communication) and UDP (which provides faster but less reliable communication).
      • Session layer: Manages sessions or connections between applications. It establishes, maintains, and terminates connections.
      • Presentation layer: Translates data between the application layer and the network. It handles data encryption, compression, and translation.
      • Application layer: Provides network services directly to end user applications. Protocols in this layer include Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), and Simple Mail Transfer Protocol (SMTP)
  • TCP/IP model: The Transmission Control Protocol/Internet Protocol (TCP/IP) model is a simplified network communications framework consisting of four layers. The TCP/IP model is the foundation of the internet and defines how data should be packetized, addressed, transmitted, routed, and received. Let’s take a look at some of the layers that make up the TCP/IP model:
    • Network interface layer: Corresponding to the OSI model’s Physical and Data Link layers, it handles the physical transmission of data over network hardware, including Ethernet and Wi-Fi.
      • Internet layer: Corresponding to the OSI model’s Network layer, it handles the addressing and routing of data packets between devices on different networks. Key protocols include IP and Internet Control Message Protocol (ICMP).
      • Transport layer: Corresponding to the OSI model’s Transport layer, it ensures reliable data transfer between devices. Key protocols include TCP, which provides connection-oriented communication, and User Datagram Protocol (UDP), which offers connectionless communication.
      • Application layer: Corresponding to the OSI model’s Session, Presentation, and Application layers, it contains protocols used by applications to communicate over the network, such as HTTP, FTP and SMTP.

Understanding these models is important for comprehending how data is transmitted and received across networks. The OSI model provides a detailed framework for networking protocols, while the TCP/IP model simplifies these concepts into a practical, real-world implementation used in modern networks.

Understanding network logs is another essential skill for monitoring and maintaining network security and performance. These logs provide valuable insights into the network’s activities, helping administrators and auditors identify issues and ensure compliance with security policies.

Logs are records of events occurring within a network, including user activities, system events, and security incidents. Logs are important for several reasons:

  • Security monitoring: Logs help detect and analyze security threats and incidents, such as unauthorized access attempts, malware infections, and policy violations.
  • Troubleshooting: Logs provide detailed information about network operations and errors, aiding in diagnosing and resolving technical issues.
  • Compliance: Regulatory requirements often mandate logging and monitoring activities. Logs serve as evidence that an organization is complying with these regulations and can be audited to verify adherence.

There are various types of logs that network devices and systems generate, including the following:

  • System logs (Syslogs): These logs capture events from network devices such as routers, switches, and firewalls, recording system messages, errors, and status changes
  • Security logs: Security Logs document security-related events such as access control decisions, firewall rule matches, and intrusion detection system alerts
  • Application logs: These logs record events from specific applications, providing insights into application performance and usage patterns
  • Audit logs: These logs track user activities, such as logins, logouts, and access to sensitive data, helping ensure accountability and traceability

Regularly reviewing logs helps in identifying anomalies, troubleshooting issues, and maintaining security. Effective log management includes the following:

  • Collection: Ensuring that all relevant logs are collected from various sources within the network.
  • Storage: Safely storing logs for a defined period to comply with retention policies and facilitate historical analysis. We will explore auditing these storage devices in Chapter 8, Wireless Access Points and Storage Technology Auditing.
  • Analysis: Using tools and techniques to analyze log data, identify patterns, and detect anomalies.
  • Alerting: Setting up automated alerts for critical events to ensure timely responses to potential security incidents.
  • Reporting: Generating regular reports to summarize log data, highlight key findings, and support decision-making.

Auditors can significantly enhance their ability to monitor network activities, ensure compliance, and maintain robust security measures by understanding and effectively managing network logs.

To ensure network security, it is important to understand common vulnerabilities and how they are documented and managed. One key system for this is the Common Vulnerabilities and Exposures (CVE) system.

The CVE system is a widely used method for identifying and cataloging security vulnerabilities in software and hardware. Managed by the MITRE Corporation, the CVE system provides a standardized identifier for each vulnerability, making it easier to share data across different security tools and services. Figure 3*.1* shows what a CVE report looks like. Each CVE entry includes the following:

  • Identification number: A unique identifier for each vulnerability (e.g., CVE-2021-34527)
  • Description: A brief summary of the vulnerability, including its nature and potential impact
  • References: Links to detailed vulnerability reports, advisories, and patches from various sources

Understanding and utilizing the CVE system helps auditors identify known vulnerabilities in network devices. By cross-referencing CVE entries, auditors can ensure that the latest patches and updates have been applied, mitigating the risk of exploitation.

We will discuss CVEs throughout this chapter and the book because they are integral to identifying and managing vulnerabilities during an audit. By familiarizing yourself with CVEs, you will be better equipped to evaluate the security posture of network devices and ensure that they comply with industry standards and best practices. Figure 3*.1* provides an example of a CVE entry, illustrating the key components and information included in a CVE report.

Figure 3.1 – CVE for Cisco device (© 2024 The MITRE Corporation. All rights reserved. Used under license)

Welcome to the intricate and essential world of network infrastructure, the backbone of data communication. This complex system comprises various elements, each vital in ensuring the seamless flow and management of data.

Let’s break down the roles of each component:

  • Switches: Switches are used to help devices on the same network communicate. They operate within a local area network (LAN), connecting multiple devices – such as computers, printers, and servers – within a single network. Switches manage the data flow within this network, ensuring that the information sent by one device is accurately delivered to the correct destination device. By efficiently managing data packets, switches play a critical role in maintaining the speed and reliability of internal network communications.
  • Routers: Routers allow different networks to communicate with each other. They determine the best paths for data packets to travel across diverse networks. Routers connect different networks, from a small office network to the vast expanse of the internet or interlinking multiple office locations. Their role in directing traffic between and within networks is vital for maintaining efficient data flow and guiding communication.

Figure 3.2 – Local area network

The preceding figure illustrates a common network setup for a small office, showing how switches and routers interconnect various devices. You can also see how Cisco uses iconography to express specific network devices such as switches and routers and positive network flow using green triangles.

Let’s break down this setup:

  • The Cisco 2960-24TT switch (Switch0) is at the center of the network, connecting multiple PCs via Ethernet cables
  • Each PC has a unique IP address within the same subnet (192.168.1.x), which allows them to communicate with each other through the switch
  • The switch manages the data traffic within the network, ensuring that data packets sent from one PC reach the correct destination

This setup shows a simple LAN where all devices are connected to a single switch, enabling communication within the local network. The switch is important in directing traffic and ensuring efficient data flow between the connected devices.

Beyond switches and routers, other essential network components not shown in the figure that you might encounter include servers, cables, and wireless access points (WAPs):

  • Servers: Servers act as central repositories, storing, processing, and managing data and applications.
  • Cables: Whether fiber optic or copper, cables are the physical pathways that carry data across the network.
  • WAPs: WAPs extend the functionality of a wired network to wireless devices, enabling mobility and flexibility in connectivity. We will cover auditing WAPs in Chapter 8, Wireless Access Points and Storage Technology Auditing.

The preceding figure shows a network using a Cisco 2960 switch at the center to connect various network devices. Each component works in tandem to create a cohesive and functional network. The health and performance of a network heavily depend on how well these elements are integrated and managed.

In addition to the basic network infrastructure components, IT auditors will also be responsible for assessing other critical network devices that enhance security and data protection. These devices include the following:

  • Firewalls: Firewalls are security devices that monitor and control incoming and outgoing network traffic based on predetermined security rules. They act as a barrier between trusted internal networks and untrusted external networks, such as the internet, to prevent unauthorized access and cyber-attacks.
  • Intrusion detection systems (IDS) and intrusion prevention systems (IPS): IDS and IPS are designed to detect and prevent potential security breaches. An IDS monitors network traffic for suspicious activity and alerts administrators, while an IPS actively blocks detected threats to protect the network.
  • Data loss prevention (DLP) systems: DLP systems detect and prevent data breaches by monitoring and controlling the movement of sensitive data within the network. They also ensure that confidential information is not shared outside the organization without authorization.

Figure 3.3 – 2960 switch network

For IT auditors, understanding the roles and interactions of these components is certainly important. It allows for a comprehensive assessment of network infrastructures, identification of potential vulnerabilities, and ensuring optimal performance.

As we examine the inner workings of Cisco switches and routers, remember that these devices represent most network devices with regard to how they function and their purpose. The technical networking approach will remain the same, with different software commands based on the specific vendor’s equipment. A strong foundation in understanding network infrastructure is beneficial and essential for anyone aspiring to excel in IT auditing.

Access methods for Cisco switches and routers

Section titled “Access methods for Cisco switches and routers”

The CLI is the primary interface for interacting with Cisco devices, offering a granular level of control for configuring and monitoring the network. It’s a text-based interface where commands are entered, offering direct communication with the device’s operating system, Cisco IOS.

For instance, to access a Cisco device via the CLI, you might start a session using a console connection or through SSH for remote access. Once authenticated, you would enter the privileged EXEC mode by typing enable, followed by the appropriate password when prompted. From there, entering the configure terminal command switches to global configuration mode, where various settings can be adjusted.

An entry to configure a GigatbitEthernet 0/1 interface might look like this:

Router> enable
Password: [enter your password here]
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/1
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit
Router(config)# exit
Router#

This sequence sets a static IP address to an interface and then activates it. Auditors use similar CLI interactions to verify configurations against best practices and security policies.

One of the most common ways an auditor will leverage the CLI is to check configurations on a router or switch. Let’s take a look at how you might leverage the CLI and a series of show commands to review a network device configuration against a standard or configuration requirement:

  • Check interface status and configuration: To verify each interface’s IP address, status, and protocol activity, ensuring that they are correctly set up and operational, type in the
    show ip interface brief
    Let’s see what happens when we run the show ip interface brief command in a router with an open Gigabit Ethernet port:
    Router> show ip interface brief
    Interface IP-Address OK? Method Status Protocol
    GigabitEthernet0/1 192.168.1.1 YES manual up up
  • Inspect routing protocols: To examine the routing protocols configured on the router, such as Open Shortest Path First (OSPF), you need to type the following command. This will ensure they match the intended network design and routing policy:
    show ip protocols
    This command provides details about the routing protocols in use on the router, including their configuration and status:
    Routing Protocol is "ospf 1"
    Outgoing update filter list for all interfaces is not set
  • Review access control lists (ACLs): The show access-lists command allows auditors to review the ACLs in place, checking that they are correctly securing traffic to and from the network:
    show access-lists
    Executing this command will display the configured ACLs, helping auditors verify that traffic is properly controlled:
    Router> show access-lists
    Standard IP access list 1
    10 permit 192.168.1.0, wildcard bits 0.0.0.255
  • Verify network address translation (NAT) entries: Auditors verify NAT entries with the following command to ensure that internal IP addresses are correctly translated for
    show ip nat translations
    Running this command will show the current NATs, confirming that internal addresses are mapped correctly to external addresses:
    Router> show ip nat translations
    Pro Inside global Inside local Outside local Outside global
    tcp 203.0.113.5:22 192.168.1.5:22 --- ---
  • Examine quality of service (QoS) settings: Using the following command, auditors can examine QoS settings to validate that traffic is prioritized according to the
    show policy-map
    This command displays the QoS policies applied to the router, ensuring that critical traffic is prioritized appropriately:
    Router> show policy-map
    Policy Map QoS-Policy
    Class class-default
    bandwidth percent 20
  • Validate VLAN configurations: The following command is important for auditors to verify that VLANs are configured and functioning as intended and that appropriate ports are assigned to
    show vlan brief
    This command provides a summary of the VLAN configurations, helping auditors ensure that VLANs are correctly set up and operational:
    Router> show vlan brief
    VLAN Name Status Ports
    1 default active Gi0/1, Gi0/2
    10 Users active Gi0/3

These outputs are a snapshot of the router’s configuration state, which the auditor would compare against predefined standards to ensure that the router is correctly configured. Each audit is different, and you should customize these checks for each audit you plan to complete.

The Cisco Catalyst 2960-X series represents a line of fixed-configuration, stackable Gigabit Ethernet switches that offer solid performance, robust security, and reliable sustainability for small to medium-sized business networks. These switches are designed to enable efficient network operation by extending enterprise-class services to the network edge. In network infrastructure, the 2960-X series functions as a foundational element, connecting various devices within the network, such as computers, printers, and servers, and enabling communication between them. Figure 3*.4* shows the switches’ capability to be stacked – physically connecting multiple switches to operate as a single unit enhances network scalability and simplifies management, making them ideal for growing businesses that anticipate future expansion.

Figure 3.4 – 2960 network sample

In an IT audit context, understanding the specific capabilities and features of the 2960-X series is crucial. These switches are connectivity facilitators and critical points for implementing network security policies and managing data flow.

For the full technical details, go to Cisco’s main site, but here are the key features and technical details that are particularly relevant for IT auditors:

  • Stacking capabilities (FlexStack-Plus): Allows up to eight switches to be stacked, providing scalability and ease of management. The stacking capabilities of the 2960-X series, through FlexStack-Plus, are important for auditors to assess scalability and operational efficiency. In growing network environments, the ability to add additional switches without significant restructuring is a key factor in network resilience and future-proofing. Auditors should evaluate how effectively the network can scale while maintaining performance and security standards.
  • Power over Ethernet Plus (PoE+): Supports up to 740W of PoE budget for powering devices such as IP cameras and WAPs directly through the network cable. Auditors should check whether the power distribution across the network devices is optimized and whether critical devices are prioritized.
  • Layer 2 and 3 features: Include advanced QoS, VLANs, and ACLs for traffic segmentation and prioritization. Layer 2 (data link layer) and Layer 3 (network layer) are essential for managing and routing network traffic. Auditors should examine how these features are configured to ensure that network traffic is efficiently managed and that proper segmentation is in place to mitigate risks such as unauthorized access and data breaches. (For a more detailed explanation of the TCP/IP model, see https://www.geeksforgeeks.org/tcp-ip-model/.)
  • Enhanced security features: The enhanced security features of the 2960-X series are particularly important to organizations and auditors. IEEE 802.1X, TrustSec, and AES encryption protect the network from unauthorized access and data breaches. Auditors need to assess the implementation and management of these security features to ensure they effectively safeguard the network. This includes reviewing access control policies and encryption standards and enforcing security policies across the network.
  • Energy-efficient operation: Energy-efficient Ethernet (EEE) and Cisco EnergyWise technologies to reduce power consumption. Energy efficiency, through technologies such as EEE and Cisco EnergyWise, helps reduce operational costs and helps with environmental sustainability. Auditors should evaluate the effective use of these technologies, ensuring that the network is environmentally sustainable while maintaining optimal performance.
  • Network management tools: Support for Cisco Network Assistant and Cisco Prime Infrastructure for simplified management and monitoring of network devices. Lastly, the support for network management tools and redundant power supplies and fans are key to network reliability and continuity. Auditors should assess the network’s resilience in the face of hardware failures and the effectiveness of management tools in monitoring and maintaining network health. This includes ensuring contingency plans for hardware failures and that the network infrastructure can sustain continuous operation under various conditions.
  • Resiliency: Dual redundant, modular power supplies and fans for network continuity and reliability.

Each of these aspects plays a significant role in an IT auditor’s evaluation, going beyond basic functionality to encompass the network’s efficiency, security, scalability, and sustainability. Understanding and assessing these features in the 2960-X series switches can provide comprehensive insights into the network’s overall health and readiness to support an organization’s objectives.

The Cisco Catalyst 9200 series switches are engineered to provide secure and reliable networking solutions for branch offices and mid-sized business environments. As the backbone of many enterprise networks, these switches connect various endpoints and facilitate high-speed data processing. They are particularly valued for their resilience and advanced security features, making them an ideal choice for networks where uptime, data integrity, and security are paramount. The Catalyst 9200 series is adept at handling the complexities of modern network demands, striking a balance between performance and cost-effectiveness.

Here are a few technical features of the 9200 series of interest to auditors:

  • StackWise-160 technology: Enables stacking up to eight switches for scalability and simplified management
  • Redundant power supplies and fans: Enhances network reliability and uptime
  • Advanced security protocols: Incorporates SSH and SNMPv3 for secure access and management
  • Layer 2 and 3 support: Offers advanced QoS and VLAN capabilities for efficient traffic management (for a more detailed explanation of the TCP/IP model, see https://www.geeksforgeeks.org/tcp-ip-model/)
  • Enhanced security features:
    • MACsec encryption for data security
      • TrustSec for security policy enforcement
      • Advanced ACLs for traffic control and filtering
  • Full programmability: Allows network customization and automation
  • Energy-efficient operation: Features such as EEE and Cisco EnergyWise for operational cost reduction

Auditing Cisco Catalyst 9200 series switches

Section titled “Auditing Cisco Catalyst 9200 series switches”

When auditing the Cisco Catalyst 9200 series, IT auditors focus on several key areas. The use of StackWise-160 technology is evaluated for how it contributes to network scalability and management efficiency. The setup and reliability of redundant power supplies and fans are crucial in ensuring network resilience, particularly in mission-critical environments. The implementation and effectiveness of advanced security protocols such as SSH and SNMPv3 are assessed to ensure secure network management.

Auditors examine the configuration and application of layer 2 and layer 3 features, such as QoS and VLANs, to verify efficient traffic management and appropriate network segmentation. The deployment of enhanced security features, including MACsec encryption, TrustSec, and ACLs, is scrutinized for their effectiveness in safeguarding the network. The auditor also evaluates the full programmability of the switches, ensuring that any custom configurations or automation do not introduce vulnerabilities.

One interesting thing to note is that when evaluating media access control security (MACsec) encryption on Cisco switches, an auditor focuses on several key aspects:

  • Configuration and implementation: The auditor checks whether MACsec is appropriately configured and implemented on the switches. This includes reviewing key management practices and ensuring that encryption is applied to all Here is the Cisco command to use:
    show mka session
    This command displays the MACsec Key Agreement (MKA) sessions. It helps verify that MACsec is active and reviews the details of the encryption sessions.
  • Performance impact: It’s important to evaluate the impact of MACsec on network performance, ensuring that encryption does not significantly hinder data throughput Here is the Cisco command to use:
    show macsec mka statistics <interface>
    Auditors can use this to check MACsec statistics for specific interfaces, including traffic and error counts, which helps evaluate the impact of MACsec on network performance.
  • Security policy compliance: The auditor verifies that the MACsec implementation aligns with the organization’s overall security policy and regulatory compliance requirements.
  • Here is the Cisco command
    show running-config macsec
    This command reviews the MACsec configuration in the current running configuration, ensuring that it complies with the organization’s security policies.
  • Encryption strength: Auditors also review the strength of the encryption used by MACsec to ensure that it meets industry standards and can effectively protect data integrity and confidentiality.
  • Here is the Cisco command
    show mka policy
    This command displays the MACsec policy, including key server priority and the delay protection setting, which can indicate the encryption strength and overall security stance.

You will find that a lot of the information needed from a Cisco device can be retrieved using the show commands. Lastly, the energy efficiency of the switches is assessed. This includes reviewing the utilization of features such as EEE and Cisco EnergyWise for cost-saving purposes and their impact on the organization’s environmental sustainability efforts.

Through this comprehensive analysis, auditors can ascertain the switches’ capability to meet the organization’s current and future networking needs while maintaining high-security standards, efficiency, and reliability.

Cisco 4000 series integrated services routers (ISRs)

Section titled “Cisco 4000 series integrated services routers (ISRs)”

Cisco 4000 series ISRs are highly flexible routers designed for medium to large enterprises. These routers are capable of running multiple services concurrently without compromising performance. They are particularly effective in environments requiring high throughput for data, voice, video, and wireless services. With their advanced architecture, these routers facilitate efficient and secure data transfer across a wide range of networking environments.

For a full list, go to Cisco’s product site where you can read the latest product updates (https://www.cisco.com/c/en/us/products/routers/4000-series-integrated-services-routers-isr/index.html).

Here are some specific technical features of interest to auditors:

  • High-performance multicore processors: Enables high-speed WAN connections
  • Integrated security services: Incorporates advanced security features, including firewall and VPN
  • WAN optimization: Enhances network efficiency and speed
  • Service integration: Provides the flexibility to deploy services on demand
  • Modular interfaces: Offers diverse connectivity options for tailored network solutions

When auditing Cisco 4000 series ISRs, an IT auditor focuses on several key aspects. Here are some examples of what you might review:

  • Throughput level evaluation: Checking the throughput level is crucial to ensure the router performs as expected. This is done with the help of the
    show platform hardware throughput level
    The preceding command displays the router’s data throughput level, helping auditors identify performance issues:
    • Positive output: The following output indicates that the router operates at the expected throughput for the midsize branch office, suggesting the network is configured correctly and
      The current throughput level is set to 500 Mbps.
      • Negative output: The following output suggests a possible configuration issue or a hardware limitation since the router is not operating at the expected throughput, potentially impacting the network’s performance. Remember, Cisco device default speeds are set by the installed
      The current throughput level is set to 100 Mbps.
  • QoS policies assessment: Proper QoS settings are vital for network efficiency and prioritizing
    show policy-map interface
    The preceding command checks QoS policy application on interfaces, which is crucial for evaluating traffic management:
    • Positive output: The following output shows that the GigabitEthernet0/0 interface has QoS policies properly applied. For instance, it displays priority levels for different traffic types, with VoIP traffic having high priority, ensuring minimal latency. The output also shows bandwidth allocation in line with the expected network usage, indicating efficient
      • Input command: show policy-map interface GigabitEthernet0/0 displays the policy maps applied to a specific interface, detailing the QoS settings and how traffic is managed on that interface. - Sample output:
      Interface GigabitEthernet0/0
      Service-policy output: VoIP-Priority
      Class-map: VoIP (match-all)
      5000 packets, 800000 bytes
      5 minute offered rate 10000 bps, drop rate 0 bps
      Match: protocol ip rtp
      Priority: 10% of the bandwidth (10000 kbps)
      Class-map: Business-Data (match-any)
      20000 packets, 5000000 bytes
      5 minute offered rate 50000 bps, drop rate 0 bps
      Match: access-group name "Business-Data"
      Queueing
      bandwidth 50% (50000 kbps)
      • Negative output: The following output indicates a misconfiguration in QoS settings. For example, it shows that all traffic types are treated with the same priority, leading to potential VoIP quality issues due to network congestion. There might also be no clear bandwidth allocation visible, suggesting inefficient traffic handling which could impact critical services.
      • Input command: show policy-map interface GigabitEthernet0/0 displays the QoS policies applied to the router’s interfaces, allowing auditors to verify that traffic prioritization is configured correctly.
      Interface GigabitEthernet0/0 Service-policy output: Default-Policy Class-map: class-default (match-any) 250000 packets, 12500000 bytes 5-minute offered rate 100000 bps, drop rate 10000 bps Match: any Queueing bandwidth 100% (100000 kbps)
  • Hardware inventory check: To do a hardware inventory check on a Cisco ISR 4000 series router, an auditor might use the show inventory command to verify the presence and status of physical components. Here are some example outputs for positive and negative indicators you show inventory provides detailed information about the router’s installed modules:
    • Positive output: As shown here, the output confirms the presence and proper identification of the expected chassis, indicating that the hardware is as designed and service integration is
      NAME: "Chassis", DESCR: "Cisco ISR 4331 Chassis"
      PID: ISR4331/K9, VID: V02, SN: FDO21520TGH
      • Negative output: As shown here, this output suggests there may be unauthorized hardware modifications or a failure in the system to recognize installed components, potentially compromising service delivery and
      NAME: "Chassis", DESCR: "Unrecognized component"
      PID: Unknown, VID: N/A, SN: Unavailable

These commands and their corresponding analyses are important for IT auditors to thoroughly evaluate the Cisco 4000 series ISR’s performance, security configurations, and operational efficiency.

The Cisco ASR 1001-X series routers are powerful, versatile devices crafted for high-end enterprise branch offices and as a WAN edge device for larger offices. They are engineered to deliver many integrated services at high-performance levels without needing multiple appliances. These routers offer exceptional scalability and flexibility, making them ideal for environments that demand robust data, voice, and video capabilities.

Here are some specific technical features of interest to auditors. For a full list, go to Cisco’s website (https://www.cisco.com/c/en/us/products/routers/asr-1000-series-aggregation-services-routers/index.html):

  • High-performance routing: The ASR 1001-X supports throughput from 2.5 Gbps to 20 Gbps with scalable software licenses
  • Service integration: Enables advanced firewall, VPN, and WAN optimization service
  • Modular interface options: Offers diverse connectivity options with SFP and SFP+ support
  • Dual power supplies: Enhances system redundancy and reliability

Just like with the other Cisco devices discussed in this chapter, you will typically look at a few items first as part of an audit. You will review throughput levels to make sure the device is operating at the expected levels, review service integrations, and take a look at any modular interfaces added on. Of course, the items you review will largely be dependent on the type of audit you are conducting.

When auditing Cisco ASR 1001-X series routers, it is important to assess the router’s performance, configuration, and hardware to ensure optimal network operation and security. In this section, we will cover three key areas of evaluation: throughput level, service integration, and modular interfaces. Network administrators and auditors can identify potential issues, misconfigurations, or capacity constraints by examining these components, enabling proactive measures to maintain network efficiency and reliability.

Assessing the router’s throughput against its licensed capacity is needed to confirm that the network infrastructure is fully optimized and capable of handling the expected traffic volume. This ensures that network resources are efficiently utilized and that the router is not a bottleneck, which could lead to delays in data transmission, impacting overall network performance and user experience.

To check the throughput levels, we can run the following command:

show platform hardware throughput level

After running the preceding command, you will see either a positive or negative indicator. Let’s see how to interpret those results:

  • Positive indicator: An output reflecting the licensed throughput suggests the device is fully leveraged
  • Negative indicator: Output significantly lower than the licensed rate could indicate a licensing or configuration issue

Proper configuration of integrated services such as firewall, VPN, and WAN optimization is crucial because these services are essential for maintaining the security and efficiency of the network. Incorrectly configured services can lead to vulnerabilities, reduced network performance, or even service outages, compromising network integrity and transmitted data’s confidentiality, integrity, and availability.

To check service integration verification, we run the following command:

show ip interface brief

Let’s see how to interpret these results:

  • Positive indicator: Shows all interfaces and their statuses, indicating healthy service integration
  • Negative indicator: Interface statuses not as expected or missing interfaces could signal issues with service configuration

Evaluating the operational status of modular interfaces is key to ensuring that the network has the necessary capacity and redundancy to support current and future demands. This assessment helps identify potential hardware failures or misconfigurations early, ensuring the network remains robust and adaptable to changing needs, thereby preventing potential downtime or performance degradation.

To access the modular interface, run the following command:

show inventory

Let’s see how to interpret these results:

  • Positive indicator: Displays a list of all installed modules, confirming proper hardware installation
  • Negative indicator: Inconsistencies or unrecognized modules could point to hardware issues or misconfigurations

Please note that the ability to execute these commands depends on the specific software version running on the Cisco ASR 1001-X series routers and the permissions granted to the user within the network environment.

In the next section, we will discuss the security risks associated with Cisco devices. We’ll start by identifying common vulnerabilities affecting network devices, including those specific to Cisco hardware. We can better understand the risks and develop effective mitigation strategies by examining patterns from past security breaches. The upcoming section focuses on recognizing these vulnerabilities and taking proactive steps to secure network assets against evolving threats, ensuring the overall security and integrity of the network infrastructure.

Security risks associated with Cisco devices

Section titled “Security risks associated with Cisco devices”

Security is top of mind for any network engineer managing network infrastructure, and Cisco devices are no exception. This section addresses the landscape of threats that Cisco hardware may face. We’ll begin by identifying common vulnerabilities that can plague network devices, including those that are Cisco-specific. We can better understand the risks and formulate effective mitigation strategies by examining patterns from past security breaches. Understanding these vulnerabilities is about recognizing them and taking proactive steps to secure network assets against evolving threats.

Every network device, Cisco or otherwise, risks security vulnerabilities. Many times, these vulnerabilities can be mitigated by ensuring that the devices have the latest security updates or upgrading the firmware and operating system. Common vulnerabilities in devices such as Cisco routers and switches can be broken down into several categories:

  • Software flaws: Software flaws include issues within the operating system or software interfaces used to access network devices that can be exploited, such as buffer overflows or SQL injection vulnerabilities. The Cisco Firepower Management Center (FMC) and Cisco Evolved Programmable Network Manager (EPNM) are examples of interface software with known vulnerabilities (CVE-2024-20360 and CVE-2023-20271, respectively).
  • Configuration errors: Improperly configured devices can open the network to unauthorized access or data leakage.
  • Authentication weaknesses: Vulnerabilities related to default and weak passwords, inadequate access controls, or flawed authentication mechanisms can allow attackers to gain control over network devices.
  • Protocol vulnerabilities: Flaws in network protocols, such as issues with SSL/TLS or routing protocols, can be exploited to intercept or reroute sensitive information.
  • Physical security: Insecure physical access to network devices can lead to direct tampering or the introduction of malware.
  • Insider threats: Malicious insiders with access to network devices can misuse their privileges to compromise the network.

Cisco regularly releases security advisories to inform users about vulnerabilities that have been identified in their products. These advisories detail the nature of the vulnerability and the devices or software versions affected and provide mitigation steps or patches to address the issue. They are a vital resource for network administrators to stay informed about potential security risks and keep their systems protected.

For the latest Cisco security advisories and information specific to Cisco products, it’s best to consult the Cisco Security Advisories page on their official website: https://sec.cloudapps.cisco.com/security/center/publicationListing.x.

Once you are on the site, you can view all Cisco devices or filter down to a specific device. Figure 3*.5* shows the full list at the time of writing on Cisco devices.

Figure 3.5 – Cisco Security Advisories

If you are auditing a specific device such as the Cisco ASR 9000 series, then you can select Filter By Product seen at the top of Figure 3*.5*, and type in the device. Figure 3*.6* shows the process for looking up an ASR 9000 series device.

Figure 3.6 – Looking up a specific Cisco device

Once you locate the product website, you can focus on a specific product. Figure 3*.7* shows how to look for the Cisco ASR 9000 series devices.

Figure 3.7 – Filter By Product (Cisco ASR 9000 Series)

Once you locate the device from the product page, you will see a list of advertised vulnerabilities for that device. Figure 3*.8* shows what you might find for the Cisco ASR 9000 series devices.

Figure 3.8 – Product-specific vulnerabilities

The columns in the list of vulnerabilities for the ASR 9000 series represent the following:

  • ADVISORY: The title or a brief description of the security issue
  • IMPACT: The severity of the vulnerability, represented here by both color and term codes: Critical (red), High (orange), Medium (yellow), or Informational (blue)
  • CVE: The Common Vulnerabilities and Exposures identifier, a unique number assigned to the vulnerability for tracking
  • LAST UPDATED: The date when the advisory was last updated, indicating the currency of the information
  • VERSION: The version of the advisory, which can change as more information becomes available or updates are made

The CVE field aligns with a unique identifier assigned to a security vulnerability in the CVE system (https://cve.mitre.org/cve/search_cve_list.html). The CVE identifier allows users to look up detailed information about a vulnerability’s nature, potential impact, affected software versions, and available patches or mitigations. It serves as a standard reference that facilitates the sharing of data across separate security tools and services.

Let’s take a look at one of the vulnerabilities on the list as an example: CVE-2019-1649. Figure 3*.9* provides a full description of the vulnerability and other details that may be valuable to an auditor when reviewing a specific product.

Figure 3.9 – CVE details page

Each of these columns provides critical information that helps network administrators and security professionals understand, prioritize, and respond to security vulnerabilities.

In the next section, we will explore the access methods for Cisco switches and routers, focusing on the CLI. The CLI is the primary interface for configuring and monitoring Cisco devices, offering granular control and direct communication with the device’s operating system, Cisco IOS. We will discuss how to access a Cisco device via the CLI using the console and SSH connections and navigate through the different configuration modes to adjust various settings.

Conducting security assessments on Cisco devices

Section titled “Conducting security assessments on Cisco devices”

As we have explored throughout this chapter, auditing Cisco devices comprehensively examines evolving cyber threats and compliance requirements. An auditor must understand the network architecture, Cisco operating systems, and the interplay of various network protocols. Auditors scrutinize device configurations, ensure the enforcement of access controls, verify encryption standards, and examine the implementation of security features such as firewalls and IPS.

The question remains: How do auditors do these checks?

The audit process typically includes a methodical review of system logs, user privileges, and firmware versions, comparing the current state against security baselines and industry best practices. This proactive investigation helps identify vulnerabilities, ensures the network’s confidentiality, integrity, and availability, and underpins the organization’s security policies. Refer to Table 3.1 for specific CLI commands associated with these tasks.

The audit serves as a litmus test for the network’s security health, guiding the necessary adjustments to fortify against potential breaches and ensuring the network’s resiliency in the face of sophisticated cyber threats.

Creating a security assessment checklist is a fundamental task for auditors to ensure comprehensive scrutiny of Cisco devices. This checklist serves as a roadmap for the audit, outlining specific items to examine that are aligned with security policies and compliance standards.

By employing a standardized checklist, auditors can methodically address each vital area, ensuring every component is reviewed. This approach ensures that every aspect of the device’s security – from password policies and access controls to service configurations and software updates – is thoroughly evaluated. Let’s look at what a checklist might look like as part of an audit of a Cisco router. Table 3.1 lists the security control to be tested and the purpose of the check. The next column shows the auditor what command they can expect to run and its expected outcome. As shown in Table 3.1, a detailed list is also used to communicate to stakeholders, as discussed in Chapter 2, Audit Planning and Preparation.

IDSecurity ControlPurpose of the CheckCommand to RunExpected Outcome
001Verify SSH ProtocolsEnsure that only secure SSH protocols are usedshow ip sshOnly SSHv2 should be enabled
002Check Password EncryptionConfirm that passwords are encrypted in the configuration fileshow running-config | include passwordPasswords should appear encrypted
003Inspect Interface SecurityAssess the security configurations on interfacesshow running-config interfaceInterface configurations should match the security policy
004Validate Logging SettingsVerify that logging is configured for accountabilityshow loggingLogging should be enabled with proper timestamps and log rotation settings to ensure accountability and maintain an audit trail

Table 3.1 – Sample security checklist for Cisco device assessment

With this, we have come to the end of the chapter.

This chapter took you on a comprehensive journey through the security landscape of selected Cisco devices that are popular with subject matter experts (SMEs). You explored the architecture and functions of Cisco switches and routers, understood the security risks associated with these devices, learned various access methods, and walked through the detailed security assessments, including using the Cisco CLI tool for security configuration reviews. By completing this chapter, you established a firm foundation in Cisco device security and gained the confidence to apply these principles in real-world scenarios.

In this chapter, we covered the essential aspects of auditing Cisco switches and routers. By now, you should have gained the knowledge and skills to understand these devices’ intricacies, identify the inherent security risks, and employ secure access methods for conducting audits. You have learned the procedures for performing thorough security assessments on Cisco devices, enabling you to effectively evaluate and maintain the security posture of your network infrastructure.

In the next chapter, we will expand our cybersecurity expertise by looking at next-generation firewalls (NGFWs). You will learn about the cutting-edge features and capabilities of NGFWs. We will examine the primary functionalities and security features that set NGFWs apart and discuss risk management within these complex systems. You’ll be guided through practical auditing techniques to assess their security effectiveness and ensure alignment with organizational policies.