38

From this answer about browser security:

time to update if you really care about security

So if every other software and functions I need can work on a 32-bit OS, I guess the only reason for upgrade is the browser's security? Can you explain why browser security should be placed on the top priority, when:

  • Most of the websites I visit have SSL certificate,
  • Most of them are either big enough that I can trust that they can't be hacked, or small enough that I don't think it's profitable for the hackers,
  • Windows and Windows Defender are up-to-dated,
  • I can smell fishy websites?

I hope that this is not the overconfidence effect. And I hope that I'm not overconfident that I don't have overconfidence effect.

As always, a statistics or a case study may increase the convincing of the answer.

Ooker
  • 1,529
  • 1
  • 13
  • 17
  • 67
    "I can smell fishy websites?" When you really do not care about browser security, you possibly can't. Think of an outdated browser with a bug which allows an attacker to hide parts of the URL (e.g. using some right-to-left unicode characters or similar attacks). So you actually *need* the secure browser before you have the chance to smell fishy websites. – allo Sep 24 '18 at 13:36
  • 14
    Just look up malware distribution via rogue ads for example - even via otherwise trustworthy established advertisement networks. - An old browser can contain a critical bug that enables such an exploit where a newer browser may be patched. – DetlevCM Sep 24 '18 at 15:45
  • 1
    "I leave my front door open when I go out because I live in a safe neighbourhood"? People who "really care about security", as per the quote, take every precaution (but no-one's forcing you to be one of those people). – NotThatGuy Sep 24 '18 at 17:20
  • 11
    Your comment, "are most attacks now come from JavaScript? or SQL?", shows a lack of fundamental knowledge about these platforms. Until you learn much more, I suggest you take general advice from the infosec community at face value. – Dessa Simpson Sep 24 '18 at 22:34
  • 10
    "websites I visit have SSL certificate" - don't let this fool you. I have seen rather big retailers where credit card and address webform had a valid certificate, but when processed on the server the info was forwarded via email (and printed out for the accounting department) and also ended up in the servers log files and database - all in plain text! – iHaveacomputer Sep 24 '18 at 22:44
  • 7
    `big enough that I can trust that they can't be hacked` <- this is a very, very risky line of thinking. Positively massive companies have had data breaches in the last few years, and notably large entities in the financial sector are infamous for having, er, _interesting_ ideas about what passes as good security. – 0xdd Sep 25 '18 at 16:02
  • @Jules but data breach is out of my control? – Ooker Sep 26 '18 at 03:10
  • 1
    A number of quite major businesses just had [a breach](https://arstechnica.com/information-technology/2018/09/newegg-hit-by-credit-card-stealing-code-injected-into-shopping-code/) that captured credit card data and sent it to the attackers. An up-to-date browser can't prevent that, but there's no reason that same attack, which involved the attackers' javascript running on these sites, couldn't have also exploited known browser vulnerabilities to exploit your computer. – Zach Lipton Sep 26 '18 at 07:21
  • 1
    @Ooker If a hacker can get access to their data, they may also be able to get to their web server and inject scripts, malware, etc. that will cause problems for you (and your outdated browser). The point is that nobody is "big enough that [you] can trust they can't be hacked." – Anthony Grist Sep 26 '18 at 13:24
  • 2
    @Ooker but it's still a website getting "hacked." Any website, large or small, is essentially out of your control because you have little bearing over how they treat your data. My point is that a website's size or popularity shouldn't be an indicator of their "unhackableness" especially since larger websites are typically juicier targets. – 0xdd Sep 26 '18 at 13:24
  • 2
    "**Most** of the websites I visit have SSL certificate", "**Most** of them are either big enough that I can trust that they can't be hacked, or small enough that I don't think it's profitable for the hackers", "I can smell fishy websites **?**" You should update your browser because none of these are absolute statements. – Lord Farquaad Sep 26 '18 at 19:02
  • The *I'm Really Careful With My Security Holes* approach means you only have to be wrong or let your guard down once for an attacker to get in. Wouldn't it be nice instead to be safe *and* relaxed? – Schwern Sep 27 '18 at 17:10
  • 1
    @Ooker: Please don't edit your question significantly after you've received already lots of answers. I've reverted your last edit - please ask a new question if you need answers to the parts you've added. – Steffen Ullrich Sep 27 '18 at 20:59
  • 1
    Honestly, I thought I could smell fishy websites until hashrate limited CPU miners started becoming injected in 3rd party advertisement providers javascript, how am I meant to detect something wrong if I can't notice anything different to my usual experience? Sites that just run CPU miners at fulll capacity are quite easy to spot as they significantly slow down your system. – brandito Sep 28 '18 at 06:06
  • @Brandito that's new to me. But anyway, if I use adblock, what could go wrong? – Ooker Sep 28 '18 at 12:44
  • @Ooker please create a new question rather than asking questions in the comments. But the problem is that there will always be things new to you. That's the problem. New attack vectors and methods are created all the time, faster than you or windows defender or any software could hope to keep up with. – user185163 Sep 28 '18 at 14:35
  • @Ooker afaik, adblock didn't do anything at the time (not sure if it does at the moment), had to use an additional extension which blocked all websockets. – brandito Oct 02 '18 at 00:10
  • 1
    @Ooker most adblocks roll out regular updates to keep up with browsers, and in doing so can lose backwards compatibility with older versions, which can expose vulnerabilities again. In addition, several of these updates address new vulnerabilities. If you're relying on adblocks to keep your old browser safe, then you'll inevitably run into a situation where a new vulnerability is left exposed by your current adblock, but updating it will expose a vulnerability in your old browser. This effect extends into pretty much any browser extension; just update your browser. – Lord Farquaad Dec 18 '18 at 18:58

8 Answers8

138

Can you explain why browser security should be placed on the top priority ...

Because the browser is processing lots of untrusted content from the internet.

Of course, if you use any other programs which does this (like Mail client, maybe Office program, PDF reader) you should keep these updated too since vulnerabilities in these programs are a regular attack vector too.

.. Most of the websites I visit have SSL certificate,

A SSL certificate says nothing about the trust you can have in a site. HTTPS only protects against sniffing modification of the traffic during transport. A HTTPS site can serve malware as much as a plain HTTP site can do.

Apart from that "Most of the websites" is not the same as "All of the websites".

I can smell fishy websites?

Even if you might be confident in your ability to sniff websites where the URL looks fishy (which might actually be overconfidence) I'm pretty sure that you will not know up-front if the site you visit regularly got hacked and is serving malware (i.e. Watering hole attack or other kinds of hacking high-reputation sites to increase number of victims) or if it is serving malicious ads which are outside the control of the website itself (i.e. Malvertising).

EDIT:
After I've wrote my answer the OP added the following to the question:

Most of them are either big enough that I can trust that they can't be hacked, ...

Too big to be hacked? While large web sites usually employ better security than smaller ones it does not mean they are unhackable. And sites with lots of customers are especially a lucrative target for the attackers since this also means lots of potential victims. Some examples: ... malicious ads on Forbes ... or ... New York Times and BBC hit by 'ransomware' malvertising or Study: One-third of top websites vulnerable or hacked.

... or small enough that I don't think it's profitable for the hackers, ...

Too small to be hacked? That's not true either: attackers use automated tools to hack insecure CMS installations like WordPress or Django en mass, i.e. it is very cheap to take over a vulnerable site this way.

Steffen Ullrich
  • 190,458
  • 29
  • 381
  • 434
  • 1
    FWIW, even if you trust a site that you visit regularly, it could get hacked and then your browser (and antivirus) are your only hopes. – aslum Sep 24 '18 at 13:15
  • 14
    many people thought that when they visit a website without downloading any binary files or clicking any suspicious links they're safe. But in fact pretty much any websites have a lot of JavaScript files which run without user permission and they can use some browser bug to escape the sand box and steal sensitive data. One example is at the begin of this year [all major browsers have to decrease the timer solution to fix the Meltdown and Spectre bug](https://hackaday.com/2018/01/06/lowering-javascript-timer-resolution-thwarts-meltdown-and-spectre/) – phuclv Sep 24 '18 at 14:44
  • I think the correct term I'm looking for is risk assessment in information security. I think the central problem in information security is trust and (over)confidence, because we have to accept that we don't have the resource for everything. Although I understand that attack on the internet is en mass, somehow I still feel safe enough for compromising browser's security for spending money to buy a new laptop. If you see that it's very important for me to buy a new one, then what is the point that can completely and satisfactorily persuade me? – Ooker Sep 24 '18 at 15:58
  • 6
    @Ooker: This is a different question from your original one so I will not give a deep answer. In short: know you risk and deal with it, either by trying to reduce your risk of being attacked (adblocker, update, maybe new laptop, maybe new OS on old laptop...) or by reducing the impact of being attacked (regular backups of important data, make sure to not affect other systems in your network like the router..). It is also acceptable to knowingly treat the risk as low enough and hope nothing will ever happen. – Steffen Ullrich Sep 24 '18 at 16:09
  • 4
    @Ooker you say you want a risk assessment. Ok. Risk is broadly a function of likelihood and impact. All of your doubts in your question are about the likelihood. While Steffen's answer explains the likelihood quite well, only you can determine the impact of a complete system compromise. What's on your machine? What does your machine have access to? What mitigations do you have in place? Can you re-image the machine quickly? Do you use an updated anti-virus? Do you limit what DNS requests can be made from the machine? – schroeder Sep 24 '18 at 16:39
  • 5
    _"A HTTPS site can serve malware as much as a plain HTTP site can do."_ Case in point: https://arstechnica.com/information-technology/2018/09/newegg-hit-by-credit-card-stealing-code-injected-into-shopping-code/ I doubt OP, or most people for that matter, would've noticed that the site called `neweggstats.com` had been *1)* injected into the legitimate `newegg.com` site, and *2)* was actually malicious, based on the name only. – code_dredd Sep 24 '18 at 22:21
  • 6
    Good answer, one thing to add: the website might be fine, but the *router* might be compromised. For example, some hotel wifi routers get hacked: often they will replace google analytics javascript files with malware. [Happened to me once](https://meta.stackexchange.com/questions/286297/), lots more details here: https://security.stackexchange.com/questions/63076/this-javascript-code-is-injected-on-my-hotel-wi-fi-should-i-be-worried There are vulnerable domestic wifi routers too and I'm guessing the asker has never thought to check theirs. – user56reinstatemonica8 Sep 25 '18 at 09:09
  • @user568458 Well, that's one scenario where SSL/TLS *would* actually help... – piet.t Sep 25 '18 at 12:38
  • 1
    @phuclv "But in fact pretty much any websites have a lot of JavaScript" It occurs to me—while running outdated software is never ideal, what if you just turned off Javascript? Would you consider an outdated browser "relatively" safe in that scenario? Since the site can't execute any type of code. – Wowfunhappy Sep 27 '18 at 03:21
  • @Wowfunhappy I think that'll be safe, but now the browser is pretty much useless because almost all websites use Javascript and you will get an error message, a blank page or some other nasty output depending on the page. You can't even read simple news – phuclv Sep 27 '18 at 03:29
  • @phuclv Eh, it's not *that* bad. Nytimes.com, wsj.com, and vox.com all work. (Those happen to be the first three I tried, although the fourth, cnn.com, was largely broken even if you could read articles). This site works too if you're just browsing. Some sites are broken, which obviously isn't ideal, but maybe an option if you're stuck on an older device of some sort? – Wowfunhappy Sep 27 '18 at 03:41
  • I didn't try it but the last time I tried, many pages will print an annoying message that it needs javascript even if the content can be displayed properly. And most of the features like login won't work. I can't do of the things I need, so it's basically useless to me. If you're only use it for "non-dangerous" things like news reading, video clips watching then IMHO just install Linux and be generally safe, otherwise it's better to throw 100 bucks for an old Chromebook or PC. I'm sure they're 64-bit capable and can install the most updated software/OSes – phuclv Sep 27 '18 at 03:50
  • @SteffenUllrich the OP added a new edit btw – user185163 Sep 27 '18 at 17:56
  • 1
    @user185163: thanks for notifying me. I consider it a bad style to make significant edits after the original questions got already lots of answers and reverted the changes. OP should ask a new question if needed. – Steffen Ullrich Sep 27 '18 at 21:00
21

Not all the websites you visit have certificates. You can’t smell fishy websites. Certificate doesn’t mean the site isn’t trying to hack you.

The browser is the biggest attack vector against your computer. It will tend to run unvetted JavaScript code at least, and god knows what else. It constantly processes data from untrusted sources.

gnasher729
  • 2,107
  • 11
  • 16
  • 1
    are most attacks now come from JavaScript? or SQL? – Ooker Sep 24 '18 at 12:35
  • 22
    @Ooker SQL isn't processed on your device. It may be used internally by the web app, but it never leaves the server. SQL injection attacks (which you're probably referring to) are a threat to servers, not clients (but compromised server can be reconfigured to act maliciously on clients). – gronostaj Sep 24 '18 at 13:09
  • 1
    Just because a piece of client software exposes an exploit which is executed on a server rather than in the client doesn't mean that the **user** isn't at risk. – Beanluc Sep 24 '18 at 22:38
  • 3
    @Beanluc Yes, but most of that impact will not be mitigated by an updated browser. The major exception would be injecting code/markup in the site itself, of course. – Luaan Sep 25 '18 at 12:56
  • 1
    Of course. We're talking about a NOT-updated browser, aren't we. – Beanluc Sep 25 '18 at 15:58
  • They are on the way out, but there is also Java, Adobe Flash, and Microsoft stuff. – Peter Mortensen Sep 25 '18 at 17:16
19

Each of your statements is making a false assumption here:

Most of the websites I visit have SSL certificate.

This is great, but SSL/TLS only protects you against certain types of attacks.

Pretty much, a site having a (valid) TLS certificate simply means that the owner of that website has in some way proven ownership of the domain name that is used to access the site, possibly spending a very large amount of money to do so (or possibly spending none). Usually, this means that you can trust that the site is who they say they are, barring domain spoofing (which I will cover in response to your third point). However, it may not mean that (see for example the fiasco that got everything issued by Symantec revoked/untrusted earlier this year). So, a TLS certificate really just verifies site ownership, not that the site is legitimate or that they are doing what they say they are.

TLS certificates give one more protection benefit, they let you use HTTPS. HTTPS provides exactly two types of protection if it's used correctly:

  • It provides a reasonably high level of confidence that the data you are receiving is the same data that the web server sent. This is important for ensuring that nothing has been added to or removed from the site by a third party while it was in transit to you.
  • It provides a reasonably high level of confidence that the data you are transferring is not visible in-transit to third-parties. This is the reason it's so important to ensure that any site you provide a password or personal data to uses HTTPS.

This still leaves you open to quite a few attacks. The most obvious is for the web server to be hacked (or the CDN if they're using one). There are others too, like XSS attacks, malicious advertisements (think of all the perfectly legitimate sites out there that have hidden auto-redirects to malicious sites because of the ads they use), and attacks on TLS itself (such attacks are why no sensible operator still uses SSLv2 or SSLv3, both are known broken). So, HTTPS/TLS/SSL by itself is not rigorous protection.

Also, as you yourself said, most of the websites you visit use TLS, not all of them. Think very hard about whether you really should trust those other sites that aren't using it, if they aren't willing to take the five minutes to set their servers up with free certificates from LetsEncrypt, what other aspects of security are they cutting corners on?

Most of them are either big enough that I can trust that they can't be hacked, or small enough that I don't think it's profitable for the hackers.

Have you not watched any news for the past decade? Just in terms of public disclosures, there are dozens of known attacks on sites with well over 100 million users (that's a big site by most people's definitions, as 100 million is more than 1% of the world population, and probably closer to 3-4% of the total number of people on the internet). I suggest taking a look at the list of public breaches on Have I Been Pwned?, there are quite a few big names on there, including ones which handle very sensitive data (Experian for example). So, no, it's not realistic to expect something to be 'too big to be hacked'. In fact, big sites are some of the most attractive targets for attackers, because they have lots of users. They also have a notoriously bad track record for publicly disclosing security breaches (they have more incentive not to, as they have more potential customers to lose).

On the other side of things, small sites are easy targets, even if not attractive. If you think of big sites as high risk investments for hackers, small ones are low-risk investments. They may not give as much in the way of returns, but they often will give much more consistent returns, so they're still attractive targets.

Also, consider that quite often attackers are targeting software that is vulnerable, not necessarily specific sites. WordPress is a good example, as it's used on sites both big and small, and it's been successfully used multiple times in the past as an attack vector.

I can smell fishy websites

First off, just because a site isn't 'fishy' doesn't mean it's not a threat. There are also quite a few legitimate sites that look 'fishy' by many people's definitions.

Second, it's not hard to copy a legitimate site but still do illegitimate things with the result. Domain spoofing, in it's various forms, is often used for this. There was a rather good blog post on a big infosec site a while back (which i unfortunately cannot find right now, otherwise I would link it here) demonstrating this with apple.com.

As an example of the type of thing you need to look out for but probably can't spot, can you tell the difference between uv and υν? No, this isn't a trick question, the first one is the lower case Latin letters 'u' and 'v', while the second one is the lowercase Greek letters upsilon and nu. In most sans-serif fonts (like those used by almost all browsers in the address bar, and the default font on most SE sub-sites), those two pairs of characters are nearly indistinguishable. Even in many serif fonts, they're hard to distinguish for most people. Similarly, АВ is actually a pair of Cyrillic characters, not Latin ones, and again is indistinguishable from the Latin 'AB' in most fonts. Both cases illustrate examples of IDN homograph attacks, a technique whereby attackers take advantage of the similarity of different characters looking similar or identical to trick people into following their links by making them look like links to legitimate websites.

Pretty much, don't assume that you will be able to recognize a site that's a threat until it's too late.

Austin Hemmelgarn
  • 1,635
  • 7
  • 9
8

Since nobody pointed this out yet:

Anti virus software is way less useful than you think. In fact, if you ask security professionals, the main recommendation to stay safe will be to update all your software, above the recommendation to run an AntiVirus - so exactly what you're planning not to do.

Why? All that anti virus software does is stop known, old pandemics. However, most successful widespread attacks simply create new viruses and use the time window until anti virus software is updated to spread. Anti virus software is no magic bullet, it only detects what it knows (there is behavior detection but it isn't very effective for any of the AV software out there) so against new attacks, it only helps to have less intrusion opportunities. And by far the cheapest intrusion opportunity for attackers is an outdated browser or core system.

So yes, it is vital that your browser is up-to-date if you care about any of the data on your computer at all. Whether you have an Anti Virus is actually kind of unimportant - it does help a little, but it won't save you against most new attacks if your browser or core system are outdated.

Side note: this might be different if you run a browser sandboxed. However, unless you know that is what you're doing, you're most likely not doing it. And I'm not sure for 32bit, any of the common sandboxing solutions like UWP/Windows App Store is supported at all. Also, in that case websites might still be able to steal data from all other open websites, including your banking website tab. So that's hardly ideal.

E. T.
  • 225
  • 1
  • 4
  • *"most successful widespread attacks simply create new viruses and use the time window until anti virus software is updated to spread"* – does that mean if I use an outdated browser and there is virus that can exploit it, but is known by the antivirus, then the antivirus can still protect me? – Ooker Nov 14 '20 at 01:11
  • If it's an older virus, yes. But it is possible for a new virus with an old exploit to be thrown into the wild and to spread to millions of computers in a day before it is recognized. Sadly, a lot of people don't update their PCs so it's no problem going after a dated exploit with a patch already available and still make it worth it. So your Antivirus will protect you against *some* attacks, but it helps much more if your system is always up to date. Since you never know if you'll be one of the few millions to get a virus early. – E. T. Nov 14 '20 at 05:43
6

You should care about security if you care about security.

If you care enough to say things like "I can smell fishy websites" or "Most of the websites I visit have SSL certificates," then you do care about security.

Attacks are out there. Period. Let's not fool ourselves. Let's not pretend we're immune. Take Stuxnet. Stuxnet is credited with destroying up to 1000 centrifuges used for enriching nuclear fuel in Iran. That's hundreds of millions of dollars in damage, at the very least. Practically speaking, a good risk assessment from the country's perspective would be even more dire.

You feel invincible because you visit sites with SSL certificates? The computers Stuxnet hit were air gapped. There was no wire going between the internet and the computers that got infected. They still got infected.

So the real question is not "am I safe?" You're not. The real question is are you safe enough. Is it worth spending some number of dollars and some number of hours to upgrade? That's a balance question. That's much more useful.

Here's a test. Log into your computer. Log into a few sites you care about. Now hand me your computer. I'm going to walk away with it. How do you feel? How nervous are you that I have your data? If all you have is a harddrive full of cute kitten pictures, then you are probably going to be more angry that I walked off with your laptop. Laptops are expensive to replace. But if you've got your banking credentials on that computer, you're probably going to be more worried about what I can do with those. Is your SSN on that computer?

Once you understand how much damage can be done, versus the cost of preventing the damage, you can make a judgement call.

Cort Ammon
  • 9,216
  • 3
  • 26
  • 26
6

Browser updates include updates to certificate authority data and indeed its very own certificate. Both of those things have expiration dates and there are many websites which can't be accessed at all by too-old browsers because the SSL certificate can't be verified by that too-old browser OR that too-old browser can't verify its own cert to the remote server. So even if you don't care about security, you might care about the access and functionality which security-validation achieves for you.

What's more, by the time you "smell" the fishiness of a website you're looking at, it's already too late for many kinds of attacks. Hopefully your old 32-bit operating system isn't also unable to get updates to its antivirus software.

Beanluc
  • 305
  • 1
  • 6
4

As an addition to the excellent points in other answers:

Is your 32-bit software still regularly updated or is it a deprecated old version?

Once any piece of internet connected software stops receiving new security fixes, it becomes susceptible to every new bug or hack thereafter.

  • 1
    Yes, Windows 7 is updated regularly. Is it compensate enough for an old browser? – Ooker Sep 25 '18 at 03:01
  • 2
    I mean ***ALL*** 32 bit software, including all software that is installed on the 32 bit OS, not just Windows. –  Sep 25 '18 at 14:21
  • 1
    yes, most of them are still supported. But why the need? They don't connect to the internet. Maybe there is a chance that I accidentally open an infected file, but why can't Windows Defender detect it? – Ooker Sep 25 '18 at 14:51
  • 1
    My answer specifies "internet connected software", but to be realistic,. any software on an internet connected computer is vulnerable, whether or not it connects to the net itself. –  Sep 25 '18 at 14:54
  • @Ooker to expand on that, a compromised piece of software can sometimes allow an attacker to gain full root/admin access to the machine, so at that point even the OS is compromised until that bug is patched. You're not just trusting Microsoft here, your trusting every 2-bit software vendor providing outdated software. –  Sep 25 '18 at 14:57
  • 4
    @Ooker If someone breaks into your front door, they can go into your bedroom and take things, even if the bedroom does not have a door to the outside. – barbecue Sep 26 '18 at 14:50
1
  • Most of the websites I visit have SSL certificate,
  • Most of them are either big enough that I can trust that they can't be hacked, or small enough that I don't think it's profitable for the hackers
  • I can smell fishy websites?

Everything in there is wrong.

Browser security, as you guessed, is important because on most systems, no other piece of software so regularily encounters data from outside the trust boundary that

  • needs to be processed in near realtime,
  • does not subscribe to some simple and easy to filter format and
  • is then parsed or executed by a highly complex software that implements a constantly changing target - or in other words: Is highly likely to contain implementation errors, some of which may be exploitable.

SSL protects you against certain types of attacks, most of which are of no relevance if the attackers goal is to compromise your machine. As its more current name - TLS - implies, its business is transport security, not protecting your browser or your machine.

Websites of all types get hacked constantly. The smallest ones by automated bots. The background noise here is quite astonishing. If you have your own server, turn up your logfiles for a day and marvel at the sheer amount of connection attempts to pretty much all interesting ports, 24/7. Turn up your webserver logfiles and read through the strange paths and standard routes to popular, insecure software packages. This stuff would not be out there if it would not work, at least sometimes.

The large websites, meanwhile, are not more secure just by being bigger. In the animal kingdom, you have to be the biggest to be safe from predators. If you are just big, it just means you are being hunted by lions instead of foxes. Same on the Internet, being a large website just means your threat actors are dedicated activists, organised crime, maybe nation states (depending on your business), etc. The threat profile changes based on your size, but it is utterly naive to state outright that it changes for the better.

You can probably smell fishy websites, but quite a bit of malware has been deposited through sideloading, e.g. through an advertisement network instead of the websites directly. It could be through a compromised CDN that your utterly non-smelly website uses.

So, in summary: Browser security matters because it is one of the largest if not the largest hole in your perimeter, and you can not protect yourself adequately through browsing habits or anti-malware tools, though both do help.

Tom
  • 10,201
  • 19
  • 51