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 > Services
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2005-08-12
BarryStiefel BarryStiefel is offline
Administrator
 
Join Date: 2005-08-11
Location: San Francisco, CA
Posts: 534
Rep Power: 10
BarryStiefel has disabled reputation
Default Blocking queSO packets

Blocking queSO packets



This information is provided by Alfredo Andres Omella:

The last months I have noticed a growth of the use of a tool called "queSO" original from savage@apostols_REMOVEME_.org. This security tool tries to guess the Operating System (version included) of a host that have a TCP port open (listen) to the world (like public web servers, public ftp servers, etc.) sending packets with tcp flags combinations that don't make any sense and an ack number of 0, after reading the received tcp flags and the tcp window from the public server this tool can guess your Operating System.

These are the steps that I have follow to stop the queSO tcp packets:

First I created a new Service to match those TCP packets that have the flag ACK activated and the ack number = 0, or have activated simultaneously the RESET and another flag, or the TCP flags value is greater than 58, or activated simultaneously the SYN flag and the FIN flag. This is a service of type Other with the following:

Name: queSO Match: tcp, (th_flags & TH_ACK, th_ack = 0) or (th_flags > 58) or (th_flags & TH_SYN, th_flags & TH_FIN) or (th_flags & TH_RST, th_flags > TH_RST) Prologue:

Next, I modified the default TCP Maximum Segment Size on the affected servers and I put a 1460 default MSS 'cause my servers are into a Ethernet (MTU 1500) and I take a "liberal position" (that's I assumed the IP header and the TCP header are minimum size). (The trick is in modify the default MSS value but not leaving it in 1460). This can change depending your point of view, your MTU, etc.

And finally I have put this rule in the first place of my rulebase:

No. Source Destination Service Action 1 Any my_servers queSO Drop

I believe that it must have a better way to handle this but I can't find it.

-- GuyR - 18 Jan 2004

FAQForm FAQs.Class: ServicesFAQs FAQs.OS: FAQs.Version:
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 15:43.


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