RFE: Options to anonymize more requests

Bug reports and enhancement requests
Post Reply
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

RFE: Options to anonymize more requests

Post by Thrawn »

NoScript anonymizes POST requests from untrusted sites to trusted ones. This is a great CSRF defence.

Would it be simple to implement the following, probably as preferences in about:config?
  1. Anonymize ALL requests from untrusted sites to trusted sites - in case sites do dumb things like allowing GET-based CSRF.
  2. Anonymize all requests sent to non-whitelisted sites - to hinder tracking services.
  3. Anonymize/block requests sent to sites specifically marked as Untrusted (which are usually trackers).
I would probably use #1 and #3, and would at least experiment with #2.

ABE can sort of do this, but it requires rules to be written per-site, whereas managing the regular whitelist and blacklist is much easier.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: RFE: Options to anonymize more requests

Post by Thrawn »

In a similar vein, I noticed that the code in Policy.js to stop Google Analytics web bugs (unless Google Analytics is whitelisted) is hardcoded to look for 'google-analytics'. Maybe it could be converted to use a list of strings specified by a preference in about:config. Or it could apply to all sites specifically marked as Untrusted, which would fulfil point #3 above; after all, usually such sites are nonessential trackers.

Anyone's thoughts?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0
User avatar
Giorgio Maone
Site Admin
Posts: 9530
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: RFE: Options to anonymize more requests

Post by Giorgio Maone »

Both proposals are interesting, putting the topic link in my TODO list.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: RFE: Options to anonymize more requests

Post by Thrawn »

Thanks :)

Point #1 could also defeat the CRIME and BREACH attacks on TLS.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (Linux; U; Android 2.2.1; en-gb; GT-S5570 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: RFE: Options to anonymize more requests

Post by Thrawn »

@Giorgio: Actually, I'm now in the process of handling this myself, in SABER :).

If you're interested, I'll PM you the link to the XPI file on my Google Drive.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0
Post Reply