Chapter 1. Network Security Fundamentals

This chapter covers the following subjects:

• Defining network security: Simply defines network security as it relates to this book.

• Building secure networks: Covers the fundamental network objects and concepts that provide a secure network.

• Cisco SAFE: Details the Cisco SAFE methodology and describes how it can provide an easier design experience and a more secure network architecture.

Many believe that network security is actually two words that are mutually exclusive and that the only way to secure a computer is to segregate it completely. It is true that, by restricting all physical and logical access to a computer system, you can ensure complete security. In most cases, complete security of a computer system by this method will render the “secure system” completely useless.

Maintaining even a small computer network sometimes requires a delicate balancing act to ensure that all components (hardware, software, and so on) work and play well together, and that no single system or group of systems adversely affects the operations of the entire network. This “balancing act” only increases in difficulty as networks become bigger and more complex. Implementing security measures on a network can help ensure that systems perform as designed and, in many cases, provide the capability to logically separate systems that cause problems on the network until those systems can be dealt with.

First and foremost, network security is implemented to protect the network and the systems connected to the network. In this “information age,” the commodity of our time is information in many forms. This “data” is considered property by most organizations and can be extremely valuable, or to a certain extent, the release of such information can be costly. For this reason, network security has become a priority within most organizations. These issues continue to become more and more complex as technologies evolve. Newer technologies, such as those defined by Web 2.0, further complicate the ability to truly secure “data.”

This chapter covers the basics of network security including best practices, policy development, and implementation as well as covers some of the newer frameworks that have been laid out by Cisco to make network security planning, designing, implementation, and operation as easy as possible.

“Do I Know This Already?” Quiz

The “Do I Know This Already?” quiz helps you determine whether you really need to read the entire chapter from beginning to end or just read sections of the chapter. If you intend to read the chapter in its entirety, you do not necessarily need to answer these questions now.

The ten-question quiz, derived from the major sections in the “Foundation Topics” portion of this chapter, helps you determine how to spend your study time.

Table 1-1 outlines the major topics discussed in this chapter and the “Do I Know This Already?” quiz questions that correspond to those topics.

Table 1-1. “Do I Know This Already?” Foundation Topics Section-to-Question Mapping

image

Caution

The goal of self-assessment is to gauge your mastery of the topics in this chapter. If you do not know the answer to a question or are only partially sure of the answer, you should mark this question wrong for purposes of the self-assessment. Giving yourself credit for an answer that you incorrectly guess skews your self-assessment results and might provide you with a false sense of security.

1. Which network security element, if attacked, could directly affect traffic flows going across a segment?

a. Routers

b. Switches

c. Servers

d. Firewalls

e. Bridges

2. Which of the following are main aspects that must be considered when securing a network?

a. Availability

b. Stability

c. Confidentiality

d. Integrity

e. Redundancy

f. Defensibility

3. Which of the following describes a technique that provides security to a network through the use of a multilayer approach?

a. Hierarchical security

b. Nested technique

c. Security-in-Depth

d. Defense-in-Depth

e. Zoned security

f. Vested technique

4. Which of the following are the main sections of the Security Control Framework?

a. Complete control

b. Controllable security

c. Security management

d. Total visibility

e. Hieratical design

5. Which of the following actions are defined by the Security Control Framework?

a. Harden

b. Identify

c. Secure

d. Document

e. Isolate

f. All of these answers are correct.

6. Which of the following technologies are used by the monitor action defined by the Security Control Framework?

a. Anomaly detection systems

b. Control plane policing

c. System log (syslog)

d. QoS enforcement

e. AAA/accounting

f. Management traffic encryption

7. Which of the following technologies are used by the enforce action defined by the Security Control Framework?

a. Content filtering

b. AAA/accounting

c. Simple Network Management Protocol (SNMP)

d. Policy based routing (PBR)

e. AAA/authorization

f. Digital certificates

8. Which of the following parts of SAFE defines security mechanisms that secure the network infrastructure itself?

a. Security Control Framework (SCF)

b. Network Foundation Protection (NFP)

c. Network core blueprint

d. Integrated Security Protection (ISP)

e. Infrastructure Foundation Protection (IFP)

9. Which of the following are valid design blueprints defined in SAFE?

a. Enterprise Internet edge

b. External WAN edge

c. Intranet data center

d. Enterprise core

e. Internet branch

f. ISP connection

10. Which of the following are valid steps in the SAFE architectural lifecycle?

a. Design

b. Optimize

c. Operate

d. Implement

e. All of these answers are correct.

The answers to the “Do I Know This Already?” quiz are found in Appendix A. The suggested choices for your next step are as follows:

• 8 or less overall score: Read the entire chapter. This includes the “Foundation Topics” and “Exam Preparation” sections.

• 9 or 10 overall score: If you want more review on these topics, skip to the “Exam Preparation” section. Otherwise, move on to Chapter 2, “Network Security Threats.”

Foundation Topics

Defining Network Security

People perceive and define network security in a number of different ways. For the purposes of this book, network security includes the detection and prevention of unauthorized access to both the network elements and those devices attached to the network. This includes everything from preventing unauthorized switch port access to detecting and preventing unauthorized network traffic from both inside and outside the corporate network.

Building Secure Networks

Of the various components that go into making a network secure, one of the first things to establish is what exactly needs to be protected. A number of different network element types exist on a network, and all of these must be considered throughout the design process. Table 1-2 shows a number of these different elements that must be considered when building a secure network.

image

Table 1-2. Network Security Elements

image

The next thing to determine is what exactly needs to be done for the network and elements on the network to stay secure. Three of the main aspects of network data that need to be secured include confidentiality, integrity, and availability, as outlined in Table 1-3.

image

Table 1-3. Security Aspects

image

So, the real question that needs to be answered is how to protect the network elements mentioned to provide the capability to maintain data confidentiality, integrity, and availability. The approach that is utilized to provide this by most professionals is commonly referred to as Defense-In-Depth.

Internetworking refers to connecting different networks so that they can communicate, share resources, and so on. Many organizations consider their perimeter to be the Internet connection; however, with the liberal use of intranet, extranet, and remote user connections, the true perimeter has faded and is now difficult to determine. This issue is further complicated by the security posture of the organizations on the far end of your intranet, extranet, and remote user connections. It is no longer possible to secure your network just by placing security devices (such as firewalls) at the Internet gateway.

Think of a network as a fortress that is under siege. You need to implement multiple layers of defense and try to use different types of defenses at each layer; this is the fundamental concept behind Defense-in-Depth. Doing so enables the network to handle a diverse range of attacks. A common example of this is an attack that successfully penetrates the firewalls and gets to the targeted server but is terminated by host-based intrusion detection/prevention systems (IDS/IPS) installed on the server. Network attacks have become more complex and can now target multiple areas of the network simultaneously.

Now, Cisco deals with these issues through multitiered security offerings. This book and exam specifically focus on how to secure the routers and switches in the network. This is done through a combination of security framework and IOS security technologies. The various IOS security technologies are covered in the other chapters of this book. An overview of the security approach and framework is covered within this chapter and in more detail in later chapters.

Cisco SAFE

In an effort to make securing a network easier, Cisco developed the SAFE approach, which focuses on the development of good network security designs; specifically, it provides design and implementation guidelines as well as best practices for security engineers to follow.

SAFE provides this through the utilization of the Cisco Security Control Framework (SCF). The SCF aims to ensure network and service availability as well as business continuity. SCF is utilized by helping to enforce the existing security policies that exist as well as to improve their visibility and control.

SCF Basics

As Figure 1-1 illustrates, SCF defines numerous actions that help improve the visibility and control of network security policies.

Figure 1-1. Cisco Security Control Framework

image

image

These two main sections of the SCF, as illustrated in Figure 1-1, are split into six actions that improve the total visibility and complete control of the data on the network:

• Identify

• Monitor

• Correlate

• Harden

• Isolate

• Enforce

For a network to be truly secure, the information passing over it must be easily visible, which when done well, makes it easier to find and root out issues before or while they are happening. The second part of this is to maintain complete control over this data; to make this happen, different things must be taken into account to ensure that this is possible.

The SCF defines the identify, monitor, and correlate actions that help to create total visibility of data access on a network.

If you think about it, one of the most important things that needs to be established when dealing with data on a network is whether it can be trusted, and this determination can be hard to do if the data is sourced from outside the company. This is where the identify action comes in. Its purpose is to define a process that helps in determining the trust level of the data on the network and also extends to define trust levels of those users and devices accessing data on the network as well. Examples of technologies that are used to help identify include

• 802.1x for identity solutions

• Biometric recognition

• Routing authentication

• Secure traffic mechanisms (encryption)

• Authentication mechanisms, including digital certificates, pre-shared keys, and user authentication

The next action defined is monitor, which involves the monitoring of data within and transmitted on the network. Under normal operations, a number of different things can be monitored on the network, including network elements (that is, routers, switches, servers, and computers), specific user behavior, application behavior, and the traffic itself. Examples of technologies that can help monitor this data include

• Authentication, authorization and accounting (AAA): Accounting, anomaly detection systems

• IDS and IPS

• SNMP and Remote Monitoring (RMON)

• System log (syslog)

The next action could be considered one of the most important. This is because, although the identification of resources and data is important, as well as the abundance of monitoring data that is available, all this means very little without correlation. Cisco defines the correlation action as “the interpretation, dissemination, analysis and classification of visibility data into meaningful operation information”.1 Examples of technologies that can help correlate this data include the following:

• Network flow analysis (Cisco Security Monitoring, Analysis and Response System [CS-MARS])

• Host intrusion event correlation

• Network Time Protocol (NTP) synchronization

The second set of actions that the SCF defines is the harden, isolate, and enforce actions, which help maintain complete control.

Many people are already familiar with the concept of device hardening, but for those who are not, it is essentially the configuration of a device so that it is able to withstand, adjust, and/or recover from a number of controlled or uncontrolled events. The harden event defined within SCF utilizes this definition and recommends a range of hardening measures to cover everything from individual devices to the entire network infrastructure. Examples of technologies that can help harden network elements include

• Control plane policing

• Component redundancy

• Device/interface redundancy

• Topology redundancy

• Simple device hardening, including patch management and device accessibility

The second action proposed to maintain complete control is the isolate action. This action is simple in its concept, which is to isolate the ability of an unauthorized or breached system to affect the other systems on the network. This would include both physical and logical blocks that can be used to enforce the isolation action. Examples of technologies that can isolate specific devices or data include

• Access control lists (ACL)

• Out-of-band management

• Virtual Private Network (VPN) encryption

• Management traffic encryption

• Virtual local-area networks (VLAN)

The last of the actions defined for complete control is the enforce action. This action is what is defined within a network to deliver results based on policy. These policies can be static in nature, including, for example, specific bottom-line-allowed use policies. They can also be dynamic in nature, which can include specific policies that are created and used to control network events as they occur. Examples of technologies that can enforce specific policies include

• Content filtering

• DDoS protection mechanisms

• IDS and IPS

• Port security

• QoS enforcement

• ACLs

• Unicast Reverse Path Forwarding (uRFP)

• PBR

• AAA - authorization

All these actions are then used to develop numerous different design blueprints. These blueprints have been based on what Cisco defines as Places in the Network (PIN). Figure 1-2 shows how all these different elements come together.

Figure 1-2. Cisco SAFE

image

Figure 1-2 shows that a number of PINs have been defined that can then be used to help plan and design different parts (or places) within the network.

SAFE/SCF Architecture Principles

Before describing the specific design blueprints that were shown in Figure 1-2, take a second to review the architecture principles that were used when developing them.

Other than the general principles that are used when using the Defense-in-Depth approach, SAFE/SCF also uses additional principles that form a basis for their design blueprints, as shown in Table 1-4.

image

Table 1-4. SAFE Principles

image

image

SAFE/SCF Network Foundation Protection (NFP)

One of the most important parts of the network to protect is the infrastructure itself. If the infrastructure of a network is able to be exploited, all the other security measures taken will be for naught. The specific parts of the infrastructure that need to be secured include the protection of the control and management planes. Because the subjects focused on in this book involve network elements, which are part of the network infrastructure, Chapter 3, “Network Foundation Protection (NFP) Overview,” specifically covers the details of NFP.

SAFE/SCF Design Blueprints

As stated, the SAFE/SCF process includes blueprints that can and should be followed to achieve the best possible design. Although the specifics of each design blueprint are outside the scope of this book, Table 1-5 reviews the basics of each.

image

Table 1-5. SAFE Design Blueprints

image

image

SAFE Usage

The final piece of the framework is a methodology that is laid out to help use the different design blueprints in the best way possible. This is done through the development of a lifecycle model, as shown in the Figure 1-3.

Figure 1-3. SAFE Architectural Lifecycle

image

Each of the different parts of the lifecycle has been designed to ensure a consistent process, from the initial planning of a network through the optimization of the network. According to the “SAFE Reference Guide,”2 each of the steps are as follows:

Step 1: During the initial planning, a threat and risk assessment is completed to determine the current security posture.

Step 2: The cycle continues with the design and selection of the platforms, capabilities, and best practices needed to close the gap and satisfy future requirements. This results in a detailed design to address the business and technical requirements.

Step 3: The implementation follows the design. This includes the deployment and provisioning of platforms and capabilities. Deployment is typically executed in separate phases, which requires plan sequencing.

Step 4: After the new implementation is in place, it needs to be maintained and operated. This includes the management and monitoring of the infrastructure as well as security intelligence for threat mitigation.

Step 5: Finally, as business and security requirements are continuously changing, regular assessments need to be conducted to identify and address possible gaps. The information obtained from day-to-day operations and ad-hoc assessments can be used for these purposes.

Exam Preparation

As mentioned in the section, “How to Use This Book,” in the Introduction, you have several choices for exam preparation: the exercises here, the memory tables in Appendix D, the final exam preparation chapter, and the exam simulation questions on the CD-ROM. The following questions present a bigger challenge than the exam itself because they use an open-ended question format. By using this more difficult format, you exercise your memory better and prove your conceptual and factual knowledge of this chapter. You can find the answers to these questions in Appendix A, “Answers to the ‘DIKTA’ Quizzes and Fill in the Blanks Questions.”

Review All Key Topics

Review the most important topics in this chapter, noted with the Key Topics icon in the margin. Table 1-6 lists a reference of these key topics and the page numbers on which each is found.

Table 1-6. Key Topics

image

Complete Tables and Lists from Memory

Print a copy of Appendix C, “Memory Tables” (found on the CD), or at least the section for this chapter, and complete the tables and lists from memory. Appendix D, “Memory Table Answers,” also on the CD, includes completed tables and lists to check your work.

Define Key Terms

Define the following key terms from this chapter, and check your answers in the Glossary:

router

switch

firewall

server

intrusion detection system (IDS)

intrusion prevention system (IPS)

Virtual Private Network (VPN)

VLAN

Fill in the Blanks

  1. The _____ security aspect protects network data from being altered in transit.
  2. The _____ ensures network and service availability.
  3. The SCF model defines the harden, isolate, and _____ actions to obtain complete control.
  4. To provide _____, the SCF defines the identify, monitor, and correlate actions.
  5. The Network Time Protocol (NTP) is typically used with the _____ SCF action.
  6. The design blueprints have been designed around various PINs in a network; PIN stands for _____.
  7. The SAFE design principle _____ was developed to make sure that designs were easily capable of meeting industry benchmarks.
  8. The security focuses of service availability, DoS/DDoS protection, data confidentiality/integrity, and server protection are used most in the _____ design blueprint.
  9. The part of the network that typically connects to end users that all exist within similar geographic areas is defined in the _____ design blueprint.
  10. The management design blueprint is defined to increase security through the use of the _____ security focuses.

References

Cisco SAFE Reference Guide, www.cisco.com/en/US/docs/solutions/Enterprise/Security/SAFE_RG/SAFE_rg.pdf.

Cisco SAFE Solution Overview, www.cisco.com/en/US/docs/solutions/Enterprise/Security/SAFESolOver.pdf.

Cisco Security Control Framework (SCF) Model, www.cisco.com/en/US/docs/solutions/Enterprise/Security/CiscoSCF.pdf.

End Notes

1 Cisco Security Control Framework (SCF) Model, www.cisco.com/en/US/docs/solutions/Enterprise/Security/CiscoSCF.pdf.

2 Cisco SAFE Reference Guide, www.cisco.com/en/US/docs/solutions/Enterprise/Security/SAFE_RG/SAFE_rg.pdf.