News for hackers. Stuff that matters.
Re:Life Is About to Get Harder for Websites Without HTTPS by sgift on Wednesday July 12, 2017 @02:31AM (#14750548)
> 1) internal corporation services, websites and webapps.

For this use case companies usually provide an internal CA, which signs their certificates and is trusted by all company machines. We have various customers which do this and it works just fine.

Re:Life Is About to Get Harder for Websites Without HTTPS by 15thandwhatever on Wednesday July 12, 2017 @04:28AM (#14750989)
Large companies do this.

Small companies/small groups of developers have no idea how to implement and manage this, but think that it should be easy.

I've recently been approached by a group of developers to enable SSL on their internal sites. When I mentioned that this would take some time, the response was "why can't you just use LetsEncrypt?"

I replied that LE only works on external facing sites, not internal sites. The next response was "fine, why don't we make it all external facing?"

I'm still trying to explain that their CI server (Jenkins, with its history of remotely exploitable vulnerabilities), and their internal OAuth2 server should not be public facing.

Re:Life Is About to Get Harder for Websites Without HTTPS by zimbatm on Wednesday July 12, 2017 @07:02AM (#14751504)
Google is moving away from network-centric security and VPNs. See https://cloud.google.com/beyondcorp/ . The threat model is a bit different but you could also follow their approach and put an auth proxy in front of Jenkins and deploy it on the public Internet.

But yeah, don't expose Jenkins to the Internet directly. Last month I saw a Jenkins instance that was mining bitcoins. The worm had used one of Java's serialisation vuln to get in the box and install the miner.

Re:Life Is About to Get Harder for Websites Without HTTPS by tomjen3 on Wednesday July 12, 2017 @07:16AM (#14751557)
No vpn means any vulnerability can be attacked over the internet.
Re:Life Is About to Get Harder for Websites Without HTTPS by zimbatm on Wednesday July 12, 2017 @08:16AM (#14751836)
Not at all, it means the proxy can be attacked over the Internet. Just like the VPN can be attacked over the Internet. Once you're past that it's the same story.
Re:Life Is About to Get Harder for Websites Without HTTPS by tomjen3 on Wednesday July 12, 2017 @11:44AM (#14753479)
At minimum that means your SSH service is also vulnerable, no?
Re:Life Is About to Get Harder for Websites Without HTTPS by Lazare on Wednesday July 12, 2017 @04:44AM (#14751042)
> I replied that LE only works on external facing sites, not internal sites.

LE supports DNS validation; as far as I'm aware it now works great for internal sites.

Re:Life Is About to Get Harder for Websites Without HTTPS by mattowen_uk on Wednesday July 12, 2017 @08:51AM (#14752041)
Specifically... LetsEncrypt, and most other CAs no longer issue certs for domains that are not legal ccTLDs or gTLDs.

Not so many years ago, Microsoft recommended that organisations used [companyname].local as their internal DNS zone[1], as .local will never be an external zone, so there would be no conflict. Then along came cloud integration and increased need for edge services, and .local no worked well as a solution. Servers needed certs with both the local domain and a new external domain in their certs which became a security nightmare. Then (about a year ago) CAs stopped issuing certs for domains that weren't sub-domains of proper TLDs, which all but killed the concept of these internal non-legal domains.

So, unless you are prepared to roll your own CA, AND instruct your internal (non MS-domain members) users how to manually install an untrusted cert, signing internal sites that do not have a legal domain name, is a complete non-starter.

---

[1] Now of course they recommend a sub-domain of your public domain name (site1.company.com), or a reserved public domain name that you don't use externally (site1-company.com). Which is all well and good, but what about the 100s of legacy kit you've got on the old name... ~sigh~

Re:Life Is About to Get Harder for Websites Without HTTPS by cm2187 on Wednesday July 12, 2017 @05:08AM (#14751108)
LE works with internal websites. Just use DNS validation and register any public domain (costs almost nothing).
Re:Life Is About to Get Harder for Websites Without HTTPS by ewanm89 on Wednesday July 12, 2017 @06:38AM (#14751423)
It is pretty easy to manage your own CA, make a Debian VM, install something like XCA and it is literally click a few buttons to generate and issue certificates and set up certificate authority root certificates.
Re:Life Is About to Get Harder for Websites Without HTTPS by ptman on Wednesday July 12, 2017 @08:41AM (#14751974)
FreeIPA sets up a CA by default and AD can do it as well (not sure if it's done by default).
Re:Life Is About to Get Harder for Websites Without HTTPS by skywhopper on Wednesday July 12, 2017 @07:47AM (#14751695)
Namecheap will sell you certificates for your internal domains, $9/year.
Re:Life Is About to Get Harder for Websites Without HTTPS by wfunction on Wednesday July 12, 2017 @03:48AM (#14750849)
And why would I trust a company I work at to be able to sign certificates for every single website on the internet? Especially if I need to install that root certificate on a personal device?
Re:Life Is About to Get Harder for Websites Without HTTPS by revelation on Wednesday July 12, 2017 @05:45AM (#14751246)
Because you already trust chinese, russian and a bunch of unethical for profit companies to do that?
Re:Life Is About to Get Harder for Websites Without HTTPS by wfunction on Wednesday July 12, 2017 @05:51AM (#14751264)
As a matter of fact I don't. I'm keeping track of my root certs.
Re:Life Is About to Get Harder for Websites Without HTTPS by dspillett on Wednesday July 12, 2017 @06:30AM (#14751393)
If you need such a device to do your job, maybe ask them to provide one so you can keep work off your personal device anyway? I disconnected my phone and so forth from work email and other services some time ago, and I'm not going back!
Re:Life Is About to Get Harder for Websites Without HTTPS by icebraining on Wednesday July 12, 2017 @05:04AM (#14751096)
Why would you need to install it in a personal device? Just add an exception. It's still better than plain HTTP since you can check the fingerprint against your work PC, which already validated the cert.
Re:Life Is About to Get Harder for Websites Without HTTPS by wfunction on Wednesday July 12, 2017 @05:11AM (#14751123)
Add an exception for every single internal site? You know how annoying that gets?
Re:Life Is About to Get Harder for Websites Without HTTPS by jakobbuis on Wednesday July 12, 2017 @02:38AM (#14750574)
This fails utterly when you can't control your clients. My student society for example ran into this problem. Students bring their own laptops and installing our root certificate on all of them is infeasible (if they even would allow us to do so). As a consequence, we need to expose critical internal services on the public internet, some of which contain private user data.
Re:Life Is About to Get Harder for Websites Without HTTPS by Dylan16807 on Wednesday July 12, 2017 @02:45AM (#14750613)
If you let any student that brings their own laptop connect to it, then it's already pretty darn public.

And you don't actually have to expose it to the internet to get a certificate, you only have to give it a public name.

Re:Life Is About to Get Harder for Websites Without HTTPS by Freak_NL on Wednesday July 12, 2017 @03:21AM (#14750746)
Additionally, if you let anyone bring their own device in a diverse semi-public environment like a school, you owe it to the students and faculty alike to provide them with some protection against creative types placing fake wifi access points in busy places, trying to play man-in-the-middle for any credentials and other stuff sent to your local services. HTTPS does that.

Using a proper FQDN for each service only makes everything easier to maintain.

Re:Life Is About to Get Harder for Websites Without HTTPS by BillinghamJ on Wednesday July 12, 2017 @02:46AM (#14750617)
You don’t need to expose them. You need to use public DNS records, but there is no reason those records have to point to public IPs.

e.g. my company uses *.int.cuvva.co which all point to IPs in the 10.0.0.0/8 block, but we still have HTTPS certificates for all of those.

Re:Life Is About to Get Harder for Websites Without HTTPS by will_hughes on Wednesday July 12, 2017 @02:48AM (#14750622)
> As a consequence, we need to expose critical internal services on the public internet, some of which contain private user data.

No, you just need to have a public DNS entry, no need for that service to be reachable from the internet.

foo.example.com can resolve to your private RFC1918 address, when you send the CSR to a CA, they'll verify your ownership of example.com.

Re:Life Is About to Get Harder for Websites Without HTTPS by cm2187 on Wednesday July 12, 2017 @03:38AM (#14750812)
A public domain name costs the price of a coffee (and less than a raspberry pi) and you can get a certificate for free with Let's Encrypt. There is really no reason to resort to a private CA unless you want to MITM your client's connection.

You don't need to expose your server to the public internet to use let's encrypt. I use DNS authorization and it works perfectly.

Re:Life Is About to Get Harder for Websites Without HTTPS by kpcyrd on Wednesday July 12, 2017 @03:52AM (#14750868)
Even if you could I would highly recommend against doing that, given that this would grant you access to every https connection that isn't hpkp secured.

I actually have all webservices in my home network secured by https, all you need to do is click a cheap vps, install nginx and tinc, and then proxy /.well-known/acme-challenge/ to your internal servers. Either setup domain or ip hijacking so the public IP is routed inside your lan. Done.

If I can do this for me and my cat in my spare time, you can do this for your university.

Re:Life Is About to Get Harder for Websites Without HTTPS by wfunction on Wednesday July 12, 2017 @03:47AM (#14750847)
> My student society for example

> need to expose critical internal services on the public internet, some of which contain private user data.

The heck? Are they aware of this? Might you get sued for this?

Re:Life Is About to Get Harder for Websites Without HTTPS by mrmondo on Wednesday July 12, 2017 @02:43AM (#14750605)
If you can’t control your clients - maybe use a captive portal style landing page with a link to install the local certificate or something along those lines, it’s also useful to have a wireless network (SSID/VLAN) for BYOD that just has internet access and as such doesn’t need the very and one that has access to internal services that does.
Re:Life Is About to Get Harder for Websites Without HTTPS by ewanm89 on Wednesday July 12, 2017 @06:36AM (#14751416)
I even do this on my own private network. Installing root certificates is not hard.