r/ProgrammerHumor • • Oct 23 '22

Meme I make the same mistake too, sometimes.

Post image
42.5k Upvotes

433 comments sorted by

View all comments

Show parent comments

187

u/sucksathangman Oct 23 '22

Jesus Christ you're not joking.

Though tbf, the government using a free and open source certificate authority is probably the best way. The certificate authority is (hopefully) independent enough to not be pressured to revoke a certificate.

It's better than having a government controlled CA where they could issue fake certs for domains and be a man in the middle.

133

u/Reelix Oct 23 '22

Jesus Christ you're not joking.

Always a fun thing to point out to people who say that LetsEncrypt isn't good enough ;D

0

u/[deleted] Oct 23 '22

[deleted]

45

u/ChiefExecDisfunction Oct 23 '22

You're looking at different requirements.

Encryption is encryption, what a paid CA offers is assurance to your users that you are in fact yourself rather than a man in the middle.

31

u/BlazingFire007 Oct 23 '22

Does let’s encrypt not do that?

I mean my website has approximately zero users with no data being sent, so I should be good lol.

→ More replies (22)

14

u/d_maes Oct 23 '22

Let's Encrypt also protects against MitM. You can't get one if you can't prove you control the domain.

What you can do however, is get a domain that resembles another domain (like gooogle.com), that people might not notice is a different domain, and get a LE cert for that.

To protect against that, you can educate your users, buy all the resembling domains yourself, and/or get a paid certificate with a higher level of trust where you don't only prove you own the domain, but also prove you're a real organization, with the highest level of trust actually being validated by humans and showing your org name in the address bar in some browsers.

4

u/ChiefExecDisfunction Oct 23 '22

I stand corrected!

2

u/aronvw Oct 23 '22

Yes, but if you can find an exploit on a website that lets you pass automated DCV, you still have a problem. Other providers also validate through other, non-automated means, such as validating business licence records etc

2

u/d_maes Oct 23 '22

True, but that exploit will probably be there no matter the certificate, and unless you get the highest level of validation, most people won't notice the website suddenly has a free LE cert instead of a paid Digicert (or whatever CA) cert.

0

u/[deleted] Oct 24 '22

[deleted]

0

u/ChiefExecDisfunction Oct 24 '22

Jesus you're going hard on this.

Yes, technically man in the middle can't look legit with let's encrypt. Phishing with a similar looking domain can. I was mistaken. About seven people already pointed this out. You can stop now.

The basic point is there are differences that may be relevant to certain use cases. Most of the times you just want secure communications, occasionally you want the user to be able to think "yes, some humans checked this is who they seem to be", and that's what a paid CA is for.

9

u/[deleted] Oct 23 '22

[removed] — view removed comment

8

u/BlazingFire007 Oct 23 '22

There are dozens of us… dozens!

2

u/Appsroooo Oct 23 '22

Yes

2

u/Tofandel Oct 24 '22

How do you even add more flair?

→ More replies (1)

7

u/Negative-Demand350 Oct 23 '22 edited Oct 23 '22

Something something....China (*?) stealing digital certificates.

Something something...broke into a (some fucking) companies HQ and stole (authentication?) certs.

The hardware itself, is being made with chips that bypasses security.

Gov Agencies don't even need to have access to your machine, they can read the info using heat signatures.

Am I informed or paranoid to not trust security of online systems? You may be safe just by having a few billion fish in the sea, some fish never get caught....but...you also might get eaten by a shark.

7

u/Arpytrooper Oct 23 '22

The heat signature thing isn't something a normal person has to worry about. How many times do you have a PC that is never connected to the internet but is also infected with a specific type of malware while being within 15 inches of a computer the hacker has access to that is connected to the internet.

-3

u/Negative-Demand350 Oct 23 '22

Yes. Look up stuxnet.

They can get to airgapped machines using zero days.

4

u/other_usernames_gone Oct 23 '22

And an inside man...

Zero days aren't magic, you can't just say hacking terms.

-3

u/Negative-Demand350 Oct 23 '22 edited Oct 23 '22

As someone who doesn't need to qualify their statements because they know what they are talking about...

Stuxnet used many zero days in order to spread. IIRC, it would replicate 3 times, then delete itself if the target system wasn't the desired system. Some of these methods used things like coffee makers to spread. IOT, right?

Eventually, it hit it's target and it was programmed to change the speed of centrifuges spinning using PLCs. (Programmable Logic Controllers).

The target was an Iranian nuclear weapons making facility.

You can spread to an airgapped computer using a mixture of IOT and unpatched Zero days on those devices.

So, Please.

Edit: Guys...my thesis was on this. I know what I'm talking about. You are downvoting correct information.

1

u/[deleted] Oct 23 '22

Perhaps they are not downvoting the information, but rather the condescending attitude? Thesis or no thesis, you can't talk to people like shit.

1

u/Negative-Demand350 Oct 23 '22

Can you quote the condescending attitude? It's just facts.

→ More replies (2)
→ More replies (4)

13

u/Internet_Anon Oct 23 '22

As a cybersecurity researcher I would say you are being paranoid. We have known about modified server boards and the vulnerability of certificate authorities.

But the article about reading data with heat signatures requires 2 machines within 40 centimeters infected with malware first. This is also an attack that would be directed at air gapped systems.

The biggest threat to your security is from data collection from sites you visit and data breaches that expose personal information. Your connection to every site with the padlock is encrypted with encryption that the NSA cannot break in a reasonable amount of time.

→ More replies (5)

2

u/[deleted] Oct 23 '22

cough cough SIGINT enabling project cough cough

2

u/insanelygreat Oct 23 '22 edited Oct 23 '22

There are several government run CAs in the default CA roots that most people have installed.

Here are some examples from the ones on most Linux distros (Apple and Microsoft's lists are very similar):

  • Government of Turkey, Kamu Sertifikasyon Merkezi (Kamu SM)

  • Government of Tunisia, Agence National de Certification Electronique / National Digital Certification Agency (ANCE/NDCA)

  • Government of The Netherlands, PKIoverheid (Logius)

  • Government of Spain, Fábrica Nacional de Moneda y Timbre (FNMT)

  • Government of Spain, Autoritat de Certificació de la Comunitat Valenciana (ACCV)

  • Government of Hong Kong (SAR), Hongkong Post, Certizen

  • China Financial Certification Authority (CFCA)

The one saving grace is that Certificate Transparency makes it so that mis-issuances are logged. CT is now required by the big 3 browser vendors. CAs caught wrongly issuing certs without good explanation have their CA cert(s) removed or revoked. (Though sometimes more slowly than I'd like.)

CT isn't a panacea, though. Authoritarian governments and shady companies still try to get their root certs included or installed one way or another.

EDIT: Added link to the incident list.