Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Problem trying to catch malformed requests: msg#00044

apache.mod-security.user

Subject: Re: Problem trying to catch malformed requests

Another small benefit of plugging mod_security into hook-0 would be
its ability to alter the sematic characteristics of Apache that web
server fingerprinting apps often rely on for accuracy.

HTTPrint -
http://net-square.com/httprint/index.html

Identification of web servers despite the banner string and any other
obfuscation. httprint can successfully identify the underlying web
servers when their headers are mangled by either patching the binary,
by modules such as mod_security.c or by commercial products such as
ServerMask.

HTTPrint sends malformed requests that Apache will respond to is a
distinct way. Allowing Mod_Security to get the first crack at
inspecting these requests will help to alter the default Apache
responses.

Looks like it is time to have some fun with Mod_Security's "status"
flag and see how these fingerprinters react :)

--
Ryan C. Barnett
Web Application Security Consortium (WASC) Member
CIS Apache Benchmark Project Lead
SANS Instructor: Securing Apache
GCIA, GCFA, GCIH, GSNA, GCUX, GSEC


On 8/19/05, Ivan Ristic <ivanr@xxxxxxxxxxxxxx> wrote:
> Ivan Ristic wrote:
> >
> > I'll do a couple of test to see if it works,
> > and if does I will release 1.9dev3 (by the end of week) with a
> > configuration option to choose the hook to run at.
>
> FYI, I've released 1.9dev3 with a compile-time option to make
> mod_security run in hook #0 (post_read_request).
>
> Here's a fragment from the manual:
>
> ---
> By default mod_security will try to run at the last possible moment in
> Apache request pre-processing, but just before the request is actually
> run (for example, processed by mod_php). I have chosen this approach
> because the most important function of mod_security is to protect the
> application. On the other hand by doing this we are leaving certain
> parts of Apache unprotected although there are things we could do about
> it. For those who wish to experiment, as of 1.9dev3 mod_security can be
> compiled to run at the earliest possible moment. Just compile it with
> -DENABLE_EARLY_HOOK. Bear in mind that this is an experimental feature.
> Some of the differences you will discover are:
>
> * It should now be possible to detect invalid requests before Apache
> handles them.
>
> * It should be possible to assess requests that would otherwise
> handled by Apache (e.g TRACE)
>
> * Only server-wide rules will run. This is because at this point
> Apache hasn't mapped the request to the path yet.
>
> Subsequent releases of ModSecurity are likely to allow rule processing
> to be split into two phases. One to run as early as possible, and
> another, to run as late as possible.
> ---
>
> --
> Ivan Ristic
> Apache Security (O'Reilly) - http://www.apachesecurity.net
> Open source web application firewall - http://www.modsecurity.org
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> mod-security-users mailing list
> mod-security-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/mod-security-users
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation