Whitetrash – Dynamic Web White-listing for Squid

Use Netsparker


This is a pretty neat tool for those using Squid Cache and looking for a pro-active tool for securing web acccess in their company (or house if you have a devious sibling).

The goal of Whitetrash is to provide a user-friendly and sysadmin-friendly proxy that makes it significantly harder for malware to use HTTP and SSL for:

  • initial compromise;
  • data exfiltration; and
  • command and control.

Whitetrash features:

  • Provides whitelisting for HTTP and SSL that is good for both users and sysadmins, but defends against malware and browser exploits.
  • A HTML rendered whitelist report that can be viewed by all users. Can also be used to generate static whitelists for popular domains.
  • Fast: no noticeable impact on users browsing urls already in the whitelist, and adding a new URL is very quick.
  • Secure: As this is a security product, great care has been taken to sanitise input, flow control etc. so that the whitelist cannot be easily circumvented or exploited.
  • Users can delete their own whitelist entries (optional). Admins can delete any whitelist entry. A HTML report that lists all domains requested but not whitelisted – good for tracking down malware/adware and generating static blacklists.
  • Configurable authentication: any sort of authentication can be used. Squid provides plugins for NTLM, basic, and digest but has an extensible interface for other authentication schemes.
  • NEW: A CAPTCHA system has been implemented to prevent malware adding itself to the whitelist. CAPTCHA can be enabled for HTTP, SSL, or both. This is available in the source tree and will be included in the next release.

Whitetrash whitelists web traffic at the domain level, and is a powerful technique to eliminate (or at least make difficult) communications for a lot of malware.

You can download Whitetrash here:

whitetrash 0.2RC1

Or read more here.

Posted in: Countermeasures, Security Software


Latest Posts:


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.
Powershell-RAT - Gmail Exfiltration RAT Powershell-RAT – Gmail Exfiltration RAT
Powershell-RAT is a Python-based Gmail exfiltration RAT that can be used a Windows backdoor to send screenshots or other data as an e-mail attachment.
SCADA Hacking - Industrial Systems Woefully Insecure SCADA Hacking – Industrial Systems Woefully Insecure
It seems like SCADA hacking is still a topic in hacker conferences, and it should be with SCADA systems still driving power stations, manufacturing plants etc.
airgeddon - Wireless Security Auditing Script airgeddon – Wireless Security Auditing Script
Airgeddon is a Bash powered multi-use Wireless Security Auditing Script for Linux systems with an extremely extensive feature list.
Acunetix v12 - Pause & Resume Acunetix v12 – More Comprehensive More Accurate & 2x Faster
Acunetix, the pioneer in automated web application security software, has announced the release of Acunetix v12 - more comprehensive, accurate & 2x faster.


8 Responses to Whitetrash – Dynamic Web White-listing for Squid

  1. goodpeople December 28, 2007 at 8:39 am #

    Good work! This will certainly help.

  2. Pantagruel December 29, 2007 at 10:01 am #

    The squid was just added an extra ‘arm’, let’s see if it indeed caters the filtering needs.

  3. eM3rC January 6, 2008 at 9:55 pm #

    Great post! Like Pantagruel said, this is an extra arm.

  4. Sir Henry January 8, 2008 at 8:59 pm #

    Although this is not something that I will be implementing on my home network right now (I do not think the wife would be particularly pleased with having to justify where she goes on the web), I know that something of this sort will most certainly be in place when my son is old enough to try and maneuver the web. I like what I have seen with this, however.

  5. goodpeople January 8, 2008 at 10:23 pm #

    My son is 6 now and talks about games he plays online at a friends house. So I’m afraid I’ll be installing this very soon. For now I’m probably the only person in the world that isn’t running squid.

  6. Sir Henry January 8, 2008 at 10:53 pm #

    Actually, you are the second person in the world, for I am not running squid, either. ;)

  7. goodpeople January 9, 2008 at 12:12 am #

    hahaha, good to know that I’m not alone in this world.

    But all the fun stuff aside, does anyone have anything additional to say on the subject? I’m very interrested in other people opinions.

  8. eM3rC January 9, 2008 at 3:08 am #

    I wont be using it either, but I think stuff like this would be a helpful addition to small business networks or possibly schools (if they aren’t already using something like websense).