News for hackers. Stuff that matters.
Re:SSH Access through Cloudflare by cremp on Saturday November 17, 2018 @11:54AM (#18476271)
Every time I see a post by Cloudflare, I get more and more nervous.

Why? Because each time they introduce something, they end up at the controls.

What if, if, their internal network is breached; or an unhappy employee is at the wheel? Not only would it be possible for them to use everything at their disposal, but they can start to sell user data; internal ports exposed.

Considering bugs are a fact of life for developers; how long will it be until there is a big hole? Heartbleed was one; what's the next?

Re:SSH Access through Cloudflare by cronix on Saturday November 17, 2018 @12:34PM (#18476450)
I've thought about this as well, but in a different sense. Think if cloudfare were actually the NSA. Seeing as how ssl terminates at their edge server before they pass it off to your actual server (whether they re-encrypt it or not), they have access to all of the decrypted traffic in transit before it reaches your server, don't they?

> When you use Cloudflare, we must decrypt the data at our edge in order to cache and filter any bad traffic. Depending on the SSL setting from the options above, we may re-encrypt or send it as plain text. (full vs. flex) Since each certificate needs a dedicated IP address, we add your domain name and wildcard (*.domain.com) domain in the SAN (Subject Alternative Name) to the certificate.[1]

[1] https://support.cloudflare.com/hc/en-us/articles/204144518-S...

Re:SSH Access through Cloudflare by ezekg on Saturday November 17, 2018 @01:22PM (#18476658)
I think it’s highly likely that Cloudflare is at least associated with the NSA/CIA, maybe more. Also Google, Facebook. One of the reasons I don’t own a Home/Alexa/etc. I value privacy.
Re:SSH Access through Cloudflare by eeZah7Ux on Saturday November 17, 2018 @01:53PM (#18476808)
NSA always wanted to be a so-called global observer. CloudFlare is in the perfect position to be the global observer and it sell it as a feature, not a bug.

NSA budget is big enough that it could buy CloudFlare 10 times a year, or have thousands of undercover agents.

Every "target" website that is not using CF can be cheaply DDoSsed until it switches to CF or disappear.

Re:SSH Access through Cloudflare by cronix on Saturday November 17, 2018 @01:38PM (#18476748)
It would be perfect for them. Instead of having to hack, just get them to come to you under the guise of DDoS protection.

"Hey, everyone's starting to encrypt and we can't get the data as easy as we used to."

"Well, DDoS is a big problem out there. What if we offered a DDoS protection service because very few companies can afford the huge pipes needed to mitigate those attacks."

"Perfect! We can offer it to free for most sites, and offer "free" SSL encryption that terminates on our end."

"Yes! We'd gain their trust by offering such a service and they'd COME TO US begging for help."

I've wondered about LetsEncrypt as well. Since they're they ones generating these "free ssl certs", don't they then have the means to the decrypt the data? Yes, I'm cynical, but I think we need to be.

Same scenario as above. "Hey, we can just offer free certs and they will just give us the keys."

Re:SSH Access through Cloudflare by unilynx on Saturday November 17, 2018 @01:57PM (#18476824)
LetsEncrypt, no. they don't ask you for your private key when you get a certificate, so they can't decrypt anything.
Re:SSH Access through Cloudflare by jjeaff on Saturday November 17, 2018 @07:25PM (#18478180)
They couldn't decrypt, but as a CA, like any other trusted CA, they could man-in-the-middle the traffic, read it, then pass it along to your server, re-encrypted.
Re:SSH Access through Cloudflare by tialaramex on Saturday November 17, 2018 @07:49PM (#18478251)
When a Chrome (and soon to be also Safari, Firefox) connects to a web server over TLS it expects to see SCTs, Signed Certificate Timestamps from some qualified logs (in Chrome's case at least one of these logs must be operated by Google and at least one must not). In most people's setups they get these baked inside their certificates, but you can do it in other ways and that'll work too.

The SCTs can only be produced by these logs, and only when the log is shown the tbsCertificate data. The intent is that the log service promises to log all certificates for which it provides a timestamp. A Merkle Tree is used so that we can examine a log and obtain proof that it does indeed contain every certificate we've seen SCTs for.

So, your conspiracy needs to involve the Certificate Authority (Let's Encrypt in this case), the CT logging team at Google, and at least one third party log operator. Or it would be detected when it was tried.

Re:SSH Access through Cloudflare by jjeaff on Saturday December 01, 2018 @06:02PM (#18579540)
>So, your conspiracy needs to involve the Certificate Authority (Let's Encrypt in this case), the CT logging team at Google...

No, as you alluded to, my conspiracy only needs that the user uses any of the many browsers besides chrome.

Re:SSH Access through Cloudflare by zeta0134 on Saturday November 17, 2018 @02:07PM (#18476867)
At least in Let's Encrypt's case, I thought the free SSL cert was handled as a normal CSR request; the private key should never leave the server the certificate is issued for, assuming the client performing the CSR isn't compromised in some way. All Let's Encrypt's validator service should get is a challenge signed by the private key, not the key itself.

A CA compromise is still very bad, but mostly because it allows an attacker to issue valid certificates and set themselves up as a MitM more easily. Let's Encrypt is still subject to this kind of attack, but so is every other CA; it's not a new threat. That can be reasonably worked around with certificate pinning and other techniques.

Re:SSH Access through Cloudflare by ttul on Saturday November 17, 2018 @05:38PM (#18477731)
Are you actually concerned that NSA/CIA has any interest in what you do? If you’re not into terrorism or espionage, I guarantee you are not that important...
Re:SSH Access through Cloudflare by cronix on Saturday November 17, 2018 @08:23PM (#18478361)
Is this one of those "if you're not doing anything wrong you have nothing to worry about" arguments? If I'm (we're) not that "important", why do they need the data in the first place? In order to determine if I'm (we're) "important" enough, instead of having some sort of evidence/proof to begin with like the constitution spells out. It's the biggest fishing expedition in the world, and can also be used in the future based on past data. They have no business looking at my data unless they have a legit reason to, as in I've done something and they have enough evidence to take before a judge and get a warrant. Due Process. Not the other way around.
Re:SSH Access through Cloudflare by blattimwind on Saturday November 17, 2018 @12:02PM (#18476308)
> Considering bugs are a fact of life for developers; how long will it be until there is a big hole?

Cloudflare already had one (cloudbleed).

Re:SSH Access through Cloudflare by jasonvorhe on Saturday November 17, 2018 @01:24PM (#18476671)
Come on, everyone was affected by that.
Re:SSH Access through Cloudflare by mikeash on Saturday November 17, 2018 @01:27PM (#18476690)
Are you thinking of Heartbleed, which was an OpenSSL bug? Cloudbleed was specific to Cloudflare. https://en.wikipedia.org/wiki/Cloudbleed
Re:SSH Access through Cloudflare by lingrino on Saturday November 17, 2018 @01:13PM (#18476616)
One interesting benefit of using such a large provider is that if a breach or bad behavior were to happen large portions of the internet would suffer, and you'll receive a much smaller portion of the blame. The S3 outage last year was terrible for my employer, but hardly anyone noticed because much more significant sites were similarly suffering.
Re:SSH Access through Cloudflare by eeZah7Ux on Saturday November 17, 2018 @01:38PM (#18476747)
The usual "nobody get fired for $groupthink_based_behavior" creates systemic risk.

A level of diversity is necessary for resiliency and security.

This is true for biological systems, social organizations, complex technologies and of course software as well.

Re:SSH Access through Cloudflare by zackbloom on Saturday November 17, 2018 @12:11PM (#18476350)
One of the fundamental truths or the move to the cloud has been large organizations which can focus on security tend to do it better than each of us doing our best alone. It just takes too many people to keep a modern system secure, that's unfortunate, but it seems true. All of the security failures we hear about tend to be in bespoke systems, not GCP or AWS.
Re:SSH Access through Cloudflare by zAy0LfpBZLC8mAC on Saturday November 17, 2018 @01:45PM (#18476780)
That is wrong on so many levels.

For one, the idea of "delegate security to a central authority because they know what they are doing" is one that has failed so catastrophically in history it's surprising anyone still considers it a convincing argument. If there is one thing humanity should have learned, it's that centralizion of power is itself a major security problem. Electing dictators to solve security problems does not work.

Then, "we have to give all power to cloudflare or we are on our own" is obviously a false dichotomy. No, people can work together on fixing security problems without the need to delegate power to a central authority.

Also, it isn't hard to keep "a modern system" secure. It's just that noone cares, in part because they think they can just buy security as a product that they somehow plug into their system to make it secure. But that is just a completely mistaken approach. You can buy "IT security" as much as you can buy "car safety". If the engineering of your car is shoddy, no add-on will make if safe, and it's exactly the same for IT systems--and if the engineering is solid, there is no need for "safety add-ons".

BTW, one particular kind of "security" that large organizations are good at is controlling PR. It's just that that is not in your interest as their customer. It's just one of many conflicts of interest.

Re:SSH Access through Cloudflare by zenlot on Saturday November 17, 2018 @01:01PM (#18476564)
They have recently released Android app for DNS 1.1.1.1 requiring microphone access, then silently removed it after users noticed.
Re:SSH Access through Cloudflare by dknecht on Saturday November 17, 2018 @05:11PM (#18477634)
This was a bug in the way we were using a third party tool called Instabug. We removed it as soon as it was pointed out.
Re:SSH Access through Cloudflare by MrEldritch on Saturday November 17, 2018 @12:00PM (#18476300)
I'm expecting Cloudflare, or something like them, to eventually become The Internet Company.
Re:SSH Access through Cloudflare by cagenut on Saturday November 17, 2018 @12:22PM (#18476387)
the only reason it feels like this on HN is because cloudflare is much more focused on "retail" level marketing than the competitors. fastly is roughly the same size, akamai and edgecast are bigger than both. all of them are gnats compared to the big three cloud providers.

(not counting the verizon factor w/EC)

Re:SSH Access through Cloudflare by matthewaveryusa on Saturday November 17, 2018 @12:05PM (#18476319)
What's going over the tunnel can still be encrypted.
Re:SSH Access through Cloudflare by m_b on Saturday November 17, 2018 @11:55AM (#18476286)
Centralization is of course the problem here, I don't want to give more power to these corp.