
Originally Posted by
Senad
As a Network/Security Expert here at Steadfast, I like to look at security and network stability as the most important aspect within any corporate infrastructure. Today I would like to write a little information about Host based firewalls and hardware based firewalls (the Cisco ASA firewalls we offer to clients as an additional option), the benefits of both and the recommendation set forth by different standards. A good article which I will mostly be quoting and paraphrasing can be found in the credit link below. I have also attached and edited the article to be more specific in general to the services we offer.
Hardware Firewall
Hardware firewalls are important because they provide a strong degree of protection from most forms of attack coming from the outside world. Additionally, in most cases, they can be effective with little or no configuration, and they can protect every machine on a local network (on the inside or DMZ area) whereas a host based firewall will only protect that one server.
A hardware firewall in a typical setup employs a technique called packet filtering, which examines the header of a packet to determine its source and destination addresses. This information is compared to a set of predefined and/or user-created rules that determine whether the packet is to be forwarded or dropped. It includes a more advanced technique called Stateful Packet Inspection, which looks at additional characteristics such as a packet's actual origin (i.e. did it come from the Internet or from the local network) and whether incoming traffic is a response to existing outgoing connections, like a request for a Web page.
The Cisco ASA's are always configured with two rule sets as a standard. These two rules (access-list inside and access-list outside...meaning both the inside and outside locations) will restrict ips, ports, and even subnets according to client specifications and keep a stateful inspection of the packets.
An additional and highly recommended way to keep your internal network is to use Network Address Translation (NAT) and then using a VPN to only be able to access the internal network in that manner. The server would have a static link to the outside to allow certain ports to connect to the outside world (IE: Port 80 HTTP). Any administration such as SSH, RDP, telnet (which is highly not recommended), or any other ways to access the server such as ftp, etc... would be only available to people who access a 256-bit AES encrypted VPN tunnel. Once you are connected to this tunnel your connection to the outside world would be unavailable (IE: You cannot go anywhere except for the servers in the internal network). Some clients request that we setup split-tunneling which allows you to access your internet connection and the internal network at the same time. This is always highly not recommended since it allows for back-door attacks from your internet connection to the internal VPNed network.
Advantages of Software Firewalls
With a software firewall, you can specify which applications are allowed to communicate over the Internet from that PC. Programs that aren't explicitly allowed to do so are either blocked or else the user is prompted for confirmation before the traffic is allowed to pass. Therefore, it would likely intercept this kind of traffic before it left your computer.
Another potential scenario where a software firewall would be useful is in the case of an e-mail worm with its own e-mail sever. Its built-in mail server could attempt to send mail on the valid Simple Mail Transfer Protocol (SMTP), port (25), which would probably pass through the hardware firewall because of its trusted origin.
On the other hand, a software firewall could be configured to only allow a certain program such as Thunderbird to use port 25 (assuming Thunderbird is your e-mail client). Any attempt by another application to use the port would be dropped, or blocked pending user confirmation. For that matter, the application's attempt to use any port would be blocked if the firewall was configured that way.
By comparison, a hardware firewall that had the ability to filter outgoing traffic might allow you to block most kinds of traffic from a particular PC. The firewall can also be configured to use syslog or snmp to sent reports/logs to your server so you can see if there were any potential scans or attempts to access the server on certain ports..
One obvious downside to software firewalls is that they can only protect the machine they're installed on, so if you have multiple computers (which many small offices do), you need to buy, install, and configure a software firewall separately on each machine. This can get expensive and can be difficult to manage if you have a lot of computers.
Software firewalls generally offer the best measure of protection against certain types of situations like Trojan programs or e-mail worms although the ASAs are fully capable of offering anti-spam,anti-phishing, anti-spyware, and anti-virus scanning within your internal network with an added module.
Whether you end up using a software firewall or a hardware firewall, you should always supplement it with anti-virus, anti-spam, anti-phising, and anti-spyware software. Having these installed is just as important as the firewall itself.
It is my personal recommendation that one install both a hardware and a software firewall on their servers. The reason one would like to have both is for higher protection (at the software and network level) and for redundancy in the case of an unlikely compromise of the hardware firewall. The Cisco ASA firewalls will provide you with an additional state of security via VPN tunnels and with NAT which a software firewall cannot offer. In addition to installing a firewall one must ensure that an anti-virus, anti-spam, anti-phishing, anti-spyware, and even root kit detection software is installed.
Bookmarks