From a design standpoint, security is one feature of risk management that must be included in the overall business policy. Every organization must determine the acceptable levels of risk and vulnerabilities, and these should be based on the value of the corporate assets. Organizations should also define the risk probability and the reasonable expectation of quantifiable loss in case of a security compromise.
One aspect of risk management is risk assessment and this is the driving force behind an organization’s written security policies. Network designers play a key role in developing these security policies but they do not implement them (this will be the role of another team).
When a network designer is in the process of attack recognition and identifying countermeasures for those specific attacks, the designer should consider and plan for the worst situations because modern networks are large and they can be susceptible to many security threats. The applications and systems in these organizations are often very complex and this makes them difficult to analyze, especially when they use Web applications and services.
Figure 9.1 – High-Level Security Components
As shown in Figure 9.1 above, the network designer should be able to guarantee to the company the following important system characteristics:
These three attributes are the core of the organization’s security policy. Confidentiality ensures that only authorized individual users, applications, or services can access sensitive data. Integrity implies that data will not be changed by unauthorized users or services. Finally, the availability of the systems and data should result in uninterrupted access to computing resources.
Threats to Confidentiality, Integrity, and Availability
Before a network designer offers security consultancy services (i.e., risk assessment or business impact analysis) the designer must understand the real threats to the network infrastructure. Different categories of threats to confidentiality, integrity, and availability include the following:
- Denial of Service (DoS) and Distributed Denial of Service (DDoS) attacks
- Spoofing (masquerading)
- Telnet attacks
- Password-cracking programs
- Viruses
- Trojans and worms
These threats must be analyzed in the context of the Enterprise Campus design submodules they affect and the exact system component they target.
Denial of Service Attacks
The main purpose of a DoS attack is to make a machine or a network resource unavailable to its intended users. In this particular type of attack, the attacker does not try to gain access to a resource; rather, the attacker tries to induce a loss of access to different users or services. These resources can include:
- The entire Enterprise Network
- The CPU of a network device or server
- The memory of a network device or server
- The disk of a network device or server
A DoS attack will result in the resource being overloaded (e.g., disk space, bandwidth, memory, buffer overflow, or queue overflow) and this will cause the resource to become unavailable for usage. This can vary from blocking access to a particular resource to crashing a network device or server. There are many types of DoS attacks, such as ICMP attacks and TCP flooding.
An advanced form of DoS attack is the DDoS attack, which works by manipulating a large number of systems to launch an attack on a target over the Internet or over an Enterprise Network. To manage a DDoS attack, hackers usually break into weakly secured hosts (e.g., using common security holes in the operating systems or applications used) and compromise the systems by installing malicious code to gain full access to the victim’s resources. After many systems are compromised, they can be used to launch a massive simultaneous attack on a target that will be overwhelmed with a very large number of illegitimate requests. The difference between a DoS attack and a DDoS attack is illustrated in Figure 9.2 below:
Figure 9.2 – DoS versus DDoS Attacks
| Note: The process of sending illegitimate requests by the attacker to a network resource is also called flooding. |
Spoofing Attacks
Spoofing (or masquerading) attacks involve a process in which a single host or entity will falsely assume (spoof) the identity of another host. A common spoofing attack is called the Man in the Middle (MITM) attack (see Figure 9.3 below) and it works by convincing two different hosts (the sender and the receiver) that the computer in the middle is actually the other host. This is accomplished using DNS spoofing, where a hacker compromises a DNS server and explicitly changes the name resolution entries.
Another type of masquerading attack is ARP spoofing, where the ARP cache is altered and thus the Layer 2 to Layer 3 address mapping entries are changed to redirect the traffic through the attacker’s machine. This type of attack usually targets a LAN.
Figure 9.3 – Man in the Middle Attack
Telnet Attacks
Programs like Telnet or FTP utilize user-based authentication but the credentials are sent in clear text (i.e., unencrypted) over the wire. These credentials can be captured by attackers using network monitoring tools and they can be used to gain unauthorized access to network devices.
Other related threats in this area are generated using old unsecured protocols like rlogin, rcp, or rsh that allow access to different systems. These unsecured protocols should be replaced by protocols like Secure Shell Protocol (SSH) or Secure File Transfer Protocol (SFTP).
Password-Cracking Programs
Password-cracking software is very easy to find nowadays and the programs can be used to compromise password security in different applications or services. They work by revealing a password that has been previously encrypted with weak encryption algorithms (e.g., DES). One way to prevent password cracking from happening is to enforce the organization’s security policy by:
- Using strong encrypting algorithms (e.g., AES).
- Choosing complex passwords (a combination of letters, numbers, and special characters).
- Periodically changing passwords.
Viruses
A virus is a generic term for any type of program that attaches to individual files on a targeted system. Once the virus appends its original code to a victim’s file, the victim is infected, the file changes, and it can infect other files through a process called replication.
The replication process can spread across hard disks and it can infect the entire operating system. Once a virus is linked to an executable file, it will infect other files every time the host file is executed. There are three major types of viruses, defined by where they occur in the system:
- Master Boot Sector (MBR) viruses
- Boot sector viruses
- File viruses
MBR and boot sector viruses affect the boot sector on the physical disk, rendering the operating system unable to boot. File viruses represent the most common type of viruses and they affect different types of files.
Another way to categorize viruses is based on their behavior, such as:
- Stealth viruses
- Polymorphic viruses
Stealth viruses use different techniques to hide the fact that a change to the disk drive was made. Polymorphic viruses are difficult to identify because they can mutate and they can change their size, thus avoiding detection by special software. When using these virus detection programs, the recommendation is to make sure they are updated as often as possible so they are capable of scanning for new forms of viruses.
Trojans and Worms
Trojan programs are comprised of unauthorized code that is contained in legitimate programs and performs functions that are hidden to the user. Worms are other illegitimate pieces of software that can be attached to e-mails, and once they are executed they can propagate themselves within the file system and perform unauthorized functions, such as redirecting user traffic to certain websites.
Network Device Vulnerabilities
An important vulnerable area in the network infrastructure, considering the attacks presented above, is where network devices reside. The targeted devices can be part of any network module and layer, including Access Layer devices, Distribution Layer devices, or Core Layer equipment. Since network devices (e.g., routers, switches, or other appliances) provide embedded security features, they must be secured from intruders.
The first thing to control is physical access. Critical equipment should be placed in locked rooms that can be accessed only by authorized users, preferably via multiple authentication factors. Network administrators must follow security guidelines to avoid human errors. Finally, network devices must be hardened, just as hosts and servers are, by applying the following techniques:
- Enable only the necessary services
- Use authenticated routing protocols
- Use one-time password configurations
- Provide management access to the device only through secured protocols, such as SSH
- Make sure the devices in the operating system are always patched and updated so they are protected against the latest known vulnerabilities.
Network Infrastructure Vulnerabilities
Network infrastructure vulnerabilities are present at every level in the Enterprise Architecture model and the attacks aimed to exploit these vulnerabilities can be categorized as follows:
- Reconnaissance attacks
- DoS and DDoS attacks
- Traffic attacks
Reconnaissance is a military term that implies scoping the targets before initiating the actual attack. The reconnaissance attack is aimed at the perimeter defense of the network, including the WAN network or Enterprise Edge module. This type of attack includes activities like scanning the topology using techniques such as:
- ICMP scanning
- SNMP scanning
- TCP/UDP port scanning
- Application scanning
The scanning procedure can use simple tools (e.g., Ping or Telnet) but it can also involve using complex tools that can scan the network perimeter for vulnerabilities. The purpose of reconnaissance attacks is to find the network’s weaknesses and then apply the most efficient type of attack.
As a countermeasure to these reconnaissance attacks, NAC can be used, including hardware and software firewall products, and the devices can be hardened to ensure that they are using only specific ports, specific connections, and specific services.
DoS and DDoS attacks are meant to compromise the connectivity and availability to or from the network and can be categorized into the following types:
- Flooding the network with poisoned packets
- Spoofing network traffic
- Exploiting application bugs
Countermeasures that help protect against DoS attacks include using firewall products and ensuring that the network operating systems are updated regularly, to include the latest patches. Cisco has a very useful feature in its IOS and firewall products called TCP Intercept, which can be used to prevent SYN flooding attacks that are used against websites, e-mail servers, or other services. This feature intercepts and validates TCP connection requests before they arrive at the server. QoS mechanisms can also be used to filter certain types of traffic.
Because DoS attacks affect the performance of network devices and servers, many large organizations oversize their resources to gain additional bandwidth, backup connections, and redundancy. When DoS attacks occur, these extra resources can compensate for the negative effects of an attack without critically affecting internal services. The downside to this approach is the cost factor.
Application Vulnerabilities
The applications and individual host machines are often the ultimate target of the attacker or the malicious user. Their goal is to gain access to permissions so they can read sensitive data, write changes to the hard drive, or compromise data confidentiality and integrity.
Attackers try to exploit bugs in the operating system (for servers, hosts, and network devices in the OS) and abuse vulnerabilities in various applications to gain access to the system. Some applications are very vulnerable, mostly because they were not properly tested and were launched without advanced security features in mind.
After gaining basic access to a system, attackers will use a tactic called privilege escalation that will provide them with system administrator privileges by exploiting vulnerabilities in certain programs and machines. Once they get administrator access, they can either attack the entire system or read/write sensitive and valuable information.
Countermeasures against application and host vulnerabilities include using secure and tested programs and applications. This can be enforced by requiring applications to be digitally signed and using quality components from different vendors. Hosts can be hardened using a variety of techniques to ensure that the machine is locked down and only the appropriate services and applications are used. Firewall and virus detection techniques should also be used and updated often.
Another useful countermeasure is minimizing exposure to outside networks, including the Internet, even though many attacks come from inside the organization. As organizations get larger, increased attention must be given to the human factor and to inside threats. Network administrators, network designers, and end-users should be carefully trained to use the security policies implemented in the organization.


