NoScript and Firefox Prefetching

Ask for help about NoScript, no registration needed to post
ChrisCB

NoScript and Firefox Prefetching

Post by ChrisCB »

Hello.

My cousin just told me that his antivirus(Kaspersky) blocked a "Trojan.Script.Generic" attempt from a website after he went in google and searched for a particular keyword.

I immediately thought that he has prefetching ON and in fact that was the case, the website was being loaded in the background by FireFox and apparently it was a malicious one. My question is: Does NoScript scan for websites being fetched in the background by Firefox?

Cheers.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Guest

Re: NoScript and Firefox Prefetching

Post by Guest »

ChrisCB wrote:Does NoScript scan for websites being fetched in the background by Firefox?
My guess is no, as that wouldn't make sense.
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: NoScript and Firefox Prefetching

Post by Alan Baxter »

I think Guest guessed right. Your cousin's AV scanned the content of the site and blocked the script because the AV happened to recognize the script as malicious. NoScript blocks all scripts and other active content from unwhitelisted sites by default. It does not scan them.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript and Firefox Prefetching

Post by Giorgio Maone »

Alan Baxter wrote:NoScript blocks all scripts and other active content from unwhitelisted sites by default. It does not scan them.
In facts, NoScript does not scan anything, in the traditional "AV" sense.
It does scan some kinds of files right before they're loaded, e.g. to check for their type when the content-type header may be ambiguous or untrustable, but it usually doesn't block prefetch loads.

One notable exception is ABE, which does check all the loads generated by web content, included prefetches, because they can be used for CSRF attacks.
Last edited by Alan Baxter on Mon Jul 26, 2010 3:24 pm, edited 1 time in total.
Reason: Repaired ABE link
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Post Reply