Some advocates present HTTPS as synonymous with "security"—but this is <em>not</em> semantics.
Read the whole story
Read the whole story
Yeah, I don't trust them so I don't conduct any personal anything using their systems, not at work, not at home, not on the road. It just doesn't happen.[url=http:/civis/viewtopic.php?p=31522135#p31522135:2h3w08dh said:scottwsx96[/url]":2h3w08dh]This is only true if packet capture is enabled. Otherwise the actual packet data (which is where usernames, passwords, account, and SSN numbers would be) isn't logged.[url=http:/civis/viewtopic.php?p=31521903#p31521903:2h3w08dh said:groundhog6[/url]":2h3w08dh]Unfortunately that proxy log file leaves you exposed and vulnerable as if you went to your bank, broker, or IRS and logged in without HTTPS. username, password, account and SSN numbers all for the taking, all the while you thought you were secured.[url=http:/civis/viewtopic.php?p=31520651#p31520651:2h3w08dh said:till213[/url]":2h3w08dh][url=http:/civis/viewtopic.php?p=31520403#p31520403:2h3w08dh said:groundhog6[/url]":2h3w08dh]"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.).
Of course you trust your company to protect your private information BUT I DON'T!
Also consider that most SSL/TLS forward proxy administrators try to exclude bank, doctor and other health-related, IRS, and shopping sites from being decrypted. Typically, they are just trying to enforce corporate policy, block malicious attacks and malware, and protect the organization's data. They aren't trying to spy on their employees and steal their personal information. That said, every organization is different and you should consult your organization's policies.
Frankly, most of the guidance IT/InfoSec gets from legal counsel these days is to have something along the lines of, "There is no expectation of privacy in any information or activity conducted, sent, performed, or viewed on or with Company equipment or Internet access" in the computer/acceptable use policies that employees are required to sign off on. My advice would be to conduct sensitive personal business on your own time on your own equipment and your own network. Your employer probably isn't paying you to conduct personal banking in any case.
Am I hopelessly outdated, or is no-one mentioning the fact that you need an IP address for every domain that wants to do HTTPS? This would be fine if we were in an all ipv6 world, but we're not. I don't think there are enough available ipv4 addresses to provide one for every existing site. That's why named virtual hosting was invented.
"Anyone who has put in the effort to get HTTPS working on even one site knows that it can be a tremendous hassle."
Ahem,
1. Point domain to ip of server
2. Wait till dns change has propagated --> https://dnschecker.org
HTTP/2 complicates things in that, while objects are still stateless, it can introduce a per connection state so that, for example, if the headers don't vary they're only sent once no matter how many objects are sent. It also can make use of compression to a greater extent then was possible with http.[url=http:/civis/viewtopic.php?p=31521907#p31521907:1nmocodj said:agrouf[/url]":1nmocodj]https is stateless, just like http. It means one session per object (css, javascript or html)[url=http:/civis/viewtopic.php?p=31521047#p31521047:1nmocodj said:vnicolici[/url]":1nmocodj]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
That's why web sites use cookies.
https://www.xkcd.com/869/
[url=http:/civis/viewtopic.php?p=31522253#p31522253:q5wul2jv said:agrouf[/url]":q5wul2jv]I get your point but that's like saying not using TOR is bad. TOR makes your sensitive data more secure but has a negative impact on network performance. It's the same with https vs http. http allows caching and is convenient. https is more secure at a cost.[url=http:/civis/viewtopic.php?p=31522177#p31522177:q5wul2jv said:parst181[/url]":q5wul2jv]In addition to the many stated reasons for why HTTP connections are generally bad, there is also the basic fact that being selective about what you encrypt reveals information about what is sensitive and what is not. Encrypting everything does not. Not to mention that trying to be selective about encryption is what leads to things like session hijacking via Firesheep and the like.
The main significant cost is giving up caching as well as other legitimate MITM uses.[url=http:/civis/viewtopic.php?p=31522755#p31522755:17ao5y7f said:flash2010[/url]":17ao5y7f][url=http:/civis/viewtopic.php?p=31522253#p31522253:17ao5y7f said:agrouf[/url]":17ao5y7f]I get your point but that's like saying not using TOR is bad. TOR makes your sensitive data more secure but has a negative impact on network performance. It's the same with https vs http. http allows caching and is convenient. https is more secure at a cost.[url=http:/civis/viewtopic.php?p=31522177#p31522177:17ao5y7f said:parst181[/url]":17ao5y7f]In addition to the many stated reasons for why HTTP connections are generally bad, there is also the basic fact that being selective about what you encrypt reveals information about what is sensitive and what is not. Encrypting everything does not. Not to mention that trying to be selective about encryption is what leads to things like session hijacking via Firesheep and the like.
That is a silly comparison. There are several orders of magnitude difference in the performance cost of using TOR vs. the performance cost of using SSL. The cost of SSL on modern hardware will almost always be insignificant (I have done extensive load testing on it as part of my job).
The main significant cost of SSL is in the session establishment...and that issue was solved for HTTP with HTTP 1.1 and connection reuse...which came out in 1999 (RFC 2616).
If you have a "legitimate" MITM use, then be transparent about it and provide your own certificate so it's clear to the user. It's entirely possible with HTTPS, you just can't do it without alerting the client.The main significant cost is giving up caching as well as other legitimate MITM uses.[url=http:/civis/viewtopic.php?p=31522755#p31522755:2jxenxob said:flash2010[/url]":2jxenxob][url=http:/civis/viewtopic.php?p=31522253#p31522253:2jxenxob said:agrouf[/url]":2jxenxob]I get your point but that's like saying not using TOR is bad. TOR makes your sensitive data more secure but has a negative impact on network performance. It's the same with https vs http. http allows caching and is convenient. https is more secure at a cost.[url=http:/civis/viewtopic.php?p=31522177#p31522177:2jxenxob said:parst181[/url]":2jxenxob]In addition to the many stated reasons for why HTTP connections are generally bad, there is also the basic fact that being selective about what you encrypt reveals information about what is sensitive and what is not. Encrypting everything does not. Not to mention that trying to be selective about encryption is what leads to things like session hijacking via Firesheep and the like.
That is a silly comparison. There are several orders of magnitude difference in the performance cost of using TOR vs. the performance cost of using SSL. The cost of SSL on modern hardware will almost always be insignificant (I have done extensive load testing on it as part of my job).
The main significant cost of SSL is in the session establishment...and that issue was solved for HTTP with HTTP 1.1 and connection reuse...which came out in 1999 (RFC 2616).
That's because HTTPS was never designed to benefit website operators. Site operators can channel all their traffic through a VPN or SSH tunnel, which is far more secure.What's less immediately obvious is why every site on the Web can benefit from HTTPS.
[url=http:/civis/viewtopic.php?p=31521907#p31521907:31jk88zz said:agrouf[/url]":31jk88zz]https is stateless, just like http. It means one session per object (css, javascript or html)[url=http:/civis/viewtopic.php?p=31521047#p31521047:31jk88zz said:vnicolici[/url]":31jk88zz][url=http:/civis/viewtopic.php?p=31520693#p31520693:31jk88zz said:agrouf[/url]":31jk88zz]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.[url=http:/civis/viewtopic.php?p=31520519#p31520519:31jk88zz said:J.King[/url]":31jk88zz]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.[url=http:/civis/viewtopic.php?p=31520487#p31520487:31jk88zz said:agrouf[/url]":31jk88zz]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.[url=http:/civis/viewtopic.php?p=31520449#p31520449:31jk88zz said:chickensevil[/url]":31jk88zz]
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.
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.
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
That's why web sites use cookies.
https://www.xkcd.com/869/
I'm honestly not sure whether to upvote you for the detailed, technical post of great helpful karma - or downvote you for completely and utterly missing the point (and proving it at the same time)... So I'll just abstain.[url=http:/civis/viewtopic.php?p=31521619#p31521619:3skxxfw3 said:aufdenschlips[/url]":3skxxfw3]"Anyone who has put in the effort to get HTTPS working on even one site knows that it can be a tremendous hassle."
Ahem,
<detailed explanation snipped>
The vast majority of web hosts have not implemented anything even remotely that streamlined, and even a streamlined process for certificate issuing, updating and revoking is prone to breakage at even the slightest hiccup - after all the entire point is to refuse certificates/connections if there are any issues.[url=http:/civis/viewtopic.php?p=31522547#p31522547:3skxxfw3 said:adamsc[/url]":3skxxfw3]"Anyone who has put in the effort to get HTTPS working on even one site knows that it can be a tremendous hassle."
Ahem,
1. Point domain to ip of server
2. Wait till dns change has propagated --> https://dnschecker.org
Thanks for posting that. Just to compare the other side, for the many small sites which aren't even running their own servers, it probably looks like this:
![]()
![]()
HTTPS isn't trivial, it certainly had more problems in the past, yes, but it's 2016 and most of those problems have either been solved or significantly streamlined. Let's Encrypt, Cloud Flare, and the Amazon Certificate Service have changed the game on pricing, SNI made dedicated IPs unnecessary, most servers have hardware-accelerated crypto now, etc. It's really odd to see people talking as if these are huge show-stoppers after years have been spent on improvements.
Unfortunately, it's not really possible to check that externally.I want to seen an Happy face when my username and password are properly stored with a proper hash algorithm like a slow one and salted.
If your choices are HTTP or nothing, then requiring HTTPS means you have already lost.[url=http:/civis/viewtopic.php?p=31520267#p31520267:3f0j23k8 said:viscious+ars2[/url]":3f0j23k8][url=http:/civis/viewtopic.php?p=31520191#p31520191:3f0j23k8 said:Ajedi32[/url]":3f0j23k8][url=http:/civis/viewtopic.php?p=31520151#p31520151:3f0j23k8 said:viscious+ars2[/url]":3f0j23k8][url=http:/civis/viewtopic.php?p=31520073#p31520073:3f0j23k8 said:willdude[/url]":3f0j23k8]Wouldn't the simplest fix for broken http links be for a server that's enabling https to use some form of url-rewriting to forward http requests to https?
Can't have a server redirect someone that hasn't even established a connection.
Currently there just isn't a thing that does what you are asking for.
New tech is being developed (and mentioned in this article) to do things similar though.
Yes you can. 301 redirect. It's literally 5-10 lines in most web server configs.
Sure that means you still have to serve *something* over HTTP (the redirect), and yes that means you're still vulnerable to SSL stripping, but you can remedy that somewhat with 1-2 more lines in your config to add a HSTS header to your HTTP responses.
No No.
No.
If you unencryptedly redirect from http://example.com/I-am-gay-in-a-countr ... steps.html to the https version. Then you have already lost.
[url=http:/civis/viewtopic.php?p=31520889#p31520889:1xb8zwhm said:chickensevil[/url]":1xb8zwhm][url=http:/civis/viewtopic.php?p=31520791#p31520791:1xb8zwhm said:fryhole[/url]":1xb8zwhm]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 ?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."
<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".
I usually only do that if it's a task I'll have to do more than once...in the long run, it pays off[url=http:/civis/viewtopic.php?p=31520889#p31520889:9gzkx504 said:chickensevil[/url]":9gzkx504][url=http:/civis/viewtopic.php?p=31520791#p31520791:9gzkx504 said:fryhole[/url]":9gzkx504]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 ?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."
<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".
Usually for me it's the other way round, I spend an hour writing code instead of spending 10 minutes completing the task :/
The vast majority of web hosts have not implemented anything even remotely that streamlined, and even a streamlined process for certificate issuing, updating and revoking is prone to breakage at even the slightest hiccup - after all the entire point is to refuse certificates/connections if there are any issues.[url=http:/civis/viewtopic.php?p=31522547#p31522547:351h9t75 said:adamsc[/url]":351h9t75]"Anyone who has put in the effort to get HTTPS working on even one site knows that it can be a tremendous hassle."
Ahem,
1. Point domain to ip of server
2. Wait till dns change has propagated --> https://dnschecker.org
Thanks for posting that. Just to compare the other side, for the many small sites which aren't even running their own servers, it probably looks like this:
![]()
![]()
[url=http:/civis/viewtopic.php?p=31523233#p31523233:1xp407lu said:Fritzr[/url]":1xp407lu]If your choices are HTTP or nothing, then requiring HTTPS means you have already lost.[url=http:/civis/viewtopic.php?p=31520267#p31520267:1xp407lu said:viscious+ars2[/url]":1xp407lu][url=http:/civis/viewtopic.php?p=31520191#p31520191:1xp407lu said:Ajedi32[/url]":1xp407lu][url=http:/civis/viewtopic.php?p=31520151#p31520151:1xp407lu said:viscious+ars2[/url]":1xp407lu][url=http:/civis/viewtopic.php?p=31520073#p31520073:1xp407lu said:willdude[/url]":1xp407lu]Wouldn't the simplest fix for broken http links be for a server that's enabling https to use some form of url-rewriting to forward http requests to https?
Can't have a server redirect someone that hasn't even established a connection.
Currently there just isn't a thing that does what you are asking for.
New tech is being developed (and mentioned in this article) to do things similar though.
Yes you can. 301 redirect. It's literally 5-10 lines in most web server configs.
Sure that means you still have to serve *something* over HTTP (the redirect), and yes that means you're still vulnerable to SSL stripping, but you can remedy that somewhat with 1-2 more lines in your config to add a HSTS header to your HTTP responses.
No No.
No.
If you unencryptedly redirect from http://example.com/I-am-gay-in-a-countr ... steps.html to the https version. Then you have already lost.
When the remote server is HTTP only, then the connection is either HTTP all the way or HTTPS to a relay server that uses HTTP to connect to the HTTP only site.
For sites that do want secure connections, it is their responsibility to enable HTTPS. Not everyone will do this, with real life examples already given in the article.
While the link between the HTTP site and the relay server is vulnerable, the HTTPS link between the user and relay is a secured connection. Less secure than HTTPS the whole way, but with a relay server outside the country-that-executes-homosexuals, you do benefit from concealment on the HTTPS leg of the connection.
Relay servers that bridge the two protocols do not prevent attacks, but they do mitigate some of the risk.
An in-house relay server gives much of the protection without the need to modify archived sites, so for example the NYT archives could be accessed through an NYT relay server that provides their only connection to the internet. The old archives are not modified, instead they are assigned a new "ISP" connection...the relay server.
This is pretty much the way things are configured now. Networks use gateways when connecting to outside resources. The gateway handles the translation of external protocol to/from internal protocol. Adding [external]HTTPS<->[internal]HTTP relay server to the list of jobs performed by the corporate gateway would be a relatively minor change, assuming it is not already being done.
Sure. But the alternative is you can never upgrade an HTTP site (you can't update the links on someone else's site afterall). Unless you know of a better way to handle the transition, it's the lesser of two evils.[url=http:/civis/viewtopic.php?p=31523233#p31523233:2a39959s said:Fritzr[/url]":2a39959s]If your choices are HTTP or nothing, then requiring HTTPS means you have already lost.[url=http:/civis/viewtopic.php?p=31520267#p31520267:2a39959s said:viscious+ars2[/url]":2a39959s][url=http:/civis/viewtopic.php?p=31520191#p31520191:2a39959s said:Ajedi32[/url]":2a39959s][url=http:/civis/viewtopic.php?p=31520151#p31520151:2a39959s said:viscious+ars2[/url]":2a39959s][url=http:/civis/viewtopic.php?p=31520073#p31520073:2a39959s said:willdude[/url]":2a39959s]Wouldn't the simplest fix for broken http links be for a server that's enabling https to use some form of url-rewriting to forward http requests to https?
Can't have a server redirect someone that hasn't even established a connection.
Currently there just isn't a thing that does what you are asking for.
New tech is being developed (and mentioned in this article) to do things similar though.
Yes you can. 301 redirect. It's literally 5-10 lines in most web server configs.
Sure that means you still have to serve *something* over HTTP (the redirect), and yes that means you're still vulnerable to SSL stripping, but you can remedy that somewhat with 1-2 more lines in your config to add a HSTS header to your HTTP responses.
No No.
No.
If you unencryptedly redirect from http://example.com/I-am-gay-in-a-countr ... steps.html to the https version. Then you have already lost.
When the remote server is HTTP only, then the connection is either HTTP all the way or HTTPS to a relay server that uses HTTP to connect to the HTTP only site.
For sites that do want secure connections, it is their responsibility to enable HTTPS. Not everyone will do this, with real life examples already given in the article.
While the link between the HTTP site and the relay server is vulnerable, the HTTPS link between the user and relay is a secured connection. Less secure than HTTPS the whole way, but with a relay server outside the country-that-executes-homosexuals, you do benefit from concealment on the HTTPS leg of the connection.
Relay servers that bridge the two protocols do not prevent attacks, but they do mitigate some of the risk.
An in-house relay server gives much of the protection without the need to modify archived sites, so for example the NYT archives could be accessed through an NYT relay server that provides their only connection to the internet. The old archives are not modified, instead they are assigned a new "ISP" connection...the relay server.
This is pretty much the way things are configured now. Networks use gateways when connecting to outside resources. The gateway handles the translation of external protocol to/from internal protocol. Adding [external]HTTPS<->[internal]HTTP relay server to the list of jobs performed by the corporate gateway would be a relatively minor change, assuming it is not already being done.
That's not what he's saying. He's saying that if I have to go to http://something.whatever and get redirected to https://something.whatever, there's nothing guaranteeing that:
1. I won't get redirected to https://something.whatever.evil.gov
2. I won't get a fake error page that drops malware
3. I won't get put on a watch list for trying to access Something/Whatever
It's like going to a bank and asking the first person you see what to do with the bag of cash you want to deposit. He may be an employee and tell you to give it to him, or he might be a random person.
They do. Check the login page.so, why doesn't arstechnica have a tls certificate ?
[url=http:/civis/viewtopic.php?p=31520571#p31520571:ch2udpqg said:GreenMeters[/url]":ch2udpqg][url=http:/civis/viewtopic.php?p=31520271#p31520271:ch2udpqg said:agrouf[/url]":ch2udpqg]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
One thing I haven't seen mentioned yet is that HTTPS is only a container protocol.[url=http:/civis/viewtopic.php?p=31520075#p31520075:177tploh said:Sasparilla[/url]":177tploh]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?
[url=http:/civis/viewtopic.php?p=31523105#p31523105:3ue7nuus said:2bt4g2xy[/url]":3ue7nuus]I want to seen an Happy face when my username and password are properly stored with a proper hash algorithm like a slow one and salted.
You just made the op's point for him/her. That much tech stuff is utter gobbledygook to the vast majority of people who just want to blog or whatever.[url=http:/civis/viewtopic.php?p=31521619#p31521619:1d55kfgh said:aufdenschlips[/url]":1d55kfgh]"Anyone who has put in the effort to get HTTPS working on even one site knows that it can be a tremendous hassle."
Ahem,
1. Point domain to ip of server
2. Wait till dns change has propagated --> https://dnschecker.org
3. disable web server for time of install and install letsencrypt
4. run letsencrypt certonly -d DOMAIN.COM -m MAIL@DOMAIN.COM --agree-tos
5. if nginx, add to either server block of site in
/etc/nginx/sites-available/DOMAIN.COM or wherever you put your nginx.conf snippets,
e.g.
/var/www/DOMAIN.COM/conf/nginx/ssl.conf
the following lines
listen 443 ssl http2;
ssl on;
ssl_certificate /etc/letsencrypt/live/DOMAIN.COM/cert.pem;
ssl_certificate_key /etc/letsencrypt/live/DOMAIN.COM/privkey.pem;
6. reload webserver
7. if all works, redirect all http traffic to SSL
server {
listen 80 default_server;
server_name _;
return 301 https://$domain_name$request_uri;
}
Eh, voilà!
And while you are at it:
ssh-keygen -t ed25519 on host and client
cat ~/.ssh/id_ed25519.pub, copy that clipboard and paste into ~/.ssh/authorized_keys
and check/change/add values in /etc/sshd_config
..
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key --> shouldn't even think about that one
#HostKey /etc/ssh/ssh_host_ecdsa_key --> NIST based,not good
..
HostKey /etc/ssh/ssh_host_ed25519_key
..
KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
..
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
..
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com
..
PermitRootLogin without-password
StrictModes yes
..
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
..
ChallengeResponseAuthentication no
AND AVOID UseRoaming exploit
echo "UseRoaming no" >> /etc/ssh/ssh_config
CAVEAT: MAKE DOUBLE SURE YOU CAN LOG IN WITH ED25519 pubkey before commenting out HostKey /etc/ssh/ssh_host_rsa_key AND removing the rsa-pubkey you - hopefully - have been using.
ED25519 VS ECDSA VS RSA: http://security.stackexchange.com/a/46781
hth
edit1: corrected double use of certonly
edit2: Get a SSL certificate for ALL your servers! Yes! Really! All of them!
edit3: Use that CPU power and generate a 4096 dhparam to get an A rating at ssl labs:
openssl dhparam -out /etc/ssl/certs/dhparam.pem
And yeah, that will take quite long
and make sure your /etc/nginx/nginx.conf has:
ssl_session_cache shared:SSL:20m;
ssl_session_timeout 10m;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
ssl_ecdh_curve secp384r1;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
NOTE that ss_ciphers is restricted to modern - aka last couple years - ciphers.
[url=http:/civis/viewtopic.php?p=31520191#p31520191:1bag7b3b said:Ajedi32[/url]":1bag7b3b]... but you can remedy that somewhat with 1-2 more lines in your config to add a HSTS header to your HTTP responses.
[url=https://developer.mozilla.org/en-US/docs/Web/Security/HTTP_strict_transport_security:1bag7b3b said:HTTP Strict Transport Security (MDN)[/url]":1bag7b3b]Note: The Strict-Transport-Security header is ignored by the browser when your site is accessed using HTTP; this is because an attacker may intercept HTTP connections and inject the header or remove it. When your site is accessed over HTTPS with no certificate errors, the browser knows your site is HTTPS capable and will honor the Strict-Transport-Security header.
[url=http:/civis/viewtopic.php?p=31520267#p31520267:117hvcb2 said:viscious+ars2[/url]":117hvcb2][url=http:/civis/viewtopic.php?p=31520191#p31520191:117hvcb2 said:Ajedi32[/url]":117hvcb2][url=http:/civis/viewtopic.php?p=31520151#p31520151:117hvcb2 said:viscious+ars2[/url]":117hvcb2][url=http:/civis/viewtopic.php?p=31520073#p31520073:117hvcb2 said:willdude[/url]":117hvcb2]Wouldn't the simplest fix for broken http links be for a server that's enabling https to use some form of url-rewriting to forward http requests to https?
Can't have a server redirect someone that hasn't even established a connection.
Currently there just isn't a thing that does what you are asking for.
New tech is being developed (and mentioned in this article) to do things similar though.
Yes you can. 301 redirect. It's literally 5-10 lines in most web server configs.
Sure that means you still have to serve *something* over HTTP (the redirect), and yes that means you're still vulnerable to SSL stripping, but you can remedy that somewhat with 1-2 more lines in your config to add a HSTS header to your HTTP responses.
No No.
No.
If you unencryptedly redirect from http://example.com/I-am-gay-in-a-countr ... steps.html to the https version. Then you have already lost.
Man in the middle attack in a network still works, if you have the right certificates. How else is a company going to monitor their traffic or implement a packet filter? Your connections to websites can still be tracked, otherwise people wouldn't use VPN or Tor. The article is a little bit misleading here.
Again, why the down vote?[url=http:/civis/viewtopic.php?p=31523467#p31523467:2wrcolde said:feeked[/url]":2wrcolde]Google knows your browsing habits with or without encryption.
That doesn't work like that. There is not only one MITM to rule it all. For caching, you probably want several servers from several owners to do it. And you want to cache when it makes sense to cache but you don't want to see user private data. You don't want to cache user private emails but you want to cache cat videos, gossip and other public information that all downstream users will download. https is good for private communication, bad for gossip and cat videos. That was my point.[url=http:/civis/viewtopic.php?p=31522807#p31522807:xxhjhpn9 said:lewax00[/url]":xxhjhpn9]If you have a "legitimate" MITM use, then be transparent about it and provide your own certificate so it's clear to the user. It's entirely possible with HTTPS, you just can't do it without alerting the client.The main significant cost is giving up caching as well as other legitimate MITM uses.[url=http:/civis/viewtopic.php?p=31522755#p31522755:xxhjhpn9 said:flash2010[/url]":xxhjhpn9][url=http:/civis/viewtopic.php?p=31522253#p31522253:xxhjhpn9 said:agrouf[/url]":xxhjhpn9]I get your point but that's like saying not using TOR is bad. TOR makes your sensitive data more secure but has a negative impact on network performance. It's the same with https vs http. http allows caching and is convenient. https is more secure at a cost.[url=http:/civis/viewtopic.php?p=31522177#p31522177:xxhjhpn9 said:parst181[/url]":xxhjhpn9]In addition to the many stated reasons for why HTTP connections are generally bad, there is also the basic fact that being selective about what you encrypt reveals information about what is sensitive and what is not. Encrypting everything does not. Not to mention that trying to be selective about encryption is what leads to things like session hijacking via Firesheep and the like.
That is a silly comparison. There are several orders of magnitude difference in the performance cost of using TOR vs. the performance cost of using SSL. The cost of SSL on modern hardware will almost always be insignificant (I have done extensive load testing on it as part of my job).
The main significant cost of SSL is in the session establishment...and that issue was solved for HTTP with HTTP 1.1 and connection reuse...which came out in 1999 (RFC 2616).
It does break caching. I know you guys are very exited by https and it's indeed a cool technology but it's not magic. It does indeed break caching, that's a hard, sad fact. And yes, it affects network performance in many cases with useless traffic and CDNs don't make caching useless.[url=http:/civis/viewtopic.php?p=31524421#p31524421:26po76me said:BloodNinja[/url]":26po76me][url=http:/civis/viewtopic.php?p=31520571#p31520571:26po76me said:GreenMeters[/url]":26po76me][url=http:/civis/viewtopic.php?p=31520271#p31520271:26po76me said:agrouf[/url]":26po76me]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.
No, it doesn't. Most significant caching happens server-side and doesn't care how the data was requested.
I think it's because people are very excited about https and downvote anything that does not say https is magic. I noticed all posts saying https is magic get upvoted and anything saying https is not magic gets downvoted.[url=http:/civis/viewtopic.php?p=31525681#p31525681:3qlgoepj said:Vielfalt[/url]":3qlgoepj]Again, why the down vote?[url=http:/civis/viewtopic.php?p=31523467#p31523467:3qlgoepj said:feeked[/url]":3qlgoepj]Google knows your browsing habits with or without encryption.
[url=http:/civis/viewtopic.php?p=31525783#p31525783:31osat2w said:agrouf[/url]":31osat2w]It does break caching. I know you guys are very exited by https and it's indeed a cool technology but it's not magic. It does indeed break caching, that's a hard, sad fact. And yes, it affects network performance in many cases with useless traffic and CDNs don't make caching useless.[url=http:/civis/viewtopic.php?p=31524421#p31524421:31osat2w said:BloodNinja[/url]":31osat2w][url=http:/civis/viewtopic.php?p=31520571#p31520571:31osat2w said:GreenMeters[/url]":31osat2w][url=http:/civis/viewtopic.php?p=31520271#p31520271:31osat2w said:agrouf[/url]":31osat2w]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.
No, it doesn't. Most significant caching happens server-side and doesn't care how the data was requested.
[url=http:/civis/viewtopic.php?p=31521721#p31521721:mosze5lf said:scottwsx96[/url]":mosze5lf][url=http:/civis/viewtopic.php?p=31520543#p31520543:mosze5lf said:till213[/url]":mosze5lf]
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
If you were checking this from a network that uses a SSL/TLS forward proxy, you should be aware of a few things:
- Such proxies provide granular control. Generally, most SSL/TLS forward proxy administrators configure them to exclude some things, such as URLs in specific URL categories, specific domains, specific source IP address ranges, etc. For example, we don't decrypt the following URL categories on our network: health-and-medicine, financial, web-based-email, and shopping. It's possible that your connection to Google was excluded from decryption in the proxy configuration policies.
- If you are using Google Chrome, be aware that it uses the QUIC protocol and not HTTPS to connect to Google services. I haven't seen a SSL/TLS forward proxy that decrypts the QUIC protocol yet. The way that SSL/TLS forward proxy administrators typically handle this is by either blocking the QUIC protocol, in which case Chrome falls back to HTTPS which can be decrypted, or they use Active Directory Domain Services Group Policy to disable the QUIC protocol in Chrome.
If you are seeing Google's actual certificate* in the browser, it means that your connection with Google is not decrypted.
* The only way to truly check for an actual certificate match is to verify the thumbprint of the certificate you are seeing with the one that the actual web server has installed. Checking the issuing CA or root CA goes a long way, but doesn't tell the whole story.