WSGW – Web Security Gateway for Secure Apache

Use Netsparker


The Web Security Gateway is a security-centric distribution of the Apache web server, bundled with additional security modules, and configured as a front-end (reverse) HTTP proxy. The goal is to mirror most of the features of commercial web application “firewalls”, with free and Open-Source software.

The Web Security Gateway provides a configurable caching, authentication, input validation, and IDS / IPS layer for web applications. It can be placed in front of diverse web environments, and is capable of protecting almost any web application, without modifications to the code running on the protected app.

Architecture

The concept of the WSGW is simple.

With Apache2, mod_filter and the integration of PCRE have made Apache extremely flexible as a content-aware application platform. Since Apache also has extensive support for proxying, it’s possible to create a front-end proxy that inspects, validates, and rewrites application content.

The WSGW can fill the gap for applications missing input validation layers, and give website administrators a first line of defense for both known and emerging attacks on web applications.

Since the WSGW will be the front-end for web traffic in a web environment, it’s also possible to integrate authentication, traffic reporting, SSL, and load balancing.

Shawn Moyer presented a talk on the WSGW concept at BlackHat USA 2006. The talk gives an overview of some of the ideas that led to the WSGW concept, and some configuration examples. You can download a copy of the talk here.

You can download WSGW here [PDF].

Initial build (bzip2)
Initial build (tar.gz)

Or read more here.

Posted in: Countermeasures, Web Hacking

, , , , , , , , ,


Latest Posts:


HTTP Security Considerations - An Introduction To HTTP Basics HTTP Security Considerations – An Introduction To HTTP Basics
HTTP is ubiquitous now with pretty much everything being powered by an API, a web application or some kind of cloud-based HTTP driven infrastructure. With that HTTP Security becomes paramount and to secure HTTP you have to understand it.
Cangibrina - Admin Dashboard Finder Tool Cangibrina – Admin Dashboard Finder Tool
Cangibrina is a Python-based multi platform admin dashboard finder tool which aims to obtain the location of website dashboards by using brute-force, wordlists etc.
Enumall - Subdomain Discovery Using Recon-ng & AltDNS Enumall – Subdomain Discovery Using Recon-ng & AltDNS
Enumall is a Python-based tool that helps you do subdomain discovery using only one command by combining the abilities of Recon-ng and AltDNS.
RidRelay - SMB Relay Attack For Username Enumeration RidRelay – SMB Relay Attack For Username Enumeration
RidRelay is a Python-based tool to enumerate usernames on a domain where you have no credentials by using a SMB Relay Attack with low privileges.
NetBScanner - NetBIOS Network Scanner NetBScanner – NetBIOS Network Scanner
NetBScanner is a NetBIOS network scanner tool that scans all computers in the IP addresses range you choose, using the NetBIOS protocol.
Metta - Information Security Adversarial Simulation Tool Metta – Information Security Adversarial Simulation Tool
Metta is an information security preparedness tool in Python to help with adversarial simulation and assess security defense preparation and alerts.


One Response to WSGW – Web Security Gateway for Secure Apache

  1. anonymous April 12, 2008 at 7:35 am #

    nice initiative but apache? So slow it becomes an easy DoS target, that’d make for a great security assessment :D

    However I would be interested in seeing similar offshoots with engines such as lighttpd..