WSGW – Web Security Gateway for Secure Apache

Keep on Guard!


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:


OSSIM Download - Open Source SIEM Tools & Software OSSIM Download – Open Source SIEM Tools & Software
OSSIM is a popular Open Source SIEM or Security Information and Event Management (SIEM) product, providing event collection, normalization and correlation.
What You Need To Know About KRACK WPA2 Wi-Fi Attack What You Need To Know About KRACK WPA2 Wi-Fi Attack
The Internet has been blowing up in the past week about the KRACK WPA2 attack that is extremely widespread and is a flaw in the Wi-Fi standard itself.
Spaghetti Download - Web Application Security Scanner Spaghetti Download – Web Application Security Scanner
Spaghetti is an Open-source Web Application Security Scanner, it is designed to find various default and insecure files, configurations etc.
Taringa Hack - 27 Million User Records Leaked Taringa Hack – 27 Million User Records Leaked
The Taringa hack is actually one of the biggest leaks of the year with 27 million weakly hashed passwords breached, but it's not often covered in the West.
A2SV - Auto Scanning SSL Vulnerability Tool For Poodle & Heartbleed A2SV – Auto Scanning SSL Vulnerability Tool For Poodle & Heartbleed
A2SV is a Python-based SSL Vulnerability focused tool that allows for auto-scanning and detection of the common and well-known SSL Vulnerabilities.
VHostScan - Virtual Host Scanner With Alias & Catch-All Detection VHostScan – Virtual Host Scanner With Alias & Catch-All Detection
VHostScan is a Python-based virtual host scanner that can be used with pivot tools, detect catch-all scenarios, aliases and dynamic default pages.


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