Security System Concepts
When designing a security system, it is helpful to segment your major domains of trust with choke points to control access. This section defines domains of trust and
Domains of TrustWithin all networks, there are devices with differing levels of value and differing levels of attack susceptibility. This concept is discussed in Chapter 2, "Security Policy and Operations Life Cycle." By combining these factors, you can start to define the relative attention needed for a given information asset. In a flat network, as shown in Figure 12-7, the security of these assets is left completely up to the applications. Figure 12-7. Flat, Untrusted Network
As you can see, there is no segmentation except where necessary (WAN connections). All users and servers share the same network, and any required access control is expected to be done by each host. Some network security functions are possible, such as NIDS or VLAN ACLs, but this is not commonly done in a design with this topology. Although some networks are still designed this way, the vast majority opt for some basic segmentation. Segmentation can be done for several reasons. When one of those reasons is security, you are creating domains of trust . If you are segmenting the network for performance or scalability reasons only, you are just creating more segments but still have one domain of trust. Figure 12-8 shows the topology from Figure 12-7 mapped into a possible set of trust domains. Figure 12-8. Domains of Trust
Depending on the
Each of these domains can overlap with one another. For example, although
Domains of Trust and Network Design
Although it is easy to define domains on paper, in your own network you will find that trade-offs must be made. Your network, and its users, very rarely
Figure 12-9. Security-Centric Campus Design
Here you can see seven different domains of trust defining the network topology. Security devices aren't put in place, but it is assumed that they exist at the points between trust domains (more on this in the following "Choke Points" section). Although it is possible to design your network as shown in the figure, there are several caveats:
Depending on the applications and network size, there are a
Figure 12-10. Balanced Domain of Trust Campus Design
The following list details how the concerns of the previous design are addressed in Figure 12-10:
The extent to which you can make compromises in security to benefit usability or management has a lot to do with the disparity in trust of the domains involved. In Figures 12-8 through 12-10, the domains that were adjusted to increase usability and manageability were already
Domains of Trust Recommendations
When creating domains of trust, you should put resources with similar trust, asset value, and attack profile into similar locations on the network. Attack profile includes not only the likelihood of a system being attacked (as discussed in Chapter 2) but also the
Choke PointsIn the previous section, all the L3 interconnections in each design were made by using basic routers. In today's designs, you have L3 switches and firewalls as other potential interconnection points. In addition, technologies such as IPsec, NIDS, and content filtering can help define the boundaries between these domains of trust. The combination of hardware and software that makes up a network transit point between two domains of trust is called a choke point . Deciding which choke point is appropriate for a given trust boundary is a critical element in secure network design. Choosing too weak a security control devalues the creation of the trust domains to begin with. Choosing too strong a control adds capital, management, and usability costs that might not be justified.
One of the
Figure 12-11. Three Domains of Trust
All three domains must be connected to one another. The data center should reach the Internet by way of the campus LAN. Looking at the trust levels of the domains, you see that the Internet is completely untrusted, the campus LAN is fairly trusted, and the data center is highly trusted. When deciding which choke point technology to use, start by considering this delta and then evaluate the direction of the traffic flows.
The campus LAN connection to the Internet requires the most security. The trust delta is high, but the Internet as a resource is
The connection between the campus LAN and the data center has a much smaller trust delta. In this case, the existing routers could be configured with stateless ACLs to filter the types of traffic coming in to specific servers. The addition of NIDS might not be necessary. Figure 12-12 shows the resulting topology. Figure 12-12. Three-Domain Security Design
WARNING The examples in this section of the chapter are making assumptions that might not apply to your own network. For example, you might run a network in which the campus LAN is almost as untrusted as the Internet. (Some university networks fall into this category.) In this case, the security you might need for your internal servers could be quite a bit more than that discussed here. Your security policy should be driving a lot of these decisions combined with the proper categorization of your various domains of trust.
As a general rule, the
I wish there were some hard science here to tell you exactly what to do, but there isn't. The best you can do is evaluate your own network and policies against the information you learn in this book and make some decisions. Besides, if it were hard science, would it be very much fun? This lack of a clear right answer is part of the reason testing, validation, and compliance auditing are so important in secure networking. No one spends time testing to ensure that 2 + 2 really is 4.
Security Roles: Access/Edge, Distribution,
|
|
Access/Edge |
Distribution |
Core |
|---|---|---|
|
Identity technologies Host and application security Stateful firewall E-mail filtering Web filtering Proxy server NIDS Crypto Network device hardening OS hardening Application hardening Rogue device detection Physical security L2 security BPs Ingress/egress filtering Unicast RPF Routing protocol authentication ICMP BPs DDoS BPs TCP SYN BPs |
Stateful firewall Router with ACL E-mail filtering NIDS Crypto Network device hardening Rogue device detection Physical security Role-based subnetting Ingress/egress filtering Unicast RPF Routing protocol authentication DDoS BPs |
Crypto Network device hardening Rogue device detection Physical security Routing protocol authentication |
As you can see, the core has a very small role to play in overall secure networking. This is primarily because, by the time the traffic gets to the core, all the security controls should have already been applied. Depending on the network topology, some of the technologies listed in these categories might not apply where they are listed. Don't think of this as a rigid list but rather as a guideline to consider when deciding on the placement of a given security control. This list also changes depending on the type of access or distribution layer you are securing. For example, the access layer column in Table 12-1 contains nearly every security area because the access layer can contain a diverse set of resources. If you were securing the L2 access layer of your user PCs, the list of technologies at the access layer might look like this:
Identity technologies
Host and application security
Crypto
Network device hardening
OS hardening
Application hardening
Rogue device detection
Physical security
L2 security BPs
All of the L3 controls are removed, as are technologies for attacks which probably do not apply in this location of the network.