Wilders Security Forums  

Go Back   Wilders Security Forums > Other Security Topics > other security issues & news
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old April 6th, 2012, 04:45 PM
moontan's Avatar
moontan moontan is online now
Massive Poster
 
Join Date: Sep 2010
Location: Québec
Posts: 3,118
Default Drive-by exploits

are there any other browser vulnerabilities beside javascripts, Flash and Java?

seems to me that since the browser is the most vulnerable it should be the first line of defense against nasties.

thoughts?
__________________
| Linux Mint || NoScript || Image for Linux + BootIt Bare Metal |
  #2  
Old April 6th, 2012, 04:53 PM
Scoobs72 Scoobs72 is offline
Very Frequent Poster
 
Join Date: Jul 2007
Location: Sofa (left side)
Posts: 1,084
Default Re: Drive-by exploits

Yeah, loads. Take a look at this old list of vulnerabilities for Firefox 3 as an example:

http://www.mozilla.org/security/know...firefox30.html
  #3  
Old April 6th, 2012, 05:44 PM
moontan's Avatar
moontan moontan is online now
Massive Poster
 
Join Date: Sep 2010
Location: Québec
Posts: 3,118
Default Re: Drive-by exploits

right...

which means NoScript does not protect against all of this.

tnx m8.

food for thoughts.
__________________
| Linux Mint || NoScript || Image for Linux + BootIt Bare Metal |
  #4  
Old April 6th, 2012, 05:52 PM
moontan's Avatar
moontan moontan is online now
Massive Poster
 
Join Date: Sep 2010
Location: Québec
Posts: 3,118
Default Re: Drive-by exploits

i think i'll switch to Chrome and ScriptNo.

i don't like ScriptNo as much as NoScript but Chrome has a sandbox.
can't wait for Firefox to have a sandbox.
__________________
| Linux Mint || NoScript || Image for Linux + BootIt Bare Metal |
  #5  
Old April 6th, 2012, 08:02 PM
TonyW TonyW is offline
Very Frequent Poster
 
Join Date: Oct 2005
Location: UK
Posts: 2,301
Default Re: Drive-by exploits

Quote:
Originally Posted by moontan
which means NoScript does not protect against all of this.
Not only that, but if you whitelist a site in NoScript as one you trust to allow scripts to run and it gets compromised, then NoScript is no help then either...
  #6  
Old April 6th, 2012, 08:07 PM
Cudni's Avatar
Cudni Cudni is offline
Global Moderator
 
Join Date: May 2009
Location: Somethingshire
Posts: 6,944
Default Re: Drive-by exploits

Quote:
Originally Posted by TonyW
Not only that, but if you whitelist a site in NoScript as one you trust to allow scripts to run and it gets compromised, then NoScript is no help then either...
from
http://noscript.net/faq#qa1_11
* You may ask, what if site I really trust gets compromised? Will I get infected as well because I've got it in my whitelist, ending to sue as you said?
No, you won't, most probably. When a respectable site gets compromised, 99.9% of the times malicious scripts are still hosted on a different domain which is likely not in your whitelist, and gets just included by the pages you trust. Since NoScript blocks 3rd party scripts which have not been explicitly whitelisted themselves, you're still safe, with the additional benefit of an early warning
*

and controlling javascript is simply another layer of protection so for 0.01% when noscript doesn't help with malicious script, other layers; AV, OS should and do help.
__________________
once we only had ideals, today they are the only things we are missing
Microsoft MVP, 2006 - 2013/14
  #7  
Old April 6th, 2012, 08:19 PM
TonyW TonyW is offline
Very Frequent Poster
 
Join Date: Oct 2005
Location: UK
Posts: 2,301
Default Re: Drive-by exploits

Quote:
Originally Posted by Cudni
controlling javascript is simply another layer of protection so for 0.01% when noscript doesn't help with malicious script, other layers; AV, OS should and do help.
It goes without saying that various protection layers, including the ones you mentioned, go a long way to keep one safe.
  #8  
Old April 6th, 2012, 10:43 PM
TheWindBringeth TheWindBringeth is offline
Frequent Poster
 
Join Date: Feb 2012
Posts: 811
Default Re: Drive-by exploits

Quote:
Originally Posted by Cudni
from
http://noscript.net/faq#qa1_11
* You may ask, what if site I really trust gets compromised? Will I get infected as well because I've got it in my whitelist, ending to sue as you said?
No, you won't, most probably. When a respectable site gets compromised, 99.9% of the times malicious scripts are still hosted on a different domain which is likely not in your whitelist, and gets just included by the pages you trust. Since NoScript blocks 3rd party scripts which have not been explicitly whitelisted themselves, you're still safe, with the additional benefit of an early warning
What is the logic behind that "99.9% of the time malicious scripts are still hosted on a different domain"? If a hacker is able to modify what is served up to your browser when you visit this compromised site, why would they not serve up the malicious scripts from that same site?
  #9  
Old April 6th, 2012, 11:18 PM
moontan's Avatar
moontan moontan is online now
Massive Poster
 
Join Date: Sep 2010
Location: Québec
Posts: 3,118
Default Re: Drive-by exploits

Quote:
Originally Posted by TheWindBringeth
What is the logic behind that "99.9% of the time malicious scripts are still hosted on a different domain"? If a hacker is able to modify what is served up to your browser when you visit this compromised site, why would they not serve up the malicious scripts from that same site?

because the bad stuff that comes from other sites is mostly embedded in advertisements, from what i can tell.

it's easier to hack an add that a specific web site.
and more productive as well because with that one infected add you can contaminate many websites.
__________________
| Linux Mint || NoScript || Image for Linux + BootIt Bare Metal |
  #10  
Old April 6th, 2012, 11:21 PM
Baserk's Avatar
Baserk Baserk is offline
Frequent Poster
 
Join Date: Apr 2008
Location: Amstelodamum
Posts: 971
Default Re: Drive-by exploits

^^I'd assume that when Maone wrote; 'When a respectable site gets compromised, 99.9% of the times malicious scripts are still hosted on a different domain', he means an ad server was hacked and not the actual website itself. So when you only allow the main site and not all other domains offering non-essential garbage/ads, you're OK.
I could be wrong though and like with a recent case in NL where the most popular news site itself was hacked and readers were treated to a banking trojan, Noscript wouldn't offer any consolation.

edit; Note to self; write faster than moontan.
__________________
ROMANES EUNT DOMUS
  #11  
Old April 6th, 2012, 11:28 PM
moontan's Avatar
moontan moontan is online now
Massive Poster
 
Join Date: Sep 2010
Location: Québec
Posts: 3,118
Default Re: Drive-by exploits

Baserk:
Quote:
edit; Note to self; write faster than moontan.

hahaha!
__________________
| Linux Mint || NoScript || Image for Linux + BootIt Bare Metal |
  #12  
Old April 6th, 2012, 11:54 PM
TheWindBringeth TheWindBringeth is offline
Frequent Poster
 
Join Date: Feb 2012
Posts: 811
Default Re: Drive-by exploits

OK, I was thinking a straight-up direct compromise of the target site itself. I get the third-party context.

http://play.typeracer.com/
  #13  
Old April 6th, 2012, 11:55 PM
trismegistos's Avatar
trismegistos trismegistos is offline
Frequent Poster
 
Join Date: Jan 2009
Posts: 363
Default Re: Drive-by exploits

Quote:
Originally Posted by moontan
right...

which means NoScript does not protect against all of this.

tnx m8.

food for thoughts.
If you look on those lists, many are XSS(Cross-Site Scripting) and javascript redirects.

Otherwise, it still can protect. Most of these exploits on the browser side would still rely on scripting to cause memory corruptions in order to run arbitrary codes...

For e.g. an exploit targeting this vulnerability http://www.mozilla.org/security/anno...sa2010-19.html or the Mozilla Foundation Security Advisory 2010-19 Dangling pointer vulnerability in nsPluginArray would still require scripting. And so their suggested workaround was to disable scripting.

... And so NoScript would definitely help. Exceptions would be fonts, parsing vulnerabilities like for e.g the various image parsing vulnerabilites like jpg or SVG exploits which all have been patched. WMF image and embedded fonts vulnerabilities are mostly Windows or system based. These exploits would be able to push the payload even if you globally disable scripting and uninstall plugins. And these type of non-script based exploits are mostly served from scripting redirections from other domains, thus, NoScript would still definitely help. Sandboxing, memory corruption protections(EMET) and AE/SRP/Applocker/HIPS all provide additional layers. 99% of the time,these payloads are executables and so are easily blocked.
__________________
-http://www.veteranstoday.com/author/henderson/
-http://www.veteranstoday.com/2013/03/04/the-911-illusion-patsies-beneficiaries/

Last edited by trismegistos : April 7th, 2012 at 01:21 AM.
  #14  
Old April 7th, 2012, 11:29 AM
BrandiCandi
 
Posts: n/a
Default Re: Drive-by exploits

To add to what trismegistos said, here's a snippet from the noscript faq page:

Quote:
Q: What is XSS and why should I care?
A: XSS stands for Cross site scripting, a web application vulnerability which allows the attacker to inject malicious code from a certain site into a different site, and can be used by an attacker to "impersonate" a different user or to steal valuable information. This kind of vulnerability has clear implications for NoScript users, because if a whitelisted site is vulnerable to a XSS attack, the attacker can actually run JavaScript code injecting it into the vulnerable site and thus bypassing the whitelist. That's why NoScript features unique and very effective Anti-XSS protection functionality, which prevents untrusted sites from injecting JavaScript code into a trusted web page via reflective XSS and makes NoScript's whitelist bullet-proof.
I'm always dubious of any security feature that claims to be "bullet-proof," but I think the point here is that noscript doesn't just blindly trust even the whitelisted sites.
  #15  
Old April 7th, 2012, 12:13 PM
tlu's Avatar
tlu tlu is offline
Very Frequent Poster
 
Join Date: Sep 2004
Posts: 2,065
Default Re: Drive-by exploits

To add what BrandiCandi said, here's a snippet from the Noscript features site:

Quote:
Furthermore, NoScript's sophisticated InjectionChecker engine checks also all the requests started from whitelisted origins for suspicious patterns landing on different trusted sites: if a potential XSS attack is detected, even if coming from a trusted source, Anti-XSS filters are promptly triggered.

That's very important, and I think that many people are not aware of it.
  #16  
Old April 7th, 2012, 12:21 PM
tlu's Avatar
tlu tlu is offline
Very Frequent Poster
 
Join Date: Sep 2004
Posts: 2,065
Default Re: Drive-by exploits

I forgot to mention another important aspect from the same link above:

Quote:
This feature can be tweaked by changing the value of the noscript.injectionCheck about:config preference as follows:
0 - never check
1 - check cross-site requests from temporary allowed sites
2 - check every cross-site request (default)
3 - check every request

This means that by default only suspicious patterns coming from other sites (even if they are whitelisted) are checked. However, if you set that value to 3 even suspicious patterns from the same site are checked, which is, e.g., relevant for forums where a posting can contain such code.
  #17  
Old April 10th, 2012, 12:18 AM
moontan's Avatar
moontan moontan is online now
Massive Poster
 
Join Date: Sep 2010
Location: Québec
Posts: 3,118
Default Re: Drive-by exploits

tnx everybody for the inputs!
__________________
| Linux Mint || NoScript || Image for Linux + BootIt Bare Metal |
 

Wilders Security Forums > Other Security Topics > other security issues & news « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 03:34 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums