this post was submitted on 06 Jul 2024
473 points (94.4% liked)

Privacy

31982 readers
316 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] catalog3115@lemmy.world 140 points 4 months ago (5 children)

E2EE is not supposed to protect if device get compromised.

[–] NegativeLookBehind@lemmy.world 62 points 4 months ago (1 children)

One could argue that Windows is compromised right out of the box.

[–] potatopotato@sh.itjust.works 18 points 4 months ago (2 children)

Intrinsically/semantically no but the expectation is that the texts are encrypted at rest and the keys are password and/or tpm+biometric protected. That's just how this works at this point. Also that's the government standard for literally everything from handheld devices to satellites (yes, actually).

At this point one of the most likely threat vectors is someone just taking your shit. Things like border crossings, rubber stamped search warrants, cops raid your house because your roommate pissed them off, protests, needing to go home from work near a protest, on and on.

[–] 9tr6gyp3@lemmy.world 14 points 4 months ago* (last edited 4 months ago) (2 children)

If your device is turned on and you are logged in, your data is no longer at rest.

Signal data will be encrypted if your disk is also encrypted.

If your device's storage is not encrypted, and you don't have any type of verified boot process, then thats on you, not Signal.

[–] douglasg14b@lemmy.world 6 points 4 months ago* (last edited 4 months ago) (1 children)

That's not how this works.

If the stored data from signal is encrypted and the keys are not protected than that is the security risk that can be mitigated using common tools that every operating system provides.

You're defending signal from a point of ignorance. This is a textbook risk just waiting for a series of latent failures to allow leaks or access to your "private" messages.

There are many ways attackers can dump files without actually having privileged access to write to or read from memory. However, that's a moot point as neither you nor I are capable of enumerating all potential attack vectors and risks. So instead of waiting for a known failure to happen because you are personally "confident" in your level of technological omnipotence, we should instead not be so blatantly arrogant and fill the hole waiting to be used.


Also this is a common problem with framework provided solutions:

https://www.electronjs.org/docs/latest/api/safe-storage

This is such a common problem that it has been abstracted into apis for most major desktop frameworks. And every major operating system provides a key ring like service for this purpose.

Because this is a common hole in your security model.

[–] 9tr6gyp3@lemmy.world -2 points 4 months ago* (last edited 4 months ago) (1 children)

Having Signal fill in gaps for what the OS should be protecting is just going to stretch Signal more than it already does. I would agree that if Signal can properly support that kind of protection on EVERY OS that its built for, go for it. But this should be an OS level protection that can be offered to Signal as an app, not the other way around.

[–] douglasg14b@lemmy.world 2 points 4 months ago (1 children)

Having Signal fill in gaps for what the OS should be protecting is just going to stretch Signal more than it already does. I would agree that if Signal can properly support that kind of protection on EVERY OS that its built for, go for it. But this should be an OS level protection that can be offered to Signal as an app, not the other way around.

Damn reading literacy has gone downhill these days.

Please reread my post.

But this should be an OS level protection that can be offered to Signal as an app, not the other way around.

  1. OSs provide keyring features already
  2. The framework signal uses (electron) has a built in API for this EXACT NEED

Cmon, you can do better than this, this is just embarrassing.

[–] 9tr6gyp3@lemmy.world 1 points 4 months ago

Why exactly am I re-reading your post? Im in complete agreement with you? Should I not be?

[–] uis@lemm.ee 1 points 4 months ago* (last edited 4 months ago) (1 children)

Signal data will be encrypted if your disk is also encrypted.

True.

and you don't have any type of verified boot process

How motherboard refusing to boot from another drive would protect anything?

[–] 9tr6gyp3@lemmy.world 1 points 4 months ago (1 children)

Its more about protecting your boot process from malware.

[–] uis@lemm.ee 1 points 4 months ago* (last edited 4 months ago) (1 children)

Well, yes. By refusing to boot. It can't prevent booting if motherboard is replaced.

EDIT: s/do anything/prevent booting/

[–] 9tr6gyp3@lemmy.world 1 points 4 months ago (1 children)

Thats correct. Thats one of the many perks.

[–] uis@lemm.ee 1 points 4 months ago (1 children)

EDIT: s/do anything/prevent booting/

[–] 9tr6gyp3@lemmy.world 1 points 4 months ago (1 children)

If the hardware signatures don't match, it wont boot without giving a warning. If the TPM/Secure Enclave is replaced/removed/modified, it will not boot without giving a warning.

[–] uis@lemm.ee 1 points 4 months ago* (last edited 4 months ago) (1 children)

If the hardware signatures don't match

Compromised hardware will say it is same hardware

If the TPM/Secure Enclave is replaced/removed/modified, it will not boot without giving a warning.

Compromised hardware controls execution of software. Warning is done in software. Conpromised hardware won't let it happen.

[–] 9tr6gyp3@lemmy.world 1 points 4 months ago (1 children)

Compromised hardware doesn't know the signatures. Math.

[–] uis@lemm.ee 1 points 4 months ago (1 children)

Compromised hardware can't create new signatures, but it doesn't matter because it controls execution of software and can skip any checks.

[–] 9tr6gyp3@lemmy.world 1 points 4 months ago (1 children)

If the hardware is tampered, it will not pass the attestation test, which is an online component. It will fail immediately and you will be alerted. Thats the part of verified boot that makes this so much harder for adversaries. They would have to compromise both systems. The attestation system is going to be heavily guarded.

[–] uis@lemm.ee 1 points 4 months ago* (last edited 4 months ago) (1 children)

which is an online component.

So, storing on Signal's server key to decrypt keys. Welcome back to apple-isms and online-only.

It will fail immediately and you will be alerted.

Provided you have some other non-compromised way of communications.

[–] 9tr6gyp3@lemmy.world 1 points 4 months ago

Yes, verified boot will have out-of-bands alerts for you by design. Without the online component, you will risk not being able to detect tampering.

[–] Redjard@lemmy.dbzer0.com 4 points 4 months ago

TPM isn't all that reliable. You will have people upgrading their pc, or windows update updating their bios, or any number of other reasons reset their tpm keys, and currently nothing will happen. In effect people would see Signal completely break and loose all their data, often seemingly for no reason.

Talking to windows or through it to the TPM also seems sketchy.

In the current state of Windows, the sensible choice is to leave hardware-based encryption to the OS in the form of disk encryption, unfortunate as it is. The great number of people who loose data or have to recover their backup disk encryption key from their Microsoft account tells how easily that system is disturbed (And that Microsoft has the decryption keys for your encrypted date).

[–] AlexWIWA@lemmy.ml 7 points 4 months ago* (last edited 4 months ago)

Mfw end to end can be compromised at the end.

That said, they should fix this anyway

[–] uis@lemm.ee 3 points 4 months ago

Indeed, End-to-End Encryption protects data between those ends, not ends themselves. If ends are compromised, no math will help you.

[–] RealFknNito@lemmy.world -4 points 4 months ago (3 children)

Plaintext should never be used in any application that deals with security, ever.

[–] lemmyvore@feddit.nl 6 points 4 months ago

Oh no, tell that to SSH.

[–] possiblylinux127@lemmy.zip 3 points 4 months ago* (last edited 4 months ago)

It doesn't use plain text. It is end to end encrypted but that isn't what this "issue" is

[–] eager_eagle@lemmy.world 2 points 4 months ago

unless you're reading ciphertext yourself, this doesn't make sense