Archive for the Mozilla Category

GoodScriptThe investors who are generously funding it, but want to stay anonymous for now, just authorized me to unveil a few details about the revolutionary project which I’ve been feverishly working on during the past months. What we’re talking about is not merely a next-generation NoScript. No, we’re talking about the ultimate security tool, nothing less, code named GoodScript.

GoodScript’s key feature is the ability to detect and block malicious JavaScript and other active content before it can harm your web browser, while all the “good” code is automatically allowed to run untouched.

“Nothing new”, you say, “my antivirus has claimed to do that for a long time”. Not quite. Your antivirus compares the code with a database of signatures, and whatever matches is flagged as malicious. What about new code, whose signature has not been added yet? “Heuristic detection” you say. But you must keep in mind that heuristic detection on dynamic languages like JavaScript, which may be heavily obfuscated and offer many ways to do the same thing, is very difficult: it almost surely require to interpret the script in advance inside a sandbox (which might itself be evaded or exploited), and is extremely slow, heavily hurting performance which is the holy grail of modern browsers.

Enters GoodScript. GoodScript does not hurt performance, because it doesn’t need the code to be interpreted. It doesn’t even need the code to be downloaded: actually, if GoodScript detects malice, the evil code is left on its server, far from your browser.

How does this wonder work? First, the bad news: GoodScript works on IE9 only. Why? Because IE9 is the fastest browser around, with everything hardware-accelerated. Hardware acceleration is crucial to GoodScript. Its secret sauce is “Relativistic Workers“, a special kind of Web Workers (HTML5 voodoo) which get hardware-accelerated by IE9. By using Relativistic Workers, GoodScript’s code can run at relativistic speed (near to the speed of light). Thanks to this breakthrough in code speed, we could implement GoodScript’s “PrecogEngine” component, which leverages relativistic effects to temporarily travel in the near future and watch the effects of the potentially malicious code before it could even been downloaded from the web. The great thing about this approach is that it’s not limited to traditional exploits causing immediate effects on your system, such as the attempt of writing on your filesystem or to install a keylogger, but it can detect more elusive signs of malicious intent, e.g. that some hours later your online bank account is gonna be annihilated by a wire transfer to Russia, after a successful XSS attack managed to steal your credentials.

A big thanks to Microsoft: without their commitment to making IE9 fully hardware-accelerated, our exclusive PrecogEngine (the only client-side technology capable of preventing Thought Exploit) wouldn’t have been possible: GoodScript would still be a naive dream and we would be stuck with whitelists, XSS filters and other boring stuff.

Let’s hope Google and Mozilla catch up soon with hardware acceleration, even though a Firefox version would also require working around incompatibilities with this new feature they just announced :(

About.com Reader's Choice Award 2011 Winner From About.com (a New York Time Company website):

Privacy and security while browsing the Web is important to all of us, as evidenced by the fervent voting in this category. The five finalists featured an impressive selection of tools intended to make everday life on the Web safer.

After more than three weeks of non-stop action, the readers have made their decision. The reigning champion in the 2011 Best Privacy/Security Add-On category, for the second year in a row, is NoScript! Final Voting Results

  • NoScript* - 56%
  • WOT (Web of Trust) - 33%
  • BetterPrivacy - 4%
  • LastPass - 3%
  • FlashBlock - 2%

*denotes winner

2010 Winner: NoScript

Many thanks for the love you’ve shown your friendly neighborhood web-cop. :)

As you probably know, ClearClick is the only effective client-side protection against Clickjacking (AKA UI Redressing).

A couple of weeks ago, Atul Agarwal of Secfence privately reported me a ClearClick bypass based on tracking user’s mouse movements and dynamically putting an extremely small click target just under his pointer. Even though it required the attacker’s page to be whitelisted and run JavaScript, I deemed this bug deserved to be fixed ASAP because ClearClick, like most web application security countermeasures offered by NoScript (e.g. anti-XSS, ABE or HTTPS enforcement) is guaranteed to work independently from script permissions, i.e. even if you allow scripts globally. Atul kindly accepted to coordinate the disclosure, so I immediately released the 2.0.9.7rc1 development build with the bug fix, and all the user base was automatically updated with the stable 2.0.9.7 release about one week later.

BTW, looks like Sophos likes ClearClick and dirty female teachers very much :)

NoScript is (again) finalist for Best Security/Privacy Add-On at About.com, show it your love here (you’ll need to temporarily allow about.com).

Thank you!

Also Firefox’s native implementation of the Do Not Track proposal will end using the eponymous header, after all. It will be shrunk to DNT for bandwidth sake, though, without the “X-” and on its way to be submitted as an IETF internet draft.

Waiting for Firefox 4, NoScript 2.0.9.7rc4 has already adopted the new header name, after Jonathan Mayer politely asked me some hours ago.

Bad Behavior has blocked 860 access attempts in the last 7 days.