HTTPS is not a magic bullet for Web security

Status
Not open for further replies.

biffbobfred

Ars Scholae Palatinae
1,178
Uh oh, here comes Deebo

giphy.gif
 
Upvote
-19 (1 / -20)

till213

Ars Scholae Palatinae
1,185
[url=http:/civis/viewtopic.php?p=31520075#p31520075:3ly6kiwf said:
Sasparilla[/url]":3ly6kiwf]This article was reminding me of the Snowden documents that basically said the govts and their 3 letter agencies had no issues breaking https:

http://news.softpedia.com/news/encrypti ... 4736.shtml

Anybody know if this has been "fixed" with the standard in the mean time?

Disclaimer: I haven't checked the URL you gave.

"HTTPS" per se is not encryption. So saying that "Three Letter Agencies have broken HTTPS" (with regards to its encryption which - of course - goes along with it) is a bit too simplistic ;)

Simply said, HTTPS is "what AVI or QuickTime are to video codecs" (if you're more into the topic you may bash me now). HTTPS is a protocol which defines "Who sais what first and then what next" etc. (and AVI/QT are "Containers" which simply contain one or more "encoded streams", for completeness sake).

(Actually the SSL/TLS part of "HTTPS" does all the "hand-shaking", but lets keep it simple.)

Part of that protocol is "negotiating" a) session key (via "Diffie Hellman" or RSA) and b) the actual encryption algorithm to be used (AES, ...) and its key length.

There are several attack vectors for both a) and b) which don't "crack" the actual encryption or session key exchange per se, but nevertheless allow to "man in the middle"-ing the "conversation".

The most simple way to attacking HTTPS is to simply - somehow - install a so-called "root certificate" on the victims machine. Do you know how many such CAs are currently installed on your virgin Mac/Windows OS installation? Do you know how many in addition Firefox/Chrome etc. bring on their own? Do you trust them? Do you know where to look them up in your system? Do you even know what a "certificate" is?

You might know... but fact is like 99% of the Internet users don't (at least not their full meaning).

So once the Man In the Middle has installed such a CA (which might even come pre-installed with the OS and/or browser) all that person needs to do is having you connect to a Proxy (which is the case in almost all business controlled networks, by the way - so this is not just theory).

What's a Proxy? A server "in the middle" over which all your web requests go. So when you enter https://www.foo.com in your browser that request goes first to the Proxy server (check your browser settings - or you can configure "Proxies" even system-wide - if you're in a public Wi-Fi it is quite likely that all your traffic goes across a proxy).

Mind you: a "Proxy" per se is "not bad"! There's a reason most "internet capable applications" (or on an OS level) provide means to set such a "Proxy" server (for each protocol). A proxy "caches" data, so when many people surf on the same web site that data can be "cached" and delivered directly to the client (browser) - without asking the original web site (sloooow!).

And of course proxies "nowadays" also filter internet traffic etc. etc.

And now we get to the "interesting" Man in the Middle parts: such a proxy can now present you with a Server (proxy) Certificate of its own - just like https://www.foo.com would. If that Server Certificate is trusted by you - means: if you have any root certificate installed on your computer that originally signed that Server Certificate - you won't notice immediately: your browser will tell you that the connection is "secure" and the Server Certificate is valid!

Wait a minute... yes, the connection between your client (web browser, ...) and the PROXY is secure! No one else can read what is transmitted! Except of course the PROXY itself, as the session key was negotiated between you and the PROXY.

So what does the Proxy do with the data? It simply re-negotiates a session key - a different one - with https://www.foo.com, decrypts YOUR data and re-encrypts the data on that "link" with the new session key. Then it gets the data back from foo.com, decrypts it again and re-encrypts it with YOUR session key.

So what happens between that de-/encryption operations on the PROXY? Go figure - or ask the owner of the PROXY ;) (-> "Man in the Middle").

Fact is: the PROXY is able to read every single bit that was transferred between YOU and foo.com. Was encryption broken? Clearly NO! The "links" from YOU to the PROXY and the PROXY to foo.com where both "secure".

Could you have noticed? Of course! You could have checked the server (aka "Proxy") certificate presented to you ("Do you know how?") and realised that it actually "does not belong to foo.com". Even though your browser TRUSTS that certificate and did not complain about anything! (*)

Update: I have to take back that part! Apparently it is not that easy to just "check the server certificate that was presented to you"! I just checked with e.g. https://www.google.ch and the server certificate presented in Firefox is from Google! That is:

Common Name (CN): google.com
Organisation (O): Google Inc.
etc.

and:

Certificate Hierarchy: GeoTrust Global CA -> Google Internet Authority G2 -> google.com

Basically everything that I'd expect. Now I haven't checked the fingerprints of said certificate against the one I'd pretty sure find somewhere on Google's website. But for sure there's no sign of our "proxy server certificate"! At least not an obvious one...

End update.

Means: YOU trust that certificate, by the very fact that you HAVE to TRUST the ROOT CERTIFICATES which are installed on your OS/Browser!

Again the question: are you - as an Internet user - aware of the importance of those root certificates? Do you know what a Certificate Authority (CA) is? Are you aware that if just a single CA worldwide (which managed to get its root certificate installed by default in the common browsers/OSes) is "evil" that the whole "HTTPS system" breaks down?

Or more provocative: do you really trust all those worldwide CAs e.g. in your Firefox?

https://wiki.mozilla.org/CA:IncludedCAs
https://hg.mozilla.org/mozilla-central/ ... rtdata.txt

Well this is a rhetorical question - just to illustrate the problem at hand here. And by no means do I want to imply that any current CA in the above lists (nor anywhere else) is "evil".

But this is NOT a theoretical problem. It already happened(tm), either knowingly or unknowingly by the acutal CA. Just as an example read up on https://en.wikipedia.org/wiki/DigiNotar.



Another simple attack vector - which requires to mess around with your client/computer - is to manipulate your client such that it only sends a "list of supported encryption algorithms" which are known to be weak. As mentioned in b) the SSL/TLS protocol negotiates the encryption algorithm to be used - which is usually the "strongest algorithm of the common set of supported algorithms". And if the "set of supported algorithms by the client" consists only of "weak algorithms", then it's easy (or relatively easy, as in "doable") to "crack" those weak algorithms (also a reason why it is important that servers and browsers remove those algorithms from their "supported list" altogether).


So to answer your question: "Yes, HTTPS is secure" ("secure" as defined in the article above), but only "if done right". Most importantly: the encryption itself, as applied today, is still assumed to be "strong".

But as you saw it is relatively easy to "man in the middle" people (which usually CAN be detected, by checking the actual server certificate! The attacker might also need to change your system settings by making you install his/her custom root certificate) or "downgrade attacks" (which also require messing around on your system).






(*) This part I am not so sure about: it might be that you have to "tweak" the system settings a bit in order for the browser not to complain that the received Server Certificate domain does not actually correspond to the URL you have just typed in. But fact is that this can be done - and is done. The company network at work does exactly that (so yes, I am aware that my company can read every single bit of my HTTPS traffic).
 
Upvote
14 (14 / 0)
[url=http:/civis/viewtopic.php?p=31520271#p31520271:x36moye2 said:
agrouf[/url]":x36moye2]Https breaks caching. I don't think you need to 'secure' every single bit of information. Private information, yes. Public information, why?

You're absolutely right, secure end-to-end totally breaks caching. And this is a surprisingly major issue in IoT that I've never seen discussed in tech media. Pretty much all IoT use cases require secure end-to-end communication (I'm hedging a bit there with "pretty much"; personal opinion is that unadulterated "all" is correct), but there's an extremely vocal RESTful cult in the community that demands everything work the same as the legacy HTTP web, and that cache-ability is fundamentally important, and that it's OK to burden what should be light-weight M2M application layers with mandatory resource structure discovery and huge GUIDs and UUIDs and mRIDs and tags and time stamps for determining where something sitting in a cache came from and when/why it was last modified. And then never be able to use that because data is opaque to anything sitting in the middle.

But the consultants are happy--they got paid while dragging out spec development arguing this nonsense, and they'll get paid again and again when companies hire them to navigate unnecessarily complex standards.
 
Upvote
-11 (1 / -12)
Hey Ars, the cracked Superman-shield you're using for this story. It's a Attribution-NonCommercial-ShareAlike 2.0 Generic license image. It's been altered (the crack), which is allowed by the license, but:

"Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use."

Here's the link: https://www.flickr.com/photos/dangergraphics/5449679657/

Quite obvious that's the image that's used as the base. Of course, it being the S-shield, it's a DC trademark, which murkies the water some more (pretty sure DC could do whatever the hell they damn please with it). But it'd be nice if you gave the credit the license asks for.
 
Upvote
14 (15 / -1)

adamsc

Ars Praefectus
4,469
Subscriptor++
[url=http:/civis/viewtopic.php?p=31520327#p31520327:jimf75kh said:
CraigJ[/url]":jimf75kh]
[url=http:/civis/viewtopic.php?p=31520171#p31520171:jimf75kh said:
LarryMocono[/url]":jimf75kh]What exactly do the Target and Home Depot breaches have to do with their websites using HTTPS? The breaches were of their POS systems, not their webserver. Non sequitur much?
It's an example of securing the connection but not the data, thus no security.

Kind of like putting a deadbolt on a cardboard door.

Seatbelts don't prevent crashes or all fatalities but that doesn't mean it was a bad idea to make them a standard feature.

HTTPS is similar – yes, you still have to do all of the other things which you already needed to do but it cuts off whole classes of attack and gives you a solid foundation to build on.
 
Upvote
9 (9 / 0)

till213

Ars Scholae Palatinae
1,185
[url=http:/civis/viewtopic.php?p=31520403#p31520403:3rgsvrpn said:
groundhog6[/url]":3rgsvrpn]"In short, HTTPS offers three things: secrecy, integrity, and authenticity."

UNLESS you are on a corporate network where they use a man in the middle security appliance (which almost everyone does) so they can watch what you do in which case you get NONE of those.

Well, technically you still get those properties, even on corporate networks with a proxy which acts as a "man in the middle" (my company does that as well). Just not "end to end". Well, yes, "end to end" - the other end just happens to be the proxy, and not the other server foo.com that you actually typed into your browser.

HTTPS (SSL/TLS) only secures the channel between the end points! It is up to the application to define those end points! So if your browser happens to think that the given proxy is a good end point, then so be it! The traffic is "secure" between your client and the proxy.

Which is, of course, not what you - as a employee of that company - might have expected (except if you knew about server certificates "and all that stuff"). ;)

But again, TLS/SSL does not make such claims except secrecy, integrity, and authenticity between the end points! But it doesn't say what those end points are: your application aka "the browser" does, by deliberately (or not so deliberately, if your browser was "tweaked" by the Man in the Middle) connecting to the Proxy...

Everything else is up to the application (and/or protocols such as Kerberos, which apply "secure channels" to build up "security on top of that" etc.).
 
Upvote
5 (6 / -1)
Post content hidden for low score. Show…
[url=http:/civis/viewtopic.php?p=31520519#p31520519:321efg6p said:
J.King[/url]":321efg6p]
[url=http:/civis/viewtopic.php?p=31520487#p31520487:321efg6p said:
agrouf[/url]":321efg6p]
[url=http:/civis/viewtopic.php?p=31520449#p31520449:321efg6p said:
chickensevil[/url]":321efg6p]
[url=http:/civis/viewtopic.php?p=31520113#p31520113:321efg6p said:
jeff234[/url]":321efg6p]"HTTPS also prevents the kind of censorship that happens at the state or ISP level. For example, Russia wanted to ban a Wikipedia article (about charas hashish), but because Wikipedia is served over HTTPS there's no way to see which page visitors are requesting. Russia was faced with the choice: ban all of Wikipedia or none."

Well the Wiki URLs contain data that could be used for filtering.
https : // en.wikipedia.org/wiki/Charas

The thing with HTTPS is that when you go to a site you don't get anything about it when you intercept the traffic. All you would see is the equivalent of the following:

en.wikipedia.org:443

You don't get any information after the domain. And all the data served up is encrypted. So no, unless they could break the encryption and MITM attack the connection then there is no way to see which wiki you were accessing.
It's trivial to see which page is accessed. One just need to measure the amount if bytes transfered and compare it with wikipedia page sizes, which are public information available to anybody.
Er... No? Bytes transferred will include the header, which may or may not include cookies, and any number of things. Plus the size of the payload itself will depend on cookies, compression, and other factors.

Edit: TLS also makes it opaque whether you're using HTTP/1.1 or HTTP/2, or indeed some completely unrelated protocol e.g. XMPP over port 443. Bytes transferred tells you one thing only : how many bytes were transferred.

To add to that, even if this were possible based just on the byte sizes (which it isn't as you pointed out), are you seriously going to catalogue the sizes of all the pages on a website as complex as wikipedia? And then, at that, how long before the community gave a big fat middle finger to the Russian government (or some other ISP or Government trying to block content on wikipedia) by just daily, or hourly adding and/or removing content from the page to arbitrarily change the byte sizes. Heck, wikipedia could fight that themselves but just running a script on all the pages that adds an arbitrary amount of "whitespace" to the end of their content to ensure that every time you pull a page it would have a different byte size. And given wikipedia's stance on the internet, I wouldn't put it past them to implement such a thing.

But again, entirely unnecessary since you couldn't track specific pages in this manner effectively.
 
Upvote
8 (8 / 0)

scooternva

Ars Praetorian
589
Subscriptor++
[url=http:/civis/viewtopic.php?p=31520499#p31520499:oeufcbcn said:
tpl[/url]":eek:eufcbcn]Maybe Ars should set an example by using HTTPS...and while you are at it how about IPV6.


I am sure you have many reasons, good and bad, not to do so...but maybe it is time even at some effort.
Ironic, isn't it? All of these articles that Ars publishes about the slow adoption of IPv6. All of these scolding editorials about how all websites should be using HTTPS. Practice what you preach, fellas.
 
Upvote
19 (20 / -1)

agrouf

Well-known member
1,531
[url=http:/civis/viewtopic.php?p=31520519#p31520519:3hsnmbuj said:
J.King[/url]":3hsnmbuj]
[url=http:/civis/viewtopic.php?p=31520487#p31520487:3hsnmbuj said:
agrouf[/url]":3hsnmbuj]
[url=http:/civis/viewtopic.php?p=31520449#p31520449:3hsnmbuj said:
chickensevil[/url]":3hsnmbuj]
[url=http:/civis/viewtopic.php?p=31520113#p31520113:3hsnmbuj said:
jeff234[/url]":3hsnmbuj]"HTTPS also prevents the kind of censorship that happens at the state or ISP level. For example, Russia wanted to ban a Wikipedia article (about charas hashish), but because Wikipedia is served over HTTPS there's no way to see which page visitors are requesting. Russia was faced with the choice: ban all of Wikipedia or none."

Well the Wiki URLs contain data that could be used for filtering.
https : // en.wikipedia.org/wiki/Charas

The thing with HTTPS is that when you go to a site you don't get anything about it when you intercept the traffic. All you would see is the equivalent of the following:

en.wikipedia.org:443

You don't get any information after the domain. And all the data served up is encrypted. So no, unless they could break the encryption and MITM attack the connection then there is no way to see which wiki you were accessing.
It's trivial to see which page is accessed. One just need to measure the amount if bytes transfered and compare it with wikipedia page sizes, which are public information available to anybody.
Er... No? Bytes transferred will include the header, which may or may not include cookies, and any number of things. Plus the size of the payload itself will depend on cookies, compression, and other factors.

Edit: TLS also makes it opaque whether you're using HTTP/1.1 or HTTP/2, or indeed some completely unrelated protocol e.g. XMPP over port 443. Bytes transferred tells you one thing only : how many bytes were transferred.
As long as you are not logged in, wikipedia doesn't use cookies. Compression is the same everytime as well as HTTP version. Wikipedia doesn't use XMPP at all. I'm not sure what you are talking about. Unless the page has been edited it will always have the same size, encrypted or not.
 
Upvote
-12 (1 / -13)
It's interesting that there is a distinction -- Verizon Wireless and AT&T WiFI. I'm on AT&T Wireless for cellphone use and just pulled up the raw code on ARS homepage -- didn't see much of anything in the way of added code from AT&T there. DId see multiple tracking scripts for ARS though -- but I expected to see that.

I wonder why AT&T is adding code injections on their WiFi service vs their Wireless. I'd say regulations but Verizon is tracking their wireless. Hmm ... odd.
 
Upvote
1 (1 / 0)
[url=http:/civis/viewtopic.php?p=31520693#p31520693:3l5iecyh said:
agrouf[/url]":3l5iecyh]
[url=http:/civis/viewtopic.php?p=31520519#p31520519:3l5iecyh said:
J.King[/url]":3l5iecyh]
[url=http:/civis/viewtopic.php?p=31520487#p31520487:3l5iecyh said:
agrouf[/url]":3l5iecyh]
[url=http:/civis/viewtopic.php?p=31520449#p31520449:3l5iecyh said:
chickensevil[/url]":3l5iecyh]
[url=http:/civis/viewtopic.php?p=31520113#p31520113:3l5iecyh said:
jeff234[/url]":3l5iecyh]"HTTPS also prevents the kind of censorship that happens at the state or ISP level. For example, Russia wanted to ban a Wikipedia article (about charas hashish), but because Wikipedia is served over HTTPS there's no way to see which page visitors are requesting. Russia was faced with the choice: ban all of Wikipedia or none."

Well the Wiki URLs contain data that could be used for filtering.
https : // en.wikipedia.org/wiki/Charas

The thing with HTTPS is that when you go to a site you don't get anything about it when you intercept the traffic. All you would see is the equivalent of the following:

en.wikipedia.org:443

You don't get any information after the domain. And all the data served up is encrypted. So no, unless they could break the encryption and MITM attack the connection then there is no way to see which wiki you were accessing.
It's trivial to see which page is accessed. One just need to measure the amount if bytes transfered and compare it with wikipedia page sizes, which are public information available to anybody.
Er... No? Bytes transferred will include the header, which may or may not include cookies, and any number of things. Plus the size of the payload itself will depend on cookies, compression, and other factors.

Edit: TLS also makes it opaque whether you're using HTTP/1.1 or HTTP/2, or indeed some completely unrelated protocol e.g. XMPP over port 443. Bytes transferred tells you one thing only : how many bytes were transferred.
As long as you are not logged in, wikipedia doesn't use cookies. Compression is the same everytime as well as HTTP version. Wikipedia doesn't use XMPP at all. I'm not sure what you are talking about. Unless the page has been edited it will always have the same size, encrypted or not.

Until the next edit, which for the kind of contentious topics that a government would like to block is likely to be very frequent.
 
Upvote
3 (3 / 0)

J.King

Ars Praefectus
4,596
Subscriptor
[url=http:/civis/viewtopic.php?p=31520693#p31520693:38rwjt33 said:
agrouf[/url]":38rwjt33]
[url=http:/civis/viewtopic.php?p=31520519#p31520519:38rwjt33 said:
J.King[/url]":38rwjt33]
[url=http:/civis/viewtopic.php?p=31520487#p31520487:38rwjt33 said:
agrouf[/url]":38rwjt33]
[url=http:/civis/viewtopic.php?p=31520449#p31520449:38rwjt33 said:
chickensevil[/url]":38rwjt33]
[url=http:/civis/viewtopic.php?p=31520113#p31520113:38rwjt33 said:
jeff234[/url]":38rwjt33]"HTTPS also prevents the kind of censorship that happens at the state or ISP level. For example, Russia wanted to ban a Wikipedia article (about charas hashish), but because Wikipedia is served over HTTPS there's no way to see which page visitors are requesting. Russia was faced with the choice: ban all of Wikipedia or none."

Well the Wiki URLs contain data that could be used for filtering.
https : // en.wikipedia.org/wiki/Charas

The thing with HTTPS is that when you go to a site you don't get anything about it when you intercept the traffic. All you would see is the equivalent of the following:

en.wikipedia.org:443

You don't get any information after the domain. And all the data served up is encrypted. So no, unless they could break the encryption and MITM attack the connection then there is no way to see which wiki you were accessing.
It's trivial to see which page is accessed. One just need to measure the amount if bytes transfered and compare it with wikipedia page sizes, which are public information available to anybody.
Er... No? Bytes transferred will include the header, which may or may not include cookies, and any number of things. Plus the size of the payload itself will depend on cookies, compression, and other factors.

Edit: TLS also makes it opaque whether you're using HTTP/1.1 or HTTP/2, or indeed some completely unrelated protocol e.g. XMPP over port 443. Bytes transferred tells you one thing only : how many bytes were transferred.
As long as you are not logged in, wikipedia doesn't use cookies. Compression is the same everytime as well as HTTP version. Wikipedia doesn't use XMPP at all. I'm not sure what you are talking about. Unless the page has been edited it will always have the same size, encrypted or not.
I think you don't understand that what constitutes "the page" is unknown to a blind observer. Besides which, whether you're logged in has a bearing on the page content. Not only is your user name (of variable length) listed, but you might have notices, too.
 
Upvote
7 (7 / 0)
Over the long run, Let's Encrypt is hoping to partner with major Web hosts in such a way that users looking to set up their own blog using popular CMS like WordPress get an HTTPS site up and running as easily as clicking a button. Things will, however, likely never be that simple for anyone that wants to take a more DIY approach, writing their own software.
Many hosting services offer up alternative HTTPS options already. They could easy bake the setup in on the backend and offer even the DIY crowd essentially an "easy button". Going through a hosted provider vs setting up a home server (hardware and all from scratch) are 2 very different things and there are many thing that are handled by the 3rd party host that either are convenient -- even for the DIY crowd -- or restricted (and handled by said provider) based on the access you pay for. So short of someone wanting (or needing) to roll their own from scratch this would still be fairly easy.
 
Upvote
2 (2 / 0)

agrouf

Well-known member
1,531
[url=http:/civis/viewtopic.php?p=31520735#p31520735:19thstuu said:
J.King[/url]":19thstuu]
[url=http:/civis/viewtopic.php?p=31520693#p31520693:19thstuu said:
agrouf[/url]":19thstuu]
[url=http:/civis/viewtopic.php?p=31520519#p31520519:19thstuu said:
J.King[/url]":19thstuu]
[url=http:/civis/viewtopic.php?p=31520487#p31520487:19thstuu said:
agrouf[/url]":19thstuu]
[url=http:/civis/viewtopic.php?p=31520449#p31520449:19thstuu said:
chickensevil[/url]":19thstuu]
[url=http:/civis/viewtopic.php?p=31520113#p31520113:19thstuu said:
jeff234[/url]":19thstuu]"HTTPS also prevents the kind of censorship that happens at the state or ISP level. For example, Russia wanted to ban a Wikipedia article (about charas hashish), but because Wikipedia is served over HTTPS there's no way to see which page visitors are requesting. Russia was faced with the choice: ban all of Wikipedia or none."

Well the Wiki URLs contain data that could be used for filtering.
https : // en.wikipedia.org/wiki/Charas

The thing with HTTPS is that when you go to a site you don't get anything about it when you intercept the traffic. All you would see is the equivalent of the following:

en.wikipedia.org:443

You don't get any information after the domain. And all the data served up is encrypted. So no, unless they could break the encryption and MITM attack the connection then there is no way to see which wiki you were accessing.
It's trivial to see which page is accessed. One just need to measure the amount if bytes transfered and compare it with wikipedia page sizes, which are public information available to anybody.
Er... No? Bytes transferred will include the header, which may or may not include cookies, and any number of things. Plus the size of the payload itself will depend on cookies, compression, and other factors.

Edit: TLS also makes it opaque whether you're using HTTP/1.1 or HTTP/2, or indeed some completely unrelated protocol e.g. XMPP over port 443. Bytes transferred tells you one thing only : how many bytes were transferred.
As long as you are not logged in, wikipedia doesn't use cookies. Compression is the same everytime as well as HTTP version. Wikipedia doesn't use XMPP at all. I'm not sure what you are talking about. Unless the page has been edited it will always have the same size, encrypted or not.
I think you don't understand that what constitutes "the page" is unknown to a blind observer. Besides which, whether you're logged in has a bearing on the page content. Not only is your user name (of variable length) listed, but you might have notices, too.
99% of wikipedia users don't have an account and those who do are logged off 99% of the time.
 
Upvote
-7 (0 / -7)

agrouf

Well-known member
1,531
[url=http:/civis/viewtopic.php?p=31520687#p31520687:22oqtajz said:
chickensevil[/url]":22oqtajz]
[url=http:/civis/viewtopic.php?p=31520519#p31520519:22oqtajz said:
J.King[/url]":22oqtajz]
[url=http:/civis/viewtopic.php?p=31520487#p31520487:22oqtajz said:
agrouf[/url]":22oqtajz]
[url=http:/civis/viewtopic.php?p=31520449#p31520449:22oqtajz said:
chickensevil[/url]":22oqtajz]
[url=http:/civis/viewtopic.php?p=31520113#p31520113:22oqtajz said:
jeff234[/url]":22oqtajz]"HTTPS also prevents the kind of censorship that happens at the state or ISP level. For example, Russia wanted to ban a Wikipedia article (about charas hashish), but because Wikipedia is served over HTTPS there's no way to see which page visitors are requesting. Russia was faced with the choice: ban all of Wikipedia or none."

Well the Wiki URLs contain data that could be used for filtering.
https : // en.wikipedia.org/wiki/Charas

The thing with HTTPS is that when you go to a site you don't get anything about it when you intercept the traffic. All you would see is the equivalent of the following:

en.wikipedia.org:443

You don't get any information after the domain. And all the data served up is encrypted. So no, unless they could break the encryption and MITM attack the connection then there is no way to see which wiki you were accessing.
It's trivial to see which page is accessed. One just need to measure the amount if bytes transfered and compare it with wikipedia page sizes, which are public information available to anybody.
Er... No? Bytes transferred will include the header, which may or may not include cookies, and any number of things. Plus the size of the payload itself will depend on cookies, compression, and other factors.

Edit: TLS also makes it opaque whether you're using HTTP/1.1 or HTTP/2, or indeed some completely unrelated protocol e.g. XMPP over port 443. Bytes transferred tells you one thing only : how many bytes were transferred.

To add to that, even if this were possible based just on the byte sizes (which it isn't as you pointed out), are you seriously going to catalogue the sizes of all the pages on a website as complex as wikipedia? And then, at that, how long before the community gave a big fat middle finger to the Russian government (or some other ISP or Government trying to block content on wikipedia) by just daily, or hourly adding and/or removing content from the page to arbitrarily change the byte sizes. Heck, wikipedia could fight that themselves but just running a script on all the pages that adds an arbitrary amount of "whitespace" to the end of their content to ensure that every time you pull a page it would have a different byte size. And given wikipedia's stance on the internet, I wouldn't put it past them to implement such a thing.

But again, entirely unnecessary since you couldn't track specific pages in this manner effectively.
You just need the size of the page you want to block. You don't need to catalog all of wikipedia. And you can write a perl script in 2 min to update the size according to edits.
 
Upvote
-12 (0 / -12)
[url=http:/civis/viewtopic.php?p=31520543#p31520543:hwmpp8dy said:
till213[/url]":hwmpp8dy]
[url=http:/civis/viewtopic.php?p=31520075#p31520075:hwmpp8dy said:
Sasparilla[/url]":hwmpp8dy]This article was reminding me of the Snowden documents that basically said the govts and their 3 letter agencies had no issues breaking https:

http://news.softpedia.com/news/encrypti ... 4736.shtml

Anybody know if this has been "fixed" with the standard in the mean time?

Disclaimer: I haven't checked the URL you gave.

"HTTPS" per se is not encryption. So saying that "Three Letter Agencies have broken HTTPS" (with regards to its encryption which - of course - goes along with it) is a bit too simplistic ;)

Simply said, HTTPS is "what AVI or QuickTime are to video codecs" (if you're more into the topic you may bash me now). HTTPS is a protocol which defines "Who sais what first and then what next" etc. (and AVI/QT are "Containers" which simply contain one or more "encoded streams", for completeness sake).

(Actually the SSL/TLS part of "HTTPS" does all the "hand-shaking", but lets keep it simple.)

Part of that protocol is "negotiating" a) session key (via "Diffie Hellman" or RSA) and b) the actual encryption algorithm to be used (AES, ...) and its key length.

There are several attack vectors for both a) and b) which don't "crack" the actual encryption or session key exchange per se, but nevertheless allow to "man in the middle"-ing the "conversation".

The most simple way to attacking HTTPS is to simply - somehow - install a so-called "root certificate" on the victims machine. Do you know how many such CAs are currently installed on your virgin Mac/Windows OS installation? Do you know how many in addition Firefox/Chrome etc. bring on their own? Do you trust them? Do you know where to look them up in your system? Do you even know what a "certificate" is?

You might know... but fact is like 99% of the Internet users don't (at least not their full meaning).

So once the Man In the Middle has installed such a CA (which might even come pre-installed with the OS and/or browser) all that person needs to do is having you connect to a Proxy (which is the case in almost all business controlled networks, by the way - so this is not just theory).

What's a Proxy? A server "in the middle" over which all your web requests go. So when you enter https://www.foo.com in your browser that request goes first to the Proxy server (check your browser settings - or you can configure "Proxies" even system-wide - if you're in a public Wi-Fi it is quite likely that all your traffic goes across a proxy).

Mind you: a "Proxy" per se is "not bad"! There's a reason most "internet capable applications" (or on an OS level) provide means to set such a "Proxy" server (for each protocol). A proxy "caches" data, so when many people surf on the same web site that data can be "cached" and delivered directly to the client (browser) - without asking the original web site (sloooow!).

And of course proxies "nowadays" also filter internet traffic etc. etc.

And now we get to the "interesting" Man in the Middle parts: such a proxy can now present you with a Server (proxy) Certificate of its own - just like https://www.foo.com would. If that Server Certificate is trusted by you - means: if you have any root certificate installed on your computer that originally signed that Server Certificate - you won't notice immediately: your browser will tell you that the connection is "secure" and the Server Certificate is valid!

Wait a minute... yes, the connection between your client (web browser, ...) and the PROXY is secure! No one else can read what is transmitted! Except of course the PROXY itself, as the session key was negotiated between you and the PROXY.

So what does the Proxy do with the data? It simply re-negotiates a session key - a different one - with https://www.foo.com, decrypts YOUR data and re-encrypts the data on that "link" with the new session key. Then it gets the data back from foo.com, decrypts it again and re-encrypts it with YOUR session key.

So what happens between that de-/encryption operations on the PROXY? Go figure - or ask the owner of the PROXY ;) (-> "Man in the Middle").

Fact is: the PROXY is able to read every single bit that was transferred between YOU and foo.com. Was encryption broken? Clearly NO! The "links" from YOU to the PROXY and the PROXY to foo.com where both "secure".

Could you have noticed? Of course! You could have checked the server (aka "Proxy") certificate presented to you ("Do you know how?") and realised that it actually "does not belong to foo.com". Even though your browser TRUSTS that certificate and did not complain about anything! (*)

Means: YOU trust that certificate, by the very fact that you HAVE to TRUST the ROOT CERTIFICATES which are installed on your OS/Browser!

Again the question: are you - as an Internet user - aware of the importance of those root certificates? Do you know what a Certificate Authority (CA) is? Are you aware that if just a single CA worldwide (which managed to get its root certificate installed by default in the common browsers/OSes) is "evil" that the whole "HTTPS system" breaks down?

Or more provocative: do you really trust all those worldwide CAs e.g. in your Firefox?

https://wiki.mozilla.org/CA:IncludedCAs
https://hg.mozilla.org/mozilla-central/ ... rtdata.txt

Well this is a rhetorical question - just to illustrate the problem at hand here. And by no means do I want to imply that any current CA in the above lists (nor anywhere else) is "evil".

But this is NOT a theoretical problem. It already happened(tm), either knowingly or unknowingly by the acutal CA. Just as an example read up on https://en.wikipedia.org/wiki/DigiNotar.



Another simple attack vector - which requires to mess around with your client/computer - is to manipulate your client such that it only sends a "list of supported encryption algorithms" which are known to be weak. As mentioned in b) the SSL/TLS protocol negotiates the encryption algorithm to be used - which is usually the "strongest algorithm of the common set of supported algorithms". And if the "set of supported algorithms by the client" consists only of "weak algorithms", then it's easy (or relatively easy, as in "doable") to "crack" those weak algorithms (also a reason why it is important that servers and browsers remove those algorithms from their "supported list" altogether).


So to answer your question: "Yes, HTTPS is secure" ("secure" as defined in the article above), but only "if done right". Most importantly: the encryption itself, as applied today, is still assumed to be "strong".

But as you saw it is relatively easy to "man in the middle" people (which usually CAN be detected, by checking the actual server certificate! The attacker might also need to change your system settings by making you install his/her custom root certificate) or "downgrade attacks" (which also require messing around on your system).






(*) This part I am not so sure about: it might be that you have to "tweak" the system settings a bit in order for the browser not to complain that the received Server Certificate domain does not actually correspond to the URL you have just typed in. But fact is that this can be done - and is done. The company network at work does exactly that (so yes, I am aware that my company can read every single bit of my HTTPS traffic).


PROXY = MITM on your above explanation reminds me of the tricks being done by almost ALL anti-virus products. Because this is exactly what those antivirus providers are doing.

All HTTPS transactions are being pwnd by the antivirus software on your system. Be it Avast, Kaspersky, AVG, ESET, Symantec, McAfee, etc. All these products are doing HTTPS inspection, just so they can scan the line in case you've downloaded malwares from an HTTPS site. But this security "feature" breaks all HTTPS implementation.
 
Upvote
2 (2 / 0)
Everyone who is saying "Not everything needs HTTPS" is kind of missing the point. ANY plain HTTP page you visit can be recorded, intercepted and modified.

Let's suppose you are a governmental agency who wants to deploy mass surveillance via malware. All you need to do is intercept all HTTP connections, and inject the malware everywhere. Even if you say "1 in a 1000 requests get it", every time someone visits a single blog or whatever that's not using HTTPS, they are rolling the dice.

It's shitty, but it's the truth.
 
Upvote
17 (17 / 0)

J.King

Ars Praefectus
4,596
Subscriptor
[url=http:/civis/viewtopic.php?p=31520741#p31520741:ro4x8a8p said:
agrouf[/url]":ro4x8a8p]
99% of wikipedia users don't have an account and those who do are logged off 99% of the time.
And 99% of statistics you pull out of your ass are bullshit. I'm talking facts, here, not conjecture: guessing a URL from transferred bytes is -not- trivial as originally claimed.
 
Upvote
15 (15 / 0)

agrouf

Well-known member
1,531
[url=http:/civis/viewtopic.php?p=31520727#p31520727:23iwmdw7 said:
Cloudgazer[/url]":23iwmdw7]
[url=http:/civis/viewtopic.php?p=31520693#p31520693:23iwmdw7 said:
agrouf[/url]":23iwmdw7]
[url=http:/civis/viewtopic.php?p=31520519#p31520519:23iwmdw7 said:
J.King[/url]":23iwmdw7]
[url=http:/civis/viewtopic.php?p=31520487#p31520487:23iwmdw7 said:
agrouf[/url]":23iwmdw7]
[url=http:/civis/viewtopic.php?p=31520449#p31520449:23iwmdw7 said:
chickensevil[/url]":23iwmdw7]
[url=http:/civis/viewtopic.php?p=31520113#p31520113:23iwmdw7 said:
jeff234[/url]":23iwmdw7]"HTTPS also prevents the kind of censorship that happens at the state or ISP level. For example, Russia wanted to ban a Wikipedia article (about charas hashish), but because Wikipedia is served over HTTPS there's no way to see which page visitors are requesting. Russia was faced with the choice: ban all of Wikipedia or none."

Well the Wiki URLs contain data that could be used for filtering.
https : // en.wikipedia.org/wiki/Charas

The thing with HTTPS is that when you go to a site you don't get anything about it when you intercept the traffic. All you would see is the equivalent of the following:

en.wikipedia.org:443

You don't get any information after the domain. And all the data served up is encrypted. So no, unless they could break the encryption and MITM attack the connection then there is no way to see which wiki you were accessing.
It's trivial to see which page is accessed. One just need to measure the amount if bytes transfered and compare it with wikipedia page sizes, which are public information available to anybody.
Er... No? Bytes transferred will include the header, which may or may not include cookies, and any number of things. Plus the size of the payload itself will depend on cookies, compression, and other factors.

Edit: TLS also makes it opaque whether you're using HTTP/1.1 or HTTP/2, or indeed some completely unrelated protocol e.g. XMPP over port 443. Bytes transferred tells you one thing only : how many bytes were transferred.
As long as you are not logged in, wikipedia doesn't use cookies. Compression is the same everytime as well as HTTP version. Wikipedia doesn't use XMPP at all. I'm not sure what you are talking about. Unless the page has been edited it will always have the same size, encrypted or not.

Until the next edit, which for the kind of contentious topics that a government would like to block is likely to be very frequent.
It's a bot on their servers, they don't have to do it manually.
 
Upvote
-2 (1 / -3)
Simplifying the process of setting up HTTPS means more tools in your toolchain. It makes the individual more dependent on tools built by others. Developer Ben Klemens has an essay about exactly this dependency, writing that if "solving the problem consists of just starting a tool up, my sense of wonder has gone from 'Look what I did' to 'Look what these other people did,' which is time-efficient but not especially fun."
Okay lets apply that logic to anything NOT the Web -- Milk at the grocery store. Buy it or buy a cow and "milk" the cow -- time efficient but not as much fun as playing with a cow's udder ?

<insert any grocery item here>

Cars -- by all means every consumer out ther could easily find some blueprints to build their own car -- go learn te skillsets needed for electrical and mechanics and welding and manufacturing and then spend a decade trying to slap a car together so they could then drive themselves to the store to buy the milk (or cow) above. Oh yeah time-efficient vs "fun" in spending long amounts of time rolling your own.

Sorry but the tech world mostly wants (and sometimes likes) to do things the hard way "for the satisfaction" of it. Granted there is merit in some customization of certain aspects and knowing your customizations are near bullet-proof but ... The rest of the population wants an easy button.
 
Upvote
9 (9 / 0)
[url=http:/civis/viewtopic.php?p=31520665#p31520665:1460jbpe said:
mmiller7[/url]":1460jbpe]
[url=http:/civis/viewtopic.php?p=31520499#p31520499:1460jbpe said:
tpl[/url]":1460jbpe]Maybe Ars should set an example by using HTTPS...and while you are at it how about IPV6.


I am sure you have many reasons, good and bad, not to do so...but maybe it is time even at some effort.
IPv6 is another joke.

I had to turn it off at home because it was causing insane page lag times...like on the order of multiple minutes to load google. As soon as I disabled IPv6 everything got super-snappy fast again. Even going directly to the cable modem it was unusable with IPv6 enabled on my test machine.

My parents are on FiOS and they still only get IPv4...and I can't replace the router because it requires MoCA WAN (something I can only find from VZ) and the wrong one will break the TV service. Also they don't feel like paying $200 to replace a perfectly working one that they got when they subscribed - especially on a whim that it "might" give them another feature (we can't be sure it would do anything).

I'm fairly convinced IPv6 is dead. The only place I have it and it works is on my Verizon smartphone. Everywhere else I've seen it fails miserably.

It is most certainly not dead... they just aren't forcing IPv4 to go away anytime soon. Just as an FYI, it isn't just your smart phone, it is everyone's smart phones... it is also the vast majority of China and maybe some other countries that need IPv6. And this isn't just a "because we wanted to thing", but a full fledged "needed to" thing. There are no more IPv4 addresses to give out. Period. At best one ISP can negotiate and pay large sums of money to another ISP to buy some of their addresses. IPv4 has been on it's last legs for the past 10 years. But like HTTP vs HTTPS, those with their own IPv4 addresses already have basically no incentive to go IPv6 unless they need a new IP address for some purpose. Hence why someone like Google had to go IPv6, because they are constantly standing up new servers and just don't have the space.
 
Upvote
9 (9 / 0)

agrouf

Well-known member
1,531
[url=http:/civis/viewtopic.php?p=31520777#p31520777:3dyqrchj said:
J.King[/url]":3dyqrchj]
[url=http:/civis/viewtopic.php?p=31520741#p31520741:3dyqrchj said:
agrouf[/url]":3dyqrchj]
99% of wikipedia users don't have an account and those who do are logged off 99% of the time.
And 99% of statistics you pull out of your ass are bullshit. I'm talking facts, here, not conjecture: guessing a URL from transferred bytes is -not- trivial as originally claimed.
How many Wikipedia accounts are there and how many unique visitorq are there? It's public information, you can check it.
 
Upvote
-8 (0 / -8)
[url=http:/civis/viewtopic.php?p=31520439#p31520439:2511o56y said:
agrouf[/url]":2511o56y]
[url=http:/civis/viewtopic.php?p=31520403#p31520403:2511o56y said:
groundhog6[/url]":2511o56y]"In short, HTTPS offers three things: secrecy, integrity, and authenticity."

UNLESS you are on a corporate network where they use a man in the middle security appliance (which almost everyone does) so they can watch what you do in which case you get NONE of those.
Or a parent monitoring children Internet usage. If you can't monitor they are often less safe.

I've considered building and selling home firewalls with an installer suite to get the whole MITM HTTPS inspection thing in place easily for parents. Throw in some light IDS / IPS , URL filtering, some kind of "monitoring cloud" and a few other "big boy firewall" features...
 
Upvote
0 (1 / -1)

till213

Ars Scholae Palatinae
1,185
[url=http:/civis/viewtopic.php?p=31520759#p31520759:6a1m859w said:
Marl0[/url]":6a1m859w]
[url=http:/civis/viewtopic.php?p=31520543#p31520543:6a1m859w said:
till213[/url]":6a1m859w]
[url=http:/civis/viewtopic.php?p=31520075#p31520075:6a1m859w said:
Sasparilla[/url]":6a1m859w]This article was reminding me of the Snowden documents that basically said the govts and their 3 letter agencies had no issues breaking https:

http://news.softpedia.com/news/encrypti ... 4736.shtml

Anybody know if this has been "fixed" with the standard in the mean time?

Disclaimer: I haven't checked the URL you gave.

"HTTPS" per se is not encryption. So saying that "Three Letter Agencies have broken HTTPS" (with regards to its encryption which - of course - goes along with it) is a bit too simplistic ;)

Simply said, HTTPS is "what AVI or QuickTime are to video codecs" (if you're more into the topic you may bash me now). HTTPS is a protocol which defines "Who sais what first and then what next" etc. (and AVI/QT are "Containers" which simply contain one or more "encoded streams", for completeness sake).

(Actually the SSL/TLS part of "HTTPS" does all the "hand-shaking", but lets keep it simple.)

Part of that protocol is "negotiating" a) session key (via "Diffie Hellman" or RSA) and b) the actual encryption algorithm to be used (AES, ...) and its key length.

There are several attack vectors for both a) and b) which don't "crack" the actual encryption or session key exchange per se, but nevertheless allow to "man in the middle"-ing the "conversation".

The most simple way to attacking HTTPS is to simply - somehow - install a so-called "root certificate" on the victims machine. Do you know how many such CAs are currently installed on your virgin Mac/Windows OS installation? Do you know how many in addition Firefox/Chrome etc. bring on their own? Do you trust them? Do you know where to look them up in your system? Do you even know what a "certificate" is?

You might know... but fact is like 99% of the Internet users don't (at least not their full meaning).

So once the Man In the Middle has installed such a CA (which might even come pre-installed with the OS and/or browser) all that person needs to do is having you connect to a Proxy (which is the case in almost all business controlled networks, by the way - so this is not just theory).

What's a Proxy? A server "in the middle" over which all your web requests go. So when you enter https://www.foo.com in your browser that request goes first to the Proxy server (check your browser settings - or you can configure "Proxies" even system-wide - if you're in a public Wi-Fi it is quite likely that all your traffic goes across a proxy).

Mind you: a "Proxy" per se is "not bad"! There's a reason most "internet capable applications" (or on an OS level) provide means to set such a "Proxy" server (for each protocol). A proxy "caches" data, so when many people surf on the same web site that data can be "cached" and delivered directly to the client (browser) - without asking the original web site (sloooow!).

And of course proxies "nowadays" also filter internet traffic etc. etc.

And now we get to the "interesting" Man in the Middle parts: such a proxy can now present you with a Server (proxy) Certificate of its own - just like https://www.foo.com would. If that Server Certificate is trusted by you - means: if you have any root certificate installed on your computer that originally signed that Server Certificate - you won't notice immediately: your browser will tell you that the connection is "secure" and the Server Certificate is valid!

Wait a minute... yes, the connection between your client (web browser, ...) and the PROXY is secure! No one else can read what is transmitted! Except of course the PROXY itself, as the session key was negotiated between you and the PROXY.

So what does the Proxy do with the data? It simply re-negotiates a session key - a different one - with https://www.foo.com, decrypts YOUR data and re-encrypts the data on that "link" with the new session key. Then it gets the data back from foo.com, decrypts it again and re-encrypts it with YOUR session key.

So what happens between that de-/encryption operations on the PROXY? Go figure - or ask the owner of the PROXY ;) (-> "Man in the Middle").

Fact is: the PROXY is able to read every single bit that was transferred between YOU and foo.com. Was encryption broken? Clearly NO! The "links" from YOU to the PROXY and the PROXY to foo.com where both "secure".

Could you have noticed? Of course! You could have checked the server (aka "Proxy") certificate presented to you ("Do you know how?") and realised that it actually "does not belong to foo.com". Even though your browser TRUSTS that certificate and did not complain about anything! (*)

Means: YOU trust that certificate, by the very fact that you HAVE to TRUST the ROOT CERTIFICATES which are installed on your OS/Browser!

Again the question: are you - as an Internet user - aware of the importance of those root certificates? Do you know what a Certificate Authority (CA) is? Are you aware that if just a single CA worldwide (which managed to get its root certificate installed by default in the common browsers/OSes) is "evil" that the whole "HTTPS system" breaks down?

Or more provocative: do you really trust all those worldwide CAs e.g. in your Firefox?

https://wiki.mozilla.org/CA:IncludedCAs
https://hg.mozilla.org/mozilla-central/ ... rtdata.txt

Well this is a rhetorical question - just to illustrate the problem at hand here. And by no means do I want to imply that any current CA in the above lists (nor anywhere else) is "evil".

But this is NOT a theoretical problem. It already happened(tm), either knowingly or unknowingly by the acutal CA. Just as an example read up on https://en.wikipedia.org/wiki/DigiNotar.



Another simple attack vector - which requires to mess around with your client/computer - is to manipulate your client such that it only sends a "list of supported encryption algorithms" which are known to be weak. As mentioned in b) the SSL/TLS protocol negotiates the encryption algorithm to be used - which is usually the "strongest algorithm of the common set of supported algorithms". And if the "set of supported algorithms by the client" consists only of "weak algorithms", then it's easy (or relatively easy, as in "doable") to "crack" those weak algorithms (also a reason why it is important that servers and browsers remove those algorithms from their "supported list" altogether).


So to answer your question: "Yes, HTTPS is secure" ("secure" as defined in the article above), but only "if done right". Most importantly: the encryption itself, as applied today, is still assumed to be "strong".

But as you saw it is relatively easy to "man in the middle" people (which usually CAN be detected, by checking the actual server certificate! The attacker might also need to change your system settings by making you install his/her custom root certificate) or "downgrade attacks" (which also require messing around on your system).






(*) This part I am not so sure about: it might be that you have to "tweak" the system settings a bit in order for the browser not to complain that the received Server Certificate domain does not actually correspond to the URL you have just typed in. But fact is that this can be done - and is done. The company network at work does exactly that (so yes, I am aware that my company can read every single bit of my HTTPS traffic).


PROXY = MITM on your above explanation reminds me of the tricks being done by almost ALL anti-virus products. Because this is exactly what those antivirus providers are doing.

All HTTPS transactions are being pwnd by the antivirus software on your system. Be it Avast, Kaspersky, AVG, ESET, Symantec, McAfee, etc. All these products are doing HTTPS inspection, just so they can scan the line in case you've downloaded malwares from an HTTPS site. But this security "feature" breaks all HTTPS implementation.

Not just anti-virus software: your shiny new computer might come with certain MITM capabilities out of the box.

I am not sure anymore whether it was Lenovo or some other vendor, but they basically do exactly what you described: installing their own root certificates on the machine in order to intercept traffic "for your security".

Lenovo at least "revoked" their own software:

E.g. here: https://support.lenovo.com/ch/en/produc ... y/len_6718

And in general:

http:/security/2016/06 ... f-the-box/

(The above vulnerabilities are not just related to TLS and root certificates - but I have at least one case in mind where a vendor pre-installed their own root certificate in the system).


UPDATE: Yep, another google search came up with:

http:/security/2015/02 ... nnections/

Quote:

"The critical threat is present on Lenovo PCs that have adware from a company called Superfish installed. As unsavory as many people find software that injects ads into Web pages, there's something much more nefarious about the Superfish package. It installs a self-signed root HTTPS certificate that can intercept encrypted traffic for every website a user visits. When a user visits an HTTPS site, the site certificate is signed and controlled by Superfish and falsely represents itself as the official website certificate."


So I have to take back the "all for your security" part: the sole reason Lenovo did this was to "inject ads" into your HTTPS "secured" connection... ouch! ;)

But just if you thought the "marketing department of some company" could not fuck this up any more, here come's the real implication (in that case):

"Even worse, the private encryption key accompanying the Superfish-signed Transport Layer Security certificate appears to be the same for every Lenovo machine. Attackers may be able to use the key to certify imposter HTTPS websites that masquerade as Bank of America, Google, or any other secure destination on the Internet. Under such a scenario, PCs that have the Superfish root certificate installed will fail to flag the sites as forgeries—a failure that completely undermines the reason HTTPS protections exist in the first place."

*bang!*

;)
 
Upvote
5 (5 / 0)

J.King

Ars Praefectus
4,596
Subscriptor
[url=http:/civis/viewtopic.php?p=31520809#p31520809:1p9pkxxa said:
agrouf[/url]":1p9pkxxa]
[url=http:/civis/viewtopic.php?p=31520777#p31520777:1p9pkxxa said:
J.King[/url]":1p9pkxxa]
[url=http:/civis/viewtopic.php?p=31520741#p31520741:1p9pkxxa said:
agrouf[/url]":1p9pkxxa]
99% of wikipedia users don't have an account and those who do are logged off 99% of the time.
And 99% of statistics you pull out of your ass are bullshit. I'm talking facts, here, not conjecture: guessing a URL from transferred bytes is -not- trivial as originally claimed.
How many Wikipedia accounts are there and how many unique visitorq are there? It's public information, you can check it.
I will state this for clarity one last time: the number of bytes transferred is not a reliable indicator of which URL a user agent has just requested. The number of variables are large and impossible to account for because the transmission is completely opaque. It can't work. If you think it can, why don't you implement it yourself and see how "trivial" it is?
 
Upvote
13 (13 / 0)
[url=http:/civis/viewtopic.php?p=31520791#p31520791:2bbhxbw4 said:
fryhole[/url]":2bbhxbw4]
Simplifying the process of setting up HTTPS means more tools in your toolchain. It makes the individual more dependent on tools built by others. Developer Ben Klemens has an essay about exactly this dependency, writing that if "solving the problem consists of just starting a tool up, my sense of wonder has gone from 'Look what I did' to 'Look what these other people did,' which is time-efficient but not especially fun."
Okay lets apply that logic to anything NOT the Web -- Milk at the grocery store. Buy it or buy a cow and "milk" the cow -- time efficient but not as much fun as playing with a cow's udder ?

<insert any grocery item here>

Cars -- by all means every consumer out ther could easily find some blueprints to build their own car -- go learn te skillsets needed for electrical and mechanics and welding and manufacturing and then spend a decade trying to slap a car together so they could then drive themselves to the store to buy the milk (or cow) above. Oh yeah time-efficient vs "fun" in spending long amounts of time rolling your own.

Sorry but the tech world mostly wants (and sometimes likes) to do things the hard way "for the satisfaction" of it. Granted there is merit in some customization of certain aspects and knowing your customizations are near bullet-proof but ... The rest of the population wants an easy button.

Nevermind that all programmers/coders are inherently lazy... You aren't likely a good coder unless you are lazy. This is because your coding skills come from the fact that you are lazy and would rather spend 5 minutes writing a program to do a task than take 2 hours manually doing said task.

This leads to other things, like... instead of taking 5 minutes to write said program, I will take 1 minute googling for someone else who has already written this program for me... because, I'm too lazy to actually write the code myself.

So even those in the tech world would rather have the easy button, unless you are either A: doing the whole thing by scratch for some abnormal purpose (learning it, needing to do it for some class or project, etc) B: that rare weird coder that actually somehow *likes* doing everything the hard way... they do exist, but I would argue are not the norm.

So to extend your comment, the majority of the tech world wants an easy button as does the rest of the population. It is the select few who actually *wants* to do something the hard way for that "sense of accomplishment".
 
Upvote
4 (5 / -1)

LieutenantLefse

Ars Scholae Palatinae
1,178
Subscriptor++
This article should include a bit about how HTTPS does note even really secure your connection unless you personally vet the list of trusted CAs. Otherwise, your company, ISP, govt., etc. can still perform a MITM attack. Given the extensive list of CAs trusted by default in Chrome and Firefox, some of them explicitly governmental, a 'secure' indication by your browser does not actually mean 'secure'.

For the "company" case, I understand how a corporate-controlled browser or PC can be configured with certificates and proxy settings to use some MITM appliance. For the "ISP, govt, etc" case, can someone point me to a good technical explanation of how a nefarious CA would go about decrypting an SSL session? I'm honestly curious.
 
Upvote
2 (2 / 0)
[url=http:/civis/viewtopic.php?p=31520499#p31520499:3cupqedp said:
tpl[/url]":3cupqedp]Maybe Ars should set an example by using HTTPS...and while you are at it how about IPV6.


I am sure you have many reasons, good and bad, not to do so...but maybe it is time even at some effort.

Even Engadget is https now...
 
Upvote
7 (7 / 0)
[url=http:/civis/viewtopic.php?p=31520789#p31520789:322vij7t said:
agrouf[/url]":322vij7t]
It's a bot on their servers, they don't have to do it manually.

Problem solved - wiki can block the bot, it will be easy to spot since it is apparently spamming every single wikimedia article frequently enough to catch every edit in real time :)
 
Upvote
1 (2 / -1)

agrouf

Well-known member
1,531
[url=http:/civis/viewtopic.php?p=31520775#p31520775:3dstk1ah said:
pkmnfrk[/url]":3dstk1ah]Everyone who is saying "Not everything needs HTTPS" is kind of missing the point. ANY plain HTTP page you visit can be recorded, intercepted and modified.

Let's suppose you are a governmental agency who wants to deploy mass surveillance via malware. All you need to do is intercept all HTTP connections, and inject the malware everywhere. Even if you say "1 in a 1000 requests get it", every time someone visits a single blog or whatever that's not using HTTPS, they are rolling the dice.

It's shitty, but it's the truth.
The point is that lost people don't care if they are monitored when they read gossip or see cat videos. They do care when reading political or controvertial stuff. Why encrypt cat videos? The adverts are there anyway. Http brings some advantages like caching. Using https you give up some advantages but it's well worth it in many cases but not all cases. That's the point.
 
Upvote
-6 (0 / -6)

agrouf

Well-known member
1,531
[url=http:/civis/viewtopic.php?p=31520859#p31520859:1ggr8tly said:
J.King[/url]":1ggr8tly]
[url=http:/civis/viewtopic.php?p=31520809#p31520809:1ggr8tly said:
agrouf[/url]":1ggr8tly]
[url=http:/civis/viewtopic.php?p=31520777#p31520777:1ggr8tly said:
J.King[/url]":1ggr8tly]
[url=http:/civis/viewtopic.php?p=31520741#p31520741:1ggr8tly said:
agrouf[/url]":1ggr8tly]
99% of wikipedia users don't have an account and those who do are logged off 99% of the time.
And 99% of statistics you pull out of your ass are bullshit. I'm talking facts, here, not conjecture: guessing a URL from transferred bytes is -not- trivial as originally claimed.
How many Wikipedia accounts are there and how many unique visitorq are there? It's public information, you can check it.
I will state this for clarity one last time: the number of bytes transferred is not a reliable indicator of which URL a user agent has just requested. The number of variables are large and impossible to account for because the transmission is completely opaque. It can't work. If you think it can, why don't you implement it yourself and see how "trivial" it is?
It does work actually. You should not think https is magic.
 
Upvote
-14 (0 / -14)

J.King

Ars Praefectus
4,596
Subscriptor
[url=http:/civis/viewtopic.php?p=31520955#p31520955:4f67vifd said:
agrouf[/url]":4f67vifd]
[url=http:/civis/viewtopic.php?p=31520775#p31520775:4f67vifd said:
pkmnfrk[/url]":4f67vifd]Everyone who is saying "Not everything needs HTTPS" is kind of missing the point. ANY plain HTTP page you visit can be recorded, intercepted and modified.

Let's suppose you are a governmental agency who wants to deploy mass surveillance via malware. All you need to do is intercept all HTTP connections, and inject the malware everywhere. Even if you say "1 in a 1000 requests get it", every time someone visits a single blog or whatever that's not using HTTPS, they are rolling the dice.

It's shitty, but it's the truth.
The point is that lost people don't care if they are monitored when they read gossip or see cat videos. They do care when reading political or controvertial stuff. Why encrypt cat videos? The adverts are there anyway. Http brings some advantages like caching. Using https you give up some advantages but it's well worth it in many cases but not all cases. That's the point.
Because a site with a cat video can be a vector for an attack on your machine just as much as a political site. Think criminals, not just governments. Think of people trying to use you as a convenient weapon against someone else, not just attacking you specifically.
 
Upvote
9 (9 / 0)

giobox

Seniorius Lurkius
15
[url=http:/civis/viewtopic.php?p=31520665#p31520665:r8r2ao1y said:
mmiller7[/url]":r8r2ao1y]
IPv6 is another joke...

I'm fairly convinced IPv6 is dead. The only place I have it and it works is on my Verizon smartphone. Everywhere else I've seen it fails miserably.

What a load of nonsense. IPv6 is far from dead:
https://www.google.com/intl/en/ipv6/statistics.html

The curve on this graph sure doesn't look like a dying technology to me. Not to mention the approximately 4.3 billion reasons why IPv4 is dead in the long run thanks to address exhaustion...
 
Upvote
11 (11 / 0)

agrouf

Well-known member
1,531
[url=http:/civis/viewtopic.php?p=31520939#p31520939:2bwlbbd1 said:
Cloudgazer[/url]":2bwlbbd1]
[url=http:/civis/viewtopic.php?p=31520789#p31520789:2bwlbbd1 said:
agrouf[/url]":2bwlbbd1]
It's a bot on their servers, they don't have to do it manually.

Problem solved - wiki can block the bot, it will be easy to spot since it is apparently spamming every single wikimedia article frequently enough to catch every edit in real time :)
Well it will spam a single page or a few pages and it can do it with random timing, using several different IP addresses.
 
Upvote
-6 (0 / -6)
[url=http:/civis/viewtopic.php?p=31520991#p31520991:3cqmcyr6 said:
agrouf[/url]":3cqmcyr6]
[url=http:/civis/viewtopic.php?p=31520939#p31520939:3cqmcyr6 said:
Cloudgazer[/url]":3cqmcyr6]
[url=http:/civis/viewtopic.php?p=31520789#p31520789:3cqmcyr6 said:
agrouf[/url]":3cqmcyr6]
It's a bot on their servers, they don't have to do it manually.

Problem solved - wiki can block the bot, it will be easy to spot since it is apparently spamming every single wikimedia article frequently enough to catch every edit in real time :)
Well it will spam a single page or a few pages and it can do it with random timing, using several different IP addresses.

Offer your services to the Russians! Be warned, when it doesn't work they may possibly choose to terminate your contract with extreme prejudice. Nothing says 'You're fired' like polonium.
 
Upvote
6 (6 / 0)

vnicolici

Ars Scholae Palatinae
754
[url=http:/civis/viewtopic.php?p=31520693#p31520693:n1v3vdwf said:
agrouf[/url]":n1v3vdwf]
[url=http:/civis/viewtopic.php?p=31520519#p31520519:n1v3vdwf said:
J.King[/url]":n1v3vdwf]
[url=http:/civis/viewtopic.php?p=31520487#p31520487:n1v3vdwf said:
agrouf[/url]":n1v3vdwf]
[url=http:/civis/viewtopic.php?p=31520449#p31520449:n1v3vdwf said:
chickensevil[/url]":n1v3vdwf]
[url=http:/civis/viewtopic.php?p=31520113#p31520113:n1v3vdwf said:
jeff234[/url]":n1v3vdwf]"HTTPS also prevents the kind of censorship that happens at the state or ISP level. For example, Russia wanted to ban a Wikipedia article (about charas hashish), but because Wikipedia is served over HTTPS there's no way to see which page visitors are requesting. Russia was faced with the choice: ban all of Wikipedia or none."

Well the Wiki URLs contain data that could be used for filtering.
https : // en.wikipedia.org/wiki/Charas

The thing with HTTPS is that when you go to a site you don't get anything about it when you intercept the traffic. All you would see is the equivalent of the following:

en.wikipedia.org:443

You don't get any information after the domain. And all the data served up is encrypted. So no, unless they could break the encryption and MITM attack the connection then there is no way to see which wiki you were accessing.
It's trivial to see which page is accessed. One just need to measure the amount if bytes transfered and compare it with wikipedia page sizes, which are public information available to anybody.
Er... No? Bytes transferred will include the header, which may or may not include cookies, and any number of things. Plus the size of the payload itself will depend on cookies, compression, and other factors.

Edit: TLS also makes it opaque whether you're using HTTP/1.1 or HTTP/2, or indeed some completely unrelated protocol e.g. XMPP over port 443. Bytes transferred tells you one thing only : how many bytes were transferred.
As long as you are not logged in, wikipedia doesn't use cookies. Compression is the same everytime as well as HTTP version. Wikipedia doesn't use XMPP at all. I'm not sure what you are talking about. Unless the page has been edited it will always have the same size, encrypted or not.

Most browsers use persistent connections when accessing a site, making that measurement even harder, because you can download multiple pages and resources on one connection. And at each visit the size can also differ because some resources like JavaScript and CSS are cached between requests.

While it's not completely impossible to infer what the user accessed based on communication size, it's anything but trivial, especially for a large site with many pages and resources.

The average article size on Wikipedia is under 5kb. There are 40 million pages on Wikipedia. This means there would be thousands of pages sharing the same particular size, so it would be completely impractical to deduce anything based on size even assuming you could measure it perfectly
 
Upvote
10 (10 / 0)
Status
Not open for further replies.