PDA

View Full Version : Zonealarm Problem (?)


Ghost_Hacker
12-07-2001, 02:12 PM
Just thought I would post a snip of a thread that is running in another list I belong too. (the orginal poster is a guy named Tom Listen) You guys might find it interesting. As yet noone has created code that takes advantage of the security hole. I also don't agree with Tom that Zonelab's "fix" is invalid. I think ,for most people who aren't "hacking" their own code, dropping communications started by a non-windows TCP/IP stack is OK.

"Issue: Outbound filtering in personal firewalls does not block
packets that are generated by protocol stacks other than the
default Microsoft stack.

Description: While working to port LaBrea to the Win9x platform, I
was faced with the task of creating packets with specific flags,
window sizes, etc... In order to accomplish this, I was forced to
"roll my own" protocol adapter that would allow me to send TCP
packets formatted in specific ways. As a side effect of this, I found
that at least two personal firewalls don't "see" the TCP packets
that this "non-standard" protocol adapter generates.

In experimenting further, it was found that the "Lock" or "Block All"
settings of those firewalls was also ineffective against TCP packets
from non-standard protocol adapters.

Known vulnerable firewalls: ZoneAlarm and ZoneAlarm Pro as of
their current revisions and Tiny Personal Firewall. Although I
cannot test it, I believe all versions prior to the current ones are
also vulnerable.

Vendor responses: ZoneLabs was initially contacted regarding this
issue on November 9th. Since that time, I've received sporadic
updates on their progress in fixing this issue. As of the present
time, I have tested at least one ZoneLabs supplied "fix." The
method of "fixing" this issue, as demonstrated by this "beta" was
to silently drop all TCP packets not originating from the standard
Windows TCP protocol adapter. I have explained to Zone Labs that
I don't believe this is a valid approach.

They have, in my estimation, taken this route because they cannot
trace the source of packets back through a protocol adapter that
they know nothing about. Any other approach would require that
they issue a warning to the user, saying essentially "Some
application on your machine has attempted to send a TCP packet.
We don't know what that application is... we can't know.... So! Do
you want to let it communicate?" That would tend to tarnish the
carefully crafted ZoneAlarm image.

I fully expect to take heat from ZoneLabs for publishing this
vulnerability. However, I will say this: ZoneLabs has, from the
outset, done nothing but attempt to duck, mislead and obfuscate
the issue. It has been over three weeks, and I have seen nothing
from them but a buggy beta "fix" that essentially breaks NDIS
functionality without any warning to the user. I have asked them to
confirm for me in writing their intention to "fix" this issue by silently
dropping valid packets.

Tiny Software: Tiny was also contacted in mid-November, but did
not reply. I have recently re-contacted Tiny, and they have now
acknowledged that the problem exists, and have stated that they
intend to block "non-standard" protocol access to NDIS, but have
yet to reply about how (ie. silent drop, warn the user, etc...) this
will be accomplished.

Note: Other personal firewalls might very well be susceptible to this
same problem. I haven't the time or the resources available to test
them.

Also troubling is the fact that, in both cases, specially crafted
packets can be sent *to* a machine which an application can sniff
off the wire. These packets are ignored by the personal firewalls
and there is no warning to the end user. This makes two-way
communication possible with a machine, even when its firewall is
set to "Lock" or "Block All" network traffic.

Please forgive me for jumping on my soap box: I believe that the
real issue at hand has little to do with vulnerabilities and protocol
adapters. The real issue here is marketing. The entire personal
firewall industry has been driven to make claims that it cannot
deliver on. There is a vicious "me too" cycle that drives personal
firewall vendors. Now, there are testing labs and "certifications."
(Both TinyPFW and ZoneAlarmPro are certified by ICSA Labs.)
This is just insane. When I look at the concept of "outbound
filtering", I see a distinct parallel to "copy protection." Both
concepts suffer from the same, basic flaws. The problem is in the
claims that personal firewall vendors are making and the fact that
they're allowed to get away with it."




[This message has been edited by Ghost_Hacker (edited 12-07-2001).]

Randy_tx
12-07-2001, 09:57 PM
Wow.......is all I can say! All this time I thought my Zone Alarm was fully protecting me when in "Lock" mode....gad, how many out there know how to break through do you figure?

------------------
Will XP save Me ?

John0904
12-07-2001, 10:59 PM
You might want to email Steve Gibson with your findings about this.
He's all for security and firewall stuff.
Gibson Research Corporation Homepage (http://grc.com/default.htm)

I'm sure that he can put the heat down on the software companies as well.

Good job by the way. http://www.PCGuide.com/ubb/smile.gif

Gallaeglagh
12-08-2001, 12:28 AM
Issue: Outbound filtering in personal firewalls does not block
packets that are generated by protocol stacks other than the
default Microsoft stack.

So in order for a cracker to make use of this "loophole" a new network protocol would need to be installed on the victims computer? Sounds like something well beyond most script kiddies so probably not much worry for the home user.

------------------
"It's all one song," Neil Young

Ghost_Hacker
12-08-2001, 03:10 AM
Randy_tx Not too many folks, from what I have read so far,know about this. But I haven't visted all of the security sites/list I know of yet. Tom Liston has already created a demo program that allows you to chat with another user on the internet with ZoneAlarm in "locked" mode!

Gallaeglagh I agree that to use the loophole is beyond the script kiddie, but all it takes is for one "real" hacker to publish an exploit tool or trojan.

John0904 I can't take credit for this discovery. It's all Tom's work. I don't know if he's contacted anyone other than the firewall folks and I belive Bugtrack, but I'll pass alone your suggestion.

Ghost_Hacker
12-10-2001, 10:55 AM
Here's the response from Zonelabs that was posted on BugTrack. (in case your interested. http://www.PCGuide.com/ubb/smile.gif )


"Tom contacted us a couple of weeks ago with the
information that certain packet drivers can bypass the
low-level firewall that is part of our ZoneAlarm and
ZoneAlarm Pro drivers. Upon investigation we
confirmed the problem and we are testing a fix.

It turned out that a bug in Windows NDIS layer allows
a packet driver to bypass any personal firewall or
similar product. In order to exploit the bug, malicious
code would have to break through two levels of
protection in our software - our inbound firewall
protection and/or our MailSafe feature that blocks
potentially dangerous attachments. In addition, a
malicious application would need administrative
privileges under Windows NT, 2000 and XP. To date,
there have been no reports of actual exploits of this
potential vulnerability and we are working on a fix and
expect to have another build for testing next week.

After providing Tom with a test version of ZoneAlarm
Pro that sealed this vulnerability to confirm the fix, he
was then disappointed that his LaBrea@Home
application would not work any more. LaBrea@Home
is a honey pot application that attempts to frustrate
hackers by initially responding to a scan but then not
continue "the conversation". The theory is that a
hacker would waste time in his/her scan but would
ultimately be unsuccessful in the attempt. We'd
recommend that a honeypot application be put on a
separate machine and not be protected by a firewall.

If used by security specialists, honeypot applications
have their legitimacy, but we firmly advise against this
approach for most users because honey pots do
(and are designed to) attract subsequent attacks.
ZoneAlarm and ZoneAlarm Pro will block
indiscriminate outbound traffic to untrusted
computers by applications that attempt to bypass the
normal TCP/IP stack and therefore we don't expect
that LaBrea@Home and our products will work
together. It is possible to configure ZoneAlarm and
ZoneAlarm Pro for this setup but we don't
recommend it for the reasons listed above.

Tom contention that we block any outbound traffic
issued by drivers other then the regular TCP/IP driver
is simply wrong. For example, most VPN drivers do
just that in one way or the other. However we require
that such drivers only communicate with the trusted
computers as defined by the local zone in ZoneAlarm
and ZoneAlarm Pro.

Tom further complains that he doesn't get an alert for
every single blocked packet. This is as designed.
ZoneAlarm and ZoneAlarm Pro have been carefully
designed to eliminate unnecessary alerts. This
includes:
1) Only issue one alert for any hack attempt even if
the attempt consists of multiple packets.
2) Reduce alerts by "Internet background noise".
3) Repress alerts if issuing an alert might lead to a
DoS situation because processing the alerts start to
take up too much CPU time.

This behavior is consistent with most professional
firewalls - personal or otherwise. In addition,
ZoneAlarm Pro allows the user to customize many of
the alert settings."