BeyondTrust

Security In Context

Bringing you news and commentary on solutions and strategies for protecting your critical IT infrastructure.

Scanning Problems through a Firewall

Post by Morey Haber April 7, 2011

Vulnerability assessment scanning through a network or host-based firewall can create an unknown level of complexity, uncertainty into the quality of scan results, and a change control process that essentially decreases the security posture of the network and / or host in order to perform a vulnerability assessment scan.

Prior to Windows XP SP2, network-based vulnerability assessment worked on a default system build using credentials.?? This Service Pack included a Windows Firewall that was turned on by default and blocked credentialed based scans by blocking Windows File and Print Sharing by default. With the advent of Windows Vista and Windows 7, key services required for a credentialed-based network scan were also turned off by default. These included Network Access enumeration to either the Classic Model or Guest account and the deactivation of the Remote Registry Access Service.? Both introduce additional challenges and settings that needed to be modified on top of scanning through the host firewall. When all of these settings are set correctly, you effectively need to decrease the security posture of the asset and increase its exposure in terms of risk in order to perform a network based vulnerability assessment scan.

Many organizations require these changes for other tools and other operational functions and it does not present a challenge. Other organizations have taken a stronger stance on security when deploying desktops and will not make these changes since they violate best practices for a hardened host. Even on critical servers that may be forward- facing or in the DMZ, these changes are not acceptable. So, scanning through a firewall is just not possible and even null session scans will yield false negatives.

One possible action is to use a local vulnerability assessment agent to gather the information as a service and upload the results on a periodic basis to a management console. eEye’s Blink solution will do this, as will the Retina Protection (without local antivirus or host-based firewall). While this is not ideal for everyone, it provides a simple and effective solution for mobile Windows devices, hardened desktops, and critical servers that cannot have the exposure of remote credentialed access or remote registry connectivity.

A more common approach is to use strict change control to allow scan windows into the target and then to harden the host again during normal operations.  This requires using a solution that can apply these setting on the fly (versus just a GPO) or building a custom package that makes these changes from the command line and registry and deploys it using a standard software delivery solution. This of course increases exposure during the scan window, but does not require agents or decrease the security posture during normal operations. This technique is most commonly used for audits performed by the government and for regulatory compliance.

The second part of the problem is scanning through a network-based firewall. Let us first consider a NAT or PIX solution. Cisco PIX devices are limited to approximately 64,000 simultaneous connections by default. If you scan one target through a PIX Firewall, using All Ports and full TCP handshakes on each port, you will crash the Firewall since it will run out of connections. Juniper devices allow approximately 260,000 simultaneous connections and fail after 4 targets. Since a standard vulnerability assessment solution can scan much more than 4 targets at a time, assessments through a PIX Firewall or even a NAT device will typically abend the device, cause an outage, or multiple false negatives. This type of scanning is therefore never recommend.

The other scenario for a network firewall connects two routed networks. This presents a challenge when any rule blocks a scan. To make sure this type of inline device works correctly, and performs well, a new rule should be added and placed at the highest priority (i.e. #1 in the list). This rule should allow the vulnerability assessments scanner’s source IP to communicate with the foreign network for every port and protocol in the target range. This is essentially a One to Any Rule with no restrictions. This assures that the traffic from the scanner is processed only by one rule (versus evaluating the entire list and consuming firewall resources) and the performance is optimized for time- sensitive audits. As long as the firewall has no IPS or packet shaping features, the scan will work correctly.

For more information on how to properly configure your network or host based firewall, please review our Knowledge Base for specific OS details and settings.

Tags:
, ,

Leave a Reply

Additional articles

smart rules manager for vulnerabilities

Staying on Top of the Latest Vulnerabilities with BeyondInsight v5.1

It’s no secret that dozens of new OS and application vulnerabilities are revealed every day. Staying on top of these new exposures normally requires paying for services or subscribing to multiple RSS feeds. BeyondInsight 5.1 provides customers with another option: a built-in, customizable vulnerability alerting system that delivers up-to-date information on the latest vulnerabilities in…

Post by Morey Haber April 21, 2014
Tags:
, , , , , ,
BI-Qualys-Connector-IMG1

Getting More Value from QualysGuard Vulnerability Data with BeyondInsight v5.1

If your vulnerability assessment scans can’t produce meaningful and actionable reports, performing a scan does no good for anyone. If you’ve read my other blog posts, you know I have no qualms about stating that BeyondTrust provides the best vulnerability reporting in the industry. Ask your favorite analyst and they’ll tend to agree. Of course,…

Post by Morey Haber April 18, 2014
Tags:
, , , , , , , ,
insider-threat-fed

Mitigating Inside Threats to U.S. Federal IT Environments

Recent high-profile cases have increased the perceived risks that go along with disclosure and usage of confidential information. One of the most difficult security threats to mitigate is an attack from the inside. When an over-privileged user, such as an unhappy current or former employee, contractor, or consultant, begins navigating your network, how will you…

Post by BeyondTrust Software April 17, 2014
Tags:
, , , , ,