Wilders Security Forums  

Go Back   Wilders Security Forums > Other Security Topics > other security issues & news
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old January 3rd, 2005, 09:19 PM
nick s nick s is offline
Very Frequent Poster
 
Join Date: Nov 2002
Posts: 1,427
Default Multiple Firewall Products Bypass Vulnerability

"This is a generic problem of common Personal Firewall products which are accept shortcuts or provide an interface that enables to click without require a password for controlled actions (acting as server -listening ports-, executing another program, connecting to another computer etc.)..."

Full advisory: Multiple Firewall Products Bypass Vulnerability (link may go down) or Multiple Firewall Products Bypass Vulnerability

Nick

more of the advisory (from grc.security):

Online URL : http://ferruh.mavituna.com/article/?769
Download POC : http://ferruh.mavituna.com/opensourc...wallbypass.zip
(Also I attached vbs files as txt, one of them is -mousecontrol.txt- vb.net
source code)

This is a generic problem of common Personal Firewall products which are
accept shortcuts or provide an interface that enables to click without
require a password for controlled actions (acting as server -listening
ports-, executing another program, connecting to another computer etc.).

-------------------------------------------------------------------
Problem;
-------------------------------------------------------------------
Most of personal firewalls allow shortcuts or interface for controlling
traffic. It's simple to bypass these firewalls by a multithreaded program
and sending keys or by contolling mouse.

This flaw enables that any Trojan or similar programs can easily bypass
firewall and act as a server or access to another computer. Also most of
these firewalls have a "remember" option so if you bypass firewall and
successfully exploit it, firewall will never ask again.

This is a similar threat with shattering attacks, but different method and
impact.

Vulnerable Products (Sending Key Method and Mouse Control);
These products are vulnerable to both of "Sending Key Method" and "Mouse
Control Method"

Test Platforms;
Fully Patched Windows XP Professional and Windows 2003 Enterprise Edition
(May 19, 2004 - 01.01.2005)

1. ZoneAlarm / ZoneAlarm Pro (www.zonelabs.com) | Fixed
I. 4.5.530.000 - Tested
II. 4.5.538.001 - Tested
III. 5 and newer versions are not vulnerable...

2. Kerio (www.kerio.com)
I. 4.0.14 - Tested
II. All Versions

3. Agnitium Outpost Firewall (www.agnitium.com)
I. 2.1.303.4009 (314) - Tested
II. 2.5.369.4608 (369) - Tested
II. All Versions

4. Kaspersky Anti-Hacker (www.kaspersky.com)
I. 1.5.119.0 - Tested
II. All Versions

5. Look 'n' Stop (www.looknstop.com)
I. 2.04p2 - Tested
II. All Versions

6. Symantec's Norton Personal Firewall (www.norton.com)
I. 2004 - Tested
II. All VersionsMultiple Firewall Products Bypass Vulnerability

Last edited by nick s : January 3rd, 2005 at 10:11 PM. Reason: link seems down
  #2  
Old January 3rd, 2005, 11:07 PM
nick s nick s is offline
Very Frequent Poster
 
Join Date: Nov 2002
Posts: 1,427
Default Re: Multiple Firewall Products Bypass Vulnerability

The Outpost Pro proof-of-concept worked on my version 2.5.370.4626 (370). Running in "Rules Wizard" mode, when I execute the VBS script, the standard allow/deny dialogue flashes briefly. If I then look at the OP "Applications" dialogue and the "Allowed Connections" log, I see that wscript.exe had been added as a "Trusted" application and established an outbound connection to the test URL.

When I put OP in "Block most mode", the script fails. For the exploit to work on my system, I did have to allow the script to run when RegRun intercepted it, and I had to allow wscript.exe to run when Process Guard alerted me.

Nick
  #3  
Old January 4th, 2005, 12:25 PM
gkweb's Avatar
gkweb gkweb is offline
Expert Firewall Tester
 
Join Date: Aug 2003
Location: FRANCE, Rouen (76)
Posts: 1,917
Default Re: Multiple Firewall Products Bypass Vulnerability

I will just quote what I said on broadband security forum :

Quote:
Hi,

personally I do not see "sending keystrokes to the firewall GUI" as a firewall bypass vulnerability at all (it's not a "leaktest").
A real "firewall bypass" method will bypass the firewall without interferring with it, without attacking it nor modifying/terminating it.
As soon as it targets the firewall, it turns into a trojans or malicious code, not a "bypass", just an attack.

In addition, this problem raised about sending keystrokes to the various GUI to control the applications is not new, and concerns many more applications than just personal firewalls, every security apps is concerned like the AV, AT, etc...

I second Ghost16825 about that this has more to do with sandboxes than anything else, and I second Wayne about ProcessGuard which already protects against that kind of remote process control.
With ProcessGuard you can not only define that you want a password protected popup when "something" or someone click on "File -> Exit" or anything else, but you can also define this for any button on the GUI, just hold the INSERT button while doing the action you want to be protected, and ProcessGuard will learn it and protect it for you

regards,

gkweb.

just my 2 cents.
__________________
Network Filter Blog : http://networkfilter.blogspot.fr
  #4  
Old January 4th, 2005, 04:26 PM
kareldjag's Avatar
kareldjag kareldjag is offline
Frequent Poster
 
Join Date: Nov 2004
Location: Feet in France, Mind in the World
Posts: 521
Default Re: Multiple Firewall Products Bypass Vulnerability

Hi,

I've recently mentioned in ProcessGuard forum that API calls vulnerabilities could be exploited with shatter attacks to bypass some protections like firewalls or others.

More information (not the page with the tools' exploit):

http://www.securityfocus.com/archive/1/383586

Best Regards
  #5  
Old January 5th, 2005, 04:29 PM
Paranoid2000's Avatar
Paranoid2000 Paranoid2000 is offline
Security Expert
 
Join Date: May 2004
Location: North West, United Kingdom
Posts: 2,839
Default Re: Multiple Firewall Products Bypass Vulnerability

This is information I've posted previously elsewhere but since it seems relevant to this issue, it is probably worth repeating...

Any exploit using SendKeys can be blocked via the following methods:
  • Remove Windows Scripting Host - Windows 98 users can remove it via Add/Remove Programs in the Control Panel (Windows Setup/Accessories should list Windows Scripting Host as a component). Windows 2000/XP users will have to use a third-party product like 2000lite/XPlite since Microsoft does not list WSH as a separate component here. Note: Some sites (like Sophos) suggest disabling WSH by removing the .vbs file type from Windows Explorer's recognised file types - while this will work for .vbs files, scripts can have other extensions (e.g. shellscrap .shs/shb files) so this should not be relied upon as a complete solution.
  • Install script-checking software - Some anti-virus software include script scanners or blockers (just try running a test script to verify this) but Script Sentry can be used as a free alternative if they do not.
  • Assigning a firewall configuration password (where this option is available) may prevent (or at least restrict) the changes that can be made by any script - Process Guard's Secure Message Handling option can offer a partial solution since it can be used to prevent a firewall from being shut down and can be extended to include configuration changes accessible via menu options (this may not cover all options however and probably would not handle responses to application prompts).
 

Wilders Security Forums > Other Security Topics > other security issues & news « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 01:59 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums