Monday, June 25, 2007 6:22 PM cmosby

SANS Internet Storm Center - More Hostile Advertisement Filtering

 

More Hostile Advertisement Filtering

Published: 2007-06-23,
Last Updated: 2007-06-23 13:41:50 UTC
by Marcus Sachs (Version: 1)

Yesterday we published a diary about blocking active code in banner ads.  Adrian wrote to us to provide additional information on some of the tools he uses. 

Adblock plus is a blacklisting mechanism. It is useful for blocking images and all sorts of ads, when you know exactly what the URLs for those are, or you can make a reasonable wildcard for, but in the end it won't catch everything, and most importantly, it won't catch everything THE FIRST TIME. You have to know it to block it, and that means loading it at least once.
This is where NoScript comes in, it turns the javascript trust mechanism upside down, using whitelisting instead. So, instead of allowing everything by default, it blocks everything by default (and that means flash, javascript, java, etc), and you can decide EXACTLY which sites you allow content to come from and be executed.

https://addons.mozilla.org/en-US/firefox/addon/722

If a web page pulls down javascript code from more than one place you can decide if you allow or deny javascript for each site that JS code is referenced from.  This means you can allow javascript to be executed for a page you know it's safe and at the same time block javascript from anywhere else that's referenced on that page.
NoScript + AdBlock plus +adblock filter subscriptions (i.e. self-updating) are a great way of filtering junk that's out there, and are working great as a team.

http://noscript.net/faq#qa1_4

Other filters to consider:

EasyElement+Easylist
http://easylist.adblockplus.org/easyelement+easylist.txt
ABP Tracking filter
http://easylist.adblockplus.org/abp-tracking-filter.txt
RO List (for filtering ads on Romanian sites)
http://www.picpoc.ro/menetzrolist.txt
Jamie Plucinski's filter list
http://www.jamieplucinski.com/adblock/subscription.php

Thanks, Adrian!
Marcus H. Sachs
Director, SANS Internet Storm Center

Source: SANS Internet Storm Center; Cooperative Network Security Community - Internet Security - isc

Filed under: , ,

Comments

No Comments