Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-IDS
[Top] [All Lists]

Re: Obfuscated web pages

Subject: Re: Obfuscated web pages
Date: Thu, 14 Feb 2008 11:57:30 -0800
Signature-based ID/PS have little hope of catching these. Parsing HTTP
responses (without javascript) is first of all pretty expensive,
especially given chunked/transfer/content/mime encodings. On top of
that parsing javascript is pretty much going to make the ID/PS
performance go to hell.

Could be wrong, but I highly doubt that anyone is actually doing a
full HTML/Javascript parsing to determine that the impact is. You will
need to embed a full DOM parser and a Javascript engine (like spider
monkey) to make sense of what the code is trying to do. They you need
to take into account IE/Firefox/Opera/Safari/etc idiosyncrasies.
*sigh*

The network would be the wrong place to try and defend against these, IMHO.

K.

On Thu, Feb 14, 2008 at 10:44 AM, Gary Flynn <flynngn@jmu.edu> wrote:

 Are any current network based IDS/P systems able to unwind
 obfuscated web script to examine the final javascript product?
 It would seem they would have to have a javascript engine to
 do so and issues with reassembly, iterations, and delays
 would preclude them from doing it inline.

 Without this capability, it would seem that network based
 IDS/IPS is destined to digress to AV style malware
 signatures for malicious web server issues and that the only
 reliable place to do IDS/P would be on the host.

 We've been seeing more and more obfuscated web script and
 according to a recently released IBM report, the majority
 of exploits are taking this path.

 http://www.iss.net/x-force_report_images/2008/index.html

 Thoughts?

 --
 Gary Flynn
 Security Engineer
 James Madison University
 www.jmu.edu/computing/security


------------------------------------------------------------------------
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.
------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>