RE: 7-ZIP ARJ Archive Processing stack overflow - Is there any role for Network IPS?



Hello,

Which security solutions are expected to catch these kinds of attacks?

NIPS and HIPS. O# on a tangent, the vulnerability is in a fixed stack-based buffer of ~2.5k allocated for one of the values extracted from the ARJ file header. Kernel32.Readfile() is then used to load the buffer.

To illustrate, a HIPS should be able to stop the attack with a canary/integrity check. A generic behaviour-based HIPS should also be able to detect the attack for payloads that do not involve mimicry.

There are fewer options with NIPS, but there are things that can be done to provide protection (see below).

It seems that NIPS/NIDS solution typically check for buffer overflow attacks at protocol level, but not at the
file/archive level. If so, is it fair to assume that only security solutions running, on the client machine, catch >these kjinds of attacks. Any insight is appreciated.

Not exactly. Many modern NIPS do provide protection against this and other client-side attacks. In this particular case, it is sufficient to parse local ARJ file headers checking for an overly large local header size.

Sincerely,
Oleg Kolesnikov
Director of Security Research
TopLayer, Inc.

-----Original Message-----
From: listbounce@xxxxxxxxxxxxxxxxx
[mailto:listbounce@xxxxxxxxxxxxxxxxx]On Behalf Of Surya Batchu
Sent: Thursday, March 15, 2007 1:07 AM
To: focus-ids@xxxxxxxxxxxxxxxxx
Subject: 7-ZIP ARJ Archive Processing stack overflow - Is there any role
for Network IPS?


Hi,

Please see this advisory: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2005-3051

This attack can be launched remotely by sending specially crafted data in archived file.

Which security solutions are expected to catch these kinds of attacks? It seems that NIPS/NIDS solution typically check for buffer overflow attacks at protocol level, but not at the file/archive level. If so, is it fair to assume that only security solutions running, on the client machine, catch these kjinds of attacks. Any insight is appreciated.

Thanks
Surya



____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

------------------------------------------------------------------------
Test Your IDS

Is your IDS deployed correctly?
Find out quickly and easily by testing it
with real-world attacks from CORE IMPACT.
Go to http://www.coresecurity.com/index.php5?module=Form&action=impact&campaign=intro_sfw
to learn more.
------------------------------------------------------------------------


------------------------------------------------------------------------
Test Your IDS

Is your IDS deployed correctly?
Find out quickly and easily by testing it
with real-world attacks from CORE IMPACT.
Go to http://www.coresecurity.com/index.php5?module=Form&action=impact&campaign=intro_sfw
to learn more.
------------------------------------------------------------------------



Relevant Pages

  • RE: eEye Blink and other Endpoint IPS solutions.
    ... > Is there anyone out there using Host Based Intrusion Detection ... > on system performance and how their effectiveness compares to NIPS. ... while HIPS are great at stack-based detection (please forgive ... about DDoS attacks, you need NIPS. ...
    (Focus-IDS)
  • RE: Real world experience with HIDS
    ... I work for a HIPS company, but I am also an information security ... most HIPS (agents and management consoles) are quick software ... Yes, as discussed, User-level access control. ... specific attacks, zero-day attacks. ...
    (Focus-IDS)
  • Re: Replacing antivirus soft with a real IDS/IPS
    ... and HIPS / firewall would be great. ... > windows and not to use antivirus software. ... > with real-world attacks from CORE IMPACT. ...
    (Focus-IDS)
  • Re: IDS/IPS testing methodology
    ... I worked on different tests on different NIPS technologies. ... NIPS testing falls in the the common field of Firewall and IDS test, ... The test is strictly related to your network environment, ... how the NIPS is strong, ie how it resists on attacks ...
    (Focus-IDS)
  • AW: Changes in IDS Companies?
    ... So I take it you have configured your NIPS to block all might-be attacks, ... How can he fine-tune the GIDS without knowledge of the infrastructure behind the ... these signatures. ...
    (Focus-IDS)