CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We already have sign-ups from twelve different countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 7/14, 8/25, 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8.
3. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
4. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Miscellaneous
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-12-12
jimfitz jimfitz is offline
Junior Member
 
Join Date: 2007-12-11
Posts: 12
Rep Power: 0
jimfitz has an average reputation (10+)
Default Rulebase review

I have been asked by my organisation to do a review of the rulebase for their checkpoint firewall system. They have splat management and a number of nokia HA clusters. There are different policy packages for each cluster but on one of the rulebases there are over 200 rules. We hope to add in another 50 rules shortly to allow for new services.

I was wondering if there any generally recognised approach to conducting a review of a security rulebase. From reading up on the topic there would appear to be a consensus around placing the most used rules to the top of the rulebase and deleting unused rules. Aside from this, I have read that keeping "any" out of the rulebase is recommended from a security and efficiency viewpoint and being as specific as possible about the sources, destinations and services. Organisation of the rules in section titles I read as recommended as well for presentation.

This would still leave a very large number of rules in our rulebase. The question I have is basically is this the way it has to be or is there any additional approach we can adopt?
Reply With Quote
  #2 (permalink)  
Old 2007-12-12
mcnallym mcnallym is offline
Senior Member
 
Join Date: 2007-06-04
Posts: 857
Rep Power: 2
mcnallym has an average reputation (10+)
Default Re: Rulebase review

Having a large number of rules may just be that you have diverse number of connections.

Just because it is large does not make it bad. I think you have already answered the question yourself.

Generally when implementing rules also comment why rule in and if temporary when it is to be removed. That way can easily see if can be removed.

There are also some 3rd party tools that can analyse your rulebase and tell you what rules are not used. They depend upon the Log Analysis to do so make sure that you Log everything otherwise will be told that not used as no log entry.
Reply With Quote
  #3 (permalink)  
Old 2007-12-12
lammbo lammbo is offline
Senior Member
 
Join Date: 2006-02-09
Location: Charleston, SC
Posts: 234
Rep Power: 3
lammbo has an average reputation (10+)
Default Re: Rulebase review

Quote:
Originally Posted by mcnallym View Post
There are also some 3rd party tools that can analyse your rulebase and tell you what rules are not used. They depend upon the Log Analysis to do so make sure that you Log everything otherwise will be told that not used as no log entry.
Also, Eventia Reporter performs this service as well (and it actually works as of R65 HFA_02).
__________________
There's no place like 127.0.0.1
Reply With Quote
  #4 (permalink)  
Old 2007-12-12
lodown lodown is offline
Member
 
Join Date: 2006-05-05
Posts: 54
Rep Power: 3
lodown has an average reputation (10+)
Default Re: Rulebase review

I have done this in two capacities: internal review and managing external auditors. Because firewall policies can be vastly different, gaining insight in to how effective or ineffective a particular rulebase can be difficult.

I find that the most effective thing to begin with is determining the purpose and expected output from an audit. Auditing a policy to make it more efficient will have a very different scope than an audit focused on security best practices. Working with management to determine this will help you set expectations for the deliverables once the audit is complete.

Once the purpose has been defined you will be able to focus on the output. By setting output goals you can get an idea of the approach you will take to gather the necessary information. Here are a few examples:

1. Efficiency: Determine how you can make your rulebase more efficient by removing unnecessary rules, combining rules, or relocating the most used rules. I think you can now do this with Eventia, but it can also be accomplished by third-party systems. A few I know about include firemon(secure passage), most log management products(Log Logic), and even some homegrown Perl scripts.

2. Security Policy Enforcement: Determine how effective your firewall policy enforces your overall security policy. This tends to be more difficult, as it requires matching policy to practice. If you are lucky, your company has set out what services and practices that are allowed/disallowed. Matching this to a firewall policy is relatively easy, though time consuming. The unlucky will spend time laying out the black and white services and, through the audit, documenting the exceptions.

3. Change Management and Compliance: Determine if the firewall policy and procedures are compliant with internal and external best practices. While this is similar to the previous topic, the deliverables tend to differ. Your goal here is to determine if the changes made to the policy are reflected in the proper control systems. I find an external tool like firemon or securetrack works well in this area, for day to day operations as well as audits. While both are expensive they are a must have for a large environment. This can be done manually using SmartView Tracker, but it will take a lot of time.

Once this is complete, the next step is to build a list of "actionable" data. This means translating your findings to actions to be taken. An example:

Finding: * Found 5 rules that offer the same service. Must have been done by a few different engineers a long time ago and never cleaned up*

Action: *Combine rules 14, 15, 75. Remove rule 132.*

Finding: *Changes are not tracked appropriately*

Action: *Develop an RFP for an automated change monitoring system*

Building a matrix of these items can help you prioritize these changes. Some are as simple as adding/removing rules. Others are as complex as adjusting the change control process or adding a new management system. Being able to graph complexity and importance will make prioritizing a simple task. It will also be helpful when presenting your findings to management.

The last thing is to make sure this process is repeated on a regular basis. Plan to fully audit your policies on an annual basis with spot checks on a quarterly basis. If this is being done externally, make sure the cost is in your budget ahead of time.

While this is not a complete list, it should help you on your way.

lodown
Reply With Quote
  #5 (permalink)  
Old 2007-12-13
MarioL MarioL is offline
Senior Member
 
Join Date: 2007-01-18
Location: London
Posts: 346
Rep Power: 2
MarioL has an average reputation (10+)
Default Re: Rulebase review

Each case is a case, but here are some things I usually go by:
- I use one color per subnet/area and make sure all devices from that "area" all have the same color. This helps greatly in identifying objects and "reading" rules.
- Have a naming policy for objects and always write good decent comments
- Comment all rules and put a date of removal/review on temp rules, so they don't become "permanent temp" rules
- Consolidate and optimize rules regularly
- Have strict rules. Avoid using "Any" and if you really need "Any", avoid having 2 "Any" in one rule. (unless it is a drop :) )
Reply With Quote
  #6 (permalink)  
Old 2007-12-13
Thorpuse Thorpuse is offline
Senior Member
 
Join Date: 2007-07-16
Posts: 323
Rep Power: 1
Thorpuse has an average reputation (10+)
Default Re: Rulebase review

Have a look at Tufin SecureTrack - Firewall Operations Management and their SecureTrack product. It has a significant Policy Analysis and Audit report function in the latest version, as well as rule and object utilisation reports. OPSEC certified, and does a bunch of other cool stuff.
Reply With Quote
  #7 (permalink)  
Old 2007-12-13
cciesec2006 cciesec2006 is online now
Senior Member
 
Join Date: 2006-09-26
Posts: 596
Rep Power: 2
cciesec2006 has an average reputation (10+)
Default Re: Rulebase review

I eval Tuffin a few months ago and it is an ok product, not that great.
Personally, I use Firemon from Secure Passage. It is a better product,
imho.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 19:05.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0