CPUG

The Check Point User Group

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

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. 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 > SmartDefense
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-06-30
Junior Member
 
Join Date: 2006-04-24
Posts: 7
Rep Power: 0
Thiago Formagi has an average reputation (10+)
Default Malformed HTTP

Hello Guys,

I would like a help from you.

I have a CheckPoint R60 SecurePlatform and my problem is that when the users are doing a

request http for some site, and at this time the SmartDefense returns conection reject,

more details below:

Attack Name: Malformed HTTP
Attack Information: WSE0020001 illegal header format detected: Illegal start

line in request
Type: Log
Action: Reject
Service: http (80)
Source: wks_user (10.0.2.15)
Destination: proxy_server (192.168.10.254)
Protocol: tcp
Source Port: 1393

Does somebody have any idea?

Thank you!
Reply With Quote
  #2 (permalink)  
Old 2006-06-30
Senior Member
 
Join Date: 2006-01-26
Location: Moscow, Russia
Posts: 706
Rep Power: 3
kva.kva has an average reputation (10+)
Default Re: Malformed HTTP

Uncheck Web Intelligence > HTTP Protocol Inspection > Enforce strict HTTP request parsing
Reply With Quote
  #3 (permalink)  
Old 2006-06-30
Junior Member
 
Join Date: 2006-04-24
Posts: 7
Rep Power: 0
Thiago Formagi has an average reputation (10+)
Default Re: Malformed HTTP

kva.kva

Thank you for your reply.

I Uncheck Web Intelligence > HTTP Protocol Inspection > Enforce strict HTTP request parsing, but doesn't work :( .

The problem occurs when I access a site with https protocol.

Do you have any idea?
Reply With Quote
  #4 (permalink)  
Old 2006-06-30
Senior Member
 
Join Date: 2006-01-26
Location: Moscow, Russia
Posts: 706
Rep Power: 3
kva.kva has an average reputation (10+)
Default Re: Malformed HTTP

In cases like that i usually reset web intelligense settings to default and then uncheck reject rule. Try, may be it will be helpful.
Reply With Quote
  #5 (permalink)  
Old 2006-06-30
Junior Member
 
Join Date: 2006-04-24
Posts: 7
Rep Power: 0
Thiago Formagi has an average reputation (10+)
Default Re: Malformed HTTP

kva.kva

The IP 192.168.10.254 is a proxy server and it is at network 192.168.10.0/24.

Then the machines the network 10.0.2.0/24 are using the same proxy server the network 192.168.10.0/24.

Why the network 10.0.2.0/24 doesn't work and the network 192.168.10.0/24 work?

How could I do this procedure of reset web intelligense settings to default?

Thank You.
Reply With Quote
  #6 (permalink)  
Old 2006-06-30
Senior Member
 
Join Date: 2006-01-26
Location: Moscow, Russia
Posts: 706
Rep Power: 3
kva.kva has an average reputation (10+)
Default Re: Malformed HTTP

Quote:
The IP 192.168.10.254 is a proxy server and it is at network 192.168.10.0/24.

Then the machines the network 10.0.2.0/24 are using the same proxy server the network 192.168.10.0/24.

Why the network 10.0.2.0/24 doesn't work and the network 192.168.10.0/24 work?
Because client from 10.0.2.0 goes through CP to proxy, but clients from 192.168.10.0 lies in one net with proxy (access to proxy not through CP).

What version CP do you use? In NGX select Web Intelligence > Central Configuration > Reset SmartDefence and Web Intelligence to the default configuration.
Reply With Quote
  #7 (permalink)  
Old 2006-06-30
Junior Member
 
Join Date: 2006-04-24
Posts: 7
Rep Power: 0
Thiago Formagi has an average reputation (10+)
Default Re: Malformed HTTP

Quote:
What version CP do you use?
I'm using a CheckPoint NGX R60 product.

If I do this, what could be the problems?

My VPNs will go down?

Thank You!
Reply With Quote
  #8 (permalink)  
Old 2006-06-30
Senior Member
 
Join Date: 2006-06-28
Posts: 140
Rep Power: 3
david has an average reputation (10+)
Default Re: Malformed HTTP

Quote:
Originally Posted by Thiago Formagi
kva.kva

Thank you for your reply.

I Uncheck Web Intelligence > HTTP Protocol Inspection > Enforce strict HTTP request parsing, but doesn't work :( .

The problem occurs when I access a site with https protocol.

Do you have any idea?
Did you re-install your policy after unchecking?
Reply With Quote
  #9 (permalink)  
Old 2006-06-30
Junior Member
 
Join Date: 2006-06-29
Location: Blumenau / SC - Brasil
Posts: 1
Rep Power: 0
pexerox has an average reputation (10+)
Default Re: Malformed HTTP

Quote:
Originally Posted by kva.kva
What version CP do you use? In NGX select Web Intelligence > Central Configuration > Reset SmartDefence and Web Intelligence to the default configuration.
hi sorry about my intromission
but, i need backup the policies? Or this procedure cause no problems like erase the policies?

tnx

Last edited by pexerox; 2006-06-30 at 11:28.
Reply With Quote
  #10 (permalink)  
Old 2006-06-30
Junior Member
 
Join Date: 2006-04-24
Posts: 7
Rep Power: 0
Thiago Formagi has an average reputation (10+)
Default Re: Malformed HTTP

Quote:
Originally Posted by david
Did you re-install your policy after unchecking?
I didn't apply the changes after uncheck yet, because i don't know if it will go down my sites VPN and services of Internet.

thank you!

Thiago

Last edited by Thiago Formagi; 2006-06-30 at 10:58.
Reply With Quote
  #11 (permalink)  
Old 2006-08-07
Junior Member
 
Join Date: 2006-08-03
Posts: 14
Rep Power: 0
hi_there has an average reputation (10+)
Default Re: Malformed HTTP

Quote:
Originally Posted by kva.kva
Uncheck Web Intelligence > HTTP Protocol Inspection > Enforce strict HTTP request parsing
I am having the same error too... so by doing what u said will resolve this problem? The other what is the impact if leave uncheck?

By the way what does "enforce strict HTTP request parsing" means

Thanks
Reply With Quote
  #12 (permalink)  
Old 2006-08-07
Junior Member
 
Join Date: 2006-08-03
Posts: 14
Rep Power: 0
hi_there has an average reputation (10+)
Default Re: Malformed HTTP

Quote:
Originally Posted by kva.kva
Uncheck Web Intelligence > HTTP Protocol Inspection > Enforce strict HTTP request parsing
Did just that and now the HTTP traffic are going thru
Reply With Quote
  #13 (permalink)  
Old 2006-09-25
Junior Member
 
Join Date: 2006-09-25
Posts: 3
Rep Power: 0
ericsj has an average reputation (10+)
Default Re: Malformed HTTP

I have read all three posts on this error (WSE0020001), but I still don't have a solution that works. Enforce Strict HTTP parsing has never been checked. I unchecked "Use Early Version Configuration", but that did not help either.

GoToAssist does work from a select few workstations inside our school district here. On the rest, the failure occurs at the attempt to share the screen (chat window works fine). I understand this to be an error in the Citrix code, and don't want to entirely disable SmartDefense or Web Intelligence just to get around this problem.

Has anyone opened a support case with Checkpoint over this? If so, what was the end result?

Thanks,
Eric
Reply With Quote
  #14 (permalink)  
Old 2006-09-27
Junior Member
 
Join Date: 2006-07-23
Posts: 24
Rep Power: 0
Coronabeer has an average reputation (10+)
Default Re: Malformed HTTP

This is so true. GotoAssist and GotoMeeting will only work if you disable Smart Defense and Webdefense. If you go back to its default settings and make sure that GoToMyPc is not blocked it will only work on a selected number of PC's.

The checkpoint forum has nothing on this and so far this is the only forum I have found this on.

Coronabeer
Reply With Quote
  #15 (permalink)  
Old 2006-09-28
Junior Member
 
Join Date: 2006-09-25
Posts: 3
Rep Power: 0
ericsj has an average reputation (10+)
Default Re: Malformed HTTP

Thanks, Coronabeer. It's good to know we're not alone in this issue.

I did try resetting SmartDefense and Web Intelligence to defaults, with no success. There are some computers that work consistently, but the vast majority tested do not work. There seems to be no correlation to the Java version on the client workstation.

It certainly would be nice to have an exclusion list, or even a way to disable Malformed HTTP checking. I understand that the problem might be with the Citrix Code, and that ignoring the malformation of the HTTP header might not be a security best practice, but with every other protection there is the ability to disable it. Why not with Malformed HTTP?

Coronabeer, have you spoken to Checkpoint about this yet?
Reply With Quote
  #16 (permalink)  
Old 2006-09-28
Junior Member
 
Join Date: 2006-07-23
Posts: 24
Rep Power: 0
Coronabeer has an average reputation (10+)
Default Re: Malformed HTTP

No, I was going to call but from a troubleshooting perspective it seems to be a Gotomypc aka Citrix (Gotoassist and Gotomeeting) issue. I called Gotoassist technical support and they told me that they have been blacklisted by checkpoint. Why? I dont know. They have been working with checkpoint on a permanent solution for this but have yet to come up with any thing.

I think we should see a patch pretty soon.

Other solutions for remote assistance would be the Windows Remote Assistance that comes with Windows XP or Webex.
Reply With Quote
  #17 (permalink)  
Old 2006-10-04
Junior Member
 
Join Date: 2006-08-10
Posts: 1
Rep Power: 0
bobmarvin has an average reputation (10+)
Default Re: Malformed HTTP

I have found the solution to this problem (for Windows SmartCenter):

Modify the file: $FWDIR/lib/asm.def


1. Prepare a list of IPs for which you want to bypass WebIntelligence.


2. Backup $FWDIR/lib/asm.def on the SmartCenter.


3. Edit asm.def on the SmartCenter:


*a. Add the following line in the file (This list will represents the problematic IPs.):

Individual IPs

IPList = {<IP1>,<IP2>,<IP3>};

or, ranges of IPs:

List = {<IP_start,IP_end>,<IP_start,IP2_end>};


For example:

List={<1.1.1.1,1.1.1.5>, <2.2.2.2,2.2.3.3>};


b. Find the following line:

#define ACTIVATE_WS_GLOBAL_DEFENSE (tcp, dport in http_services,ADD_INSPECTION(SPII_WEBSEC_ID)) or 1


change it to read as follows:

#define ACTIVATE_WS_GLOBAL_DEFENSE (src not in IPList,dst not in IPList,tcp, dport in http_services,ADD_INSPECTION(SPII_WEBSEC_ID)) or 1


c. Find the following line:

#define ACTIVATE_WS_SERVER_DEFENSE ( tcp, get <dst, dport> from web_server_rules to sr10, ADD_INSPECTION_WITH_PARAMS(SPII_WEBSEC_ID, sr10)) or ACTIVATE_WS_GLOBAL_DEFENSE


change to read as follows:

#define ACTIVATE_WS_SERVER_DEFENSE ( src not in IPList,dst not in IPList,tcp, get <dst, dport> from web_server_rules to sr10, ADD_INSPECTION_WITH_PARAMS(SPII_WEBSEC_ID, sr10)) or ACTIVATE_WS_GLOBAL_DEFENSE


4. Install the policy on the module(s) to activate the changes.
Reply With Quote
  #18 (permalink)  
Old 2006-10-05
Junior Member
 
Join Date: 2006-07-23
Posts: 24
Rep Power: 0
Coronabeer has an average reputation (10+)
Default Re: Malformed HTTP

Cool Stuff bob.

Here is the bypass solution I was able to come up with.

1.Disable GotoMypc on Smart Defense and on Webintelligence.

2.Then also disable your peer to peer and Instant Messangers on your Smart Defense. ( I know someone of you don't like this part).

The reason that step 1 will only work for a while or with a couple of users is that the Gotmypc engine uses something similar to the peer to peer and instant messaging, So if you have the peer to peer and instant messaging blocked, it will think that Gotomypc (Gotoassist and gotomeeting) is a Peer to Peer/IM and will tag it with a malformed http packet.

Try it.


I hope this makes sense.
Reply With Quote
  #19 (permalink)  
Old 2006-11-07
Junior Member
 
Join Date: 2006-06-30
Posts: 1
Rep Power: 0
rrockwell has an average reputation (10+)
Default Re: Malformed HTTP

We are also experiencing this problem. Has there been any update from Checkpoint on this issue or are we still left with disabling all peer to peer in SmartDefense?
Reply With Quote
  #20 (permalink)  
Old 2006-11-28
Junior Member
 
Join Date: 2006-11-28
Posts: 1
Rep Power: 0
distorto_666 has an average reputation (10+)
Default Re: Malformed HTTP in GotoMeeting

We had this issue and were able to figure it out - though a half hour into the meeting...

As noted earlier - the gotomeeting client tries a few ways to connect, first via GoToMyPC ports, then tunneling through an https connection.

We were able to successfully circumvent it by:
1. Ensuring your security policy allows outgoing connections via the GoToMyPC port (tcp 8200)
2. Possibly disabling the Block GoToMyPC entry in SmartDefense - though oddly enough we didn't have to do this.
3. Uninstall the gotomeeting plugin on the client and have them visit gotomeeting again to reinstall. It's listed in 'add/remove programs'.

I assume this 'resets' gotomeeting to reconnect via the gotomypc port instead of trying to tunnel via https which seems to be a real pain to resolve.
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 11:33.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0