| NAT: A False Sense of Security
An Argument Against NAT's “Security through Obscurity” In the first five years of public access to the Internet (1992 to 1996), most users and applications did not need to provide for inbound connections. Internet providers even frowned upon this type of access. If you did need these services, you would usually purchase space on a dedicated server that had a static Internet address. Many people only had one shared computer at home, and few other devices needed to access the Internet. In the next five years (1997 to 2001), a revolution occurred — widespread use of the Internet by all industrialized nations, telecommuting, and distributed file sharing emerged, along with the affordability of personal computers and networking devices. This led to a computing boom, where many houses now have more than one computer connected to the Internet. Address allocation became more restrictive, and the movement to conserve Internet addresses occurred. Now we are nearing the 15th year of public Internet use, and the advances in distributed computing, mobile technology, and computer use in common household items have exponentially increased the demand for inbound Internet connectivity. IPv6 provides the inbound connectivity, the ability to authenticate and identify friends and foes, and will allow ubiquitous computing. NAT – Under the Guise of Security Internet service providers helped perpetuate this myth by denying end users the ability to run their own web and mail servers. Various reasons were given for these restrictions:
When you purchase a connection to the Internet, many times common service ports are blocked from access by the Internet provider. Internet addresses were predicted to run out, and the Internet Corporation for Assigned Names and Numbers (ICANN) demanded that strict conservation of address allocation should begin. Static Internet addresses became a valuable commodity, and Internet service providers charge extra if you want a static address. If you want multiple static addresses, you will have to purchase a business account. In ideal address allocation, every device that connects to the Internet should have its own Internet address, and not have to share an address with other devices. IPv6 was designed to precisely solve this address allocation shortage problem. NAT, dynamic DNS services, and various other programs allowed clever users to bypass the restriction set upon them by the ISPs. So, NAT became a commonly used device. In this development of the NAT, users found that they could not access many of their computers behind these devices and started making claims that by putting devices behind a NAT, it would effectively limit the access to those devices — they believed that this was a form of security. Resistance to change (which is well documented and studied in the recent literature on change management) has generated excuse after excuse in countering the need to transition to IPv6. "Security through obscurity" is one of the more popular of these excuses, and can be commonly heard. NAT – Many to One, but Not Many to Many
Figure 1 – NAT only allows mapping to one computer per port, and limits your ability to map more than a handful of devices. For example, if you have an organization that wants to run a distributed file sharing service on multiple computers to port 6346 (Gnutella) behind a NAT gateway, and have all these services accessible from the Internet, it would be difficult (but not impossible). Using commonly found NAT devices, it is not possible, using the default port required of the application. More complex configurations and administration would allow you to configure each computer to have the application run on a different port than the default port, and then assign the different ports to each distinct computer in the NAT device if there is room in the port mapping area of the NAT. NAT, In Itself, Does Not Provide Security Current NAT devices usually have a small 5-port physical switch and a wireless interface that can connect upwards of 50 devices to a single public IP. Since the manufacturers realized that that private addressing alone was not a security feature, they started to include a firewall in the NAT device. Configuration became more complex. With the addition of the wireless interface, and the inability of many users to configure the devices, NAT routers became open access wireless gateways to the Internet to anyone with a wireless device. A new type of intruder now emerged. Criminals quickly realized how to access these open wireless networks, and used the improperly configured NAT devices to access Internet connections without the owners' permission. This left the connection owners liable for the illegal acts originating from their Internet connection. Does this sound like effective security through obscurity?
Figure 3- Unauthorized Wireless Access to your network is common. Hackers appear to be coming from your network. NAT advocates can argue that the manufacturers quickly made changes to the default settings to prevent many of these occurrences, but if you look at the history of the security protocols used in wireless devices, you can see that the hackers found ways to quickly defeat the security measures of such devices. This led to the need for stronger and better encryption and increased security. Since configuration became more complex, many users still will not take the time to properly configure their wireless devices. A Washington University class mapped Seattle access points and generated maps showing detailed information on status, unsecured or secured, on private wireless access points. All the maps show a majority of wireless points to be insecure — and open to use by anyone. You can view these maps at: http://depts.washington.edu/wifimap/maps.html. NAT is not a Firewall Operating system manufacturers have had so many problems with their systems being insecure while being connected to the Internet that all have added packet and port filtering firewalls to their new releases of operating systems. Third party software manufacturers have taken advantage of this problem by creating automatic firewalls that detect outbound activity and allow the user to make a decision to allow a particular application to access the Internet. The most common applications that are used to connect to the Internet are web browsers. Web browsers have been responsible for allowing criminals to connect into computers more than any other application. Web browser manufacturers have found that clever hackers seem to be one step ahead of their security features — for every security hole they fix, hackers find two more. This has further rendered NAT, in itself, to be insecure. Ubiquitous Computing – Stalled By NAT Firewalls, network routing, and IPv6 In a secure network, administrators tightly control all aspects of access to services, to machines, to ports, and to applications. Initial network design usually entails configuring routers, VLANs, firewalls, and VPNs. One of the most important steps to securing a network is deciding what services will be available to the outside world and what services need to be protected. This is accomplished with a combined employment of firewall, network segmentation with routers, enforcement of security policy, antivirus protection, and restrictions that control and authorize access to a particular network.
Figure 6. Properly configured IPv6 Router with Firewall to allow authorized access to any computer while denying access to unauthorized users. Computers must have personal firewall, antivirus and anti-spyware utilities, and up-to-date system security patches. Summary: IPv6 routing, on the other hand, has more configuration control features. The complete feature set of an IPv6 router and firewall allow much more control over the network than NAT devices can. As more and more end users have IPv6 connections, IPv6 routers and firewalls will replace these outdated NAT devices. Eventually this will lead to robust ubiquitous computing, and we will have security through tested and proven security methods — and will no longer be misled by claims of "security through obscurity." |