494
submitted 4 months ago by ForgottenFlux@lemmy.world to c/privacy@lemmy.ml
top 50 comments
sorted by: hot top controversial new old
[-] catalog3115@lemmy.world 150 points 4 months ago

E2EE is not supposed to protect if device get compromised.

[-] NegativeLookBehind@lemmy.world 70 points 4 months ago

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

load more comments (17 replies)
[-] potatopotato@sh.itjust.works 20 points 4 months ago

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 21 points 4 months ago* (last edited 4 months ago)

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.

load more comments (12 replies)
load more comments (1 replies)
load more comments (6 replies)
[-] x1gma@lemmy.world 102 points 4 months ago* (last edited 4 months ago)

How in the fuck are people actually defending signal for this, and with stupid arguments such as windows is compromised out of the box?

You. Don't. Store. Secrets. In. Plaintext.

There is no circumstance where an app should store its secrets in plaintext, and there is no secret which should be stored in plaintext. Especially since this is not some random dudes random project, but a messenger claiming to be secure.

Edit: "If you got malware then this is a problem anyway and not only for signal" - no, because if secure means to store secrets are used, than they are encrypted or not easily accessible to the malware, and require way more resources to obtain. In this case, someone would only need to start a process on your machine. No further exploits, no malicious signatures, no privilege escalations.

"you need device access to exploit this" - There is no exploiting, just reading a file.

[-] lemmyvore@feddit.nl 46 points 4 months ago

You. Don't. Store. Secrets. In. Plaintext.

SSH stores the secret keys in plaintext too. In a home dir accessible only by the owning user.

I won't speak about Windows but on Linux and other Unix systems the presumption is that if your home dir is compromised you're fucked anyway. Effort should be spent on actually protecting access to the home personal files not on security theater.

[-] floquant@lemmy.dbzer0.com 17 points 4 months ago

Not true, SSH keys need their passphrase to be used. If you don't set one, that's on you.

[-] Mubelotix@jlai.lu 22 points 4 months ago* (last edited 4 months ago)

Come on, 95% of users don't set passwords on their ssh keys

load more comments (2 replies)
[-] x1gma@lemmy.world 13 points 4 months ago

Kinda expected the SSH key argument. The difference is the average user group.

The average dude with a SSH key that's used for more than their RPi knows a bit about security, encryption and opsec. They would have a passphrase and/or hardening mechanisms for their system and network in place. They know their risks and potential attack vectors.

The average dude who downloads a desktop app for a messenger that advertises to be secure and E2EE encrypted probably won't assume that any process might just wire tap their whole "encrypted" communications.

Let's not forget that the threat model has changed by a lot in the last years, and a lot of effort went into providing additional security measures and best practices. Using a secure credential store, additional encryption and not storing plaintext secrets are a few simple ones of those. And sure, on Linux the SSH key is still a plaintext file. But it's a deliberate decision of you to keep it as plaintext. You can at least encrypt with a passphrase. You can use the actual working file permission model of Linux and SSH will refuse to use your key with loose permissions. You would do the same on Windows and Mac and use a credential store and an agent to securely store and use your keys.

Just because your SSH key is a plaintext file and the presumption of a secure home dir, you still wouldn't do a ~/passwords.txt.

load more comments (1 replies)
[-] refalo@programming.dev 19 points 4 months ago* (last edited 4 months ago)

How in the fuck are people actually defending signal for this

Probably because Android (at least) already uses file-based encryption, and the files stored by apps are not readable by other apps anyways.

And if people had to type in a password every time they started the app, they just wouldn't use it.

[-] Liz@midwest.social 22 points 4 months ago

Popular encrypted messaging app Signal is facing criticism over a security issue in its desktop application.

Emphasis mine.

[-] ChapulinColorado@lemmy.world 14 points 4 months ago

I think the point is the developers might have just migrated the code without adjustments since that is how it was implemented before. Similar to how PC game ports sometimes run like shit since they are a close 1-1 of the original which is not always the most optimized or ideal, but the quickest to output.

load more comments (1 replies)
load more comments (1 replies)
[-] possiblylinux127@lemmy.zip 15 points 4 months ago

If someone has access to your machine you are screwed anyway. You need to store the encryption key somewhere

load more comments (1 replies)
load more comments (3 replies)
[-] Carbophile@lemmy.zip 63 points 4 months ago* (last edited 4 months ago)

The backlash is extremely idiotic. The only two options are to store it in plaintext or to have the user enter the decryption key every time they open it. They opted for the more user-friendly option, and that is perfectly okay.

If you are worried about an outsider extracting it from your computer, then just use full disk encryption. If you are worried about malware, they can just keylog you when you enter the decryption key anyways.

[-] x1gma@lemmy.world 16 points 4 months ago

The third option is to use the native secret vault. MacOS has its Keychain, Windows has DPAPI, Linux has has non-standardized options available depending on your distro and setup.

Full disk encryption does not help you against data exfil, it only helps if an attacker gains physical access to your drive without your decryption key (e.g. stolen device or attempt to access it without your presence).

Even assuming that your device is compromised by an attacker, using safer storage mechanisms at least gives you time to react to the attack.

load more comments (2 replies)
load more comments (2 replies)
[-] Mubelotix@jlai.lu 62 points 4 months ago

Sure, I was aware. You have the same problem with ssh keys, gpg keys and many other things

[-] mr_satan@monyet.cc 11 points 4 months ago

However, you can save encrypted ssh, gpg keys and save that encryption key in the OS keyring.

load more comments (4 replies)
[-] thayer@lemmy.ca 59 points 4 months ago* (last edited 4 months ago)

While it would certainly be nice to see this addressed, I don't recall Signal ever claiming their desktop app provided encryption at rest. I would also think that anyone worried about that level of privacy would be using disappearing messages and/or regularly wiping their history.

That said, this is just one of the many reasons why whole disk encryption should be the default for all mainstream operating systems today, and why per-app permissions and storage are increasingly important too.

[-] ooterness@lemmy.world 30 points 4 months ago

Full disk encryption doesn't help with this threat model at all. A rogue program running on the same machine can still access all the files.

[-] thayer@lemmy.ca 18 points 4 months ago

It does help greatly in general though, because all of your data will be encrypted when the device is at rest. Theft and B&Es will no longer present a risk to your privacy.

Per-app permissions address this specific threat model directly. Containerized apps, such as those provided by Flatpak can ensure that apps remain sandboxed and unable to access data without explicit authorization.

load more comments (20 replies)
[-] HappyTimeHarry@lemm.ee 56 points 4 months ago

That applies to pretty much all desktop apps, your browser profile can be copied to get access to all your already logged in cookie sessions for example.

[-] kryllic@programming.dev 12 points 4 months ago

IIRC this is how those Elon musk crypto livestream hacks worked on YouTube back in the day, I think the bad actors got a hold of cached session tokens and gave themselves access to whatever account they were targeting. Linus Tech Tips had a good bit in a WAN show episode

[-] Prethoryn@lemmy.world 44 points 4 months ago

Ah yes, another prime example that demonstrates that Lemmy is no different than Reddit. Everyone thinks they are a professional online.

Nothing sensitive should ever lack encryption especially in the hands of a third party company managing your data claiming you are safe and your privacy is protected.

No one is invincible and it's okay to criticize the apps we hold to high regards. If your are pissed people are shitting on Signal you should be pissed Signal gave people a reason to shit on them.

[-] possiblylinux127@lemmy.zip 14 points 4 months ago

Where are you going to store the encryption key? At the end of the day the local machine is effectively pwded anyway

load more comments (7 replies)
[-] DemBoSain@midwest.social 43 points 4 months ago

Why is Signal almost universally defended whenever another security flaw is discovered? They're not secure, they don't address security issues, and their business model is unsustainable in the long term.

But, but, if you have malware "you have bigger problems". But, but, an attacker would have to have "physical access" to exploit this. Wow, such bullshit. Do some of you people really understand what you're posting?

But, but, "windows is compromised right out of the box". Yes...and?

But, but, "Signal doesn't claim to be secure". Fuck off, yes they do.

But, but, "just use disk encryption". Just...no...WTF?

Anybody using Signal for secure messaging is misguided. Any on of your recipients could be using the desktop app and there's no way to know unless they tell you. On top of that, all messages filter through Signal's servers, adding a single-point-of-failure to everything. Take away the servers, no more Signal.

[-] Zak@lemmy.world 43 points 4 months ago

If someone can read my Signal keys on my desktop, they can also:

  • Replace my Signal app with a maliciously modified version
  • Install a program that sends the contents of my desktop notifications (likely including Signal messages) somewhere
  • Install a keylogger
  • Run a program that captures screenshots when certain conditions are met
  • [a long list of other malware things]

Signal should change this because it would add a little friction to a certain type of attack, but a messaging app designed for ease of use and mainstream acceptance cannot provide a lot of protection against an attacker who has already gained the ability to run arbitrary code on your user account.

[-] gomp@lemmy.ml 14 points 4 months ago* (last edited 4 months ago)

Those are outside Signal's scope and depend entirely on your OS and your (or your sysadmin's) security practices (eg. I'm almost sure in linux you need extra privileges for those things on top of just read access to the user's home directory).

The point is, why didn't the Signal devs code it the proper way and obtain the credentials every time (interactively from the user or automatically via the OS password manager) instead of just storing them in plain text?

load more comments (4 replies)
load more comments (1 replies)
load more comments (40 replies)
[-] mlg@lemmy.world 25 points 4 months ago

Bruh windows and linux have a secrets vault (cred manager and keyring respectively, iirc) for this exact purpose.

Even Discord uses it on both OSs no problem

[-] jsomae@lemmy.ml 24 points 4 months ago

The real problem is that the security model for apps on mobile is much better than that for apps on desktop. Desktop apps should all have private storage that no other non-root app can access. And while we're at it, they should have to ask permission before activating the mic or camera.

[-] Cuntessera@sh.itjust.works 11 points 4 months ago* (last edited 4 months ago)

macOS has nailed it*, even though it’s still not as good as iOS or Android, but leagues and bounds better than Windows and especially Linux.

ETC: *sandboxing/permission system

load more comments (4 replies)
load more comments (2 replies)
[-] ExtremeDullard@lemmy.sdf.org 23 points 4 months ago

Whatever its stores and however it stores it doesn't matter to me: I moved its storage space to my ~/.Private encrypted directory. Same thing for my browser: I don't use a master password or rely on its encryption because I set it up so it too saves my profile in the ~/.Private directory.

See here for more information. You can essentially secure any data saved by any app with eCryptfs - at least when you're logged out.

Linux-only of course. In Windows... well, Windows.

load more comments (1 replies)
[-] sntx@lemm.ee 22 points 4 months ago

I have three things to say:

  1. Everyone, please make sure you've set up sound disk encryption
  2. That's not a suprise (for me at least)
  3. It's not much different on mobile (db is unecrypted) - check out molly (signal fork) if you want to encrypt it. However encrypted db means no messages until you decrypt it.
[-] Majestic@lemmy.ml 21 points 4 months ago

There is just no excuse for not even salting or SOMETHING to keep the secrets out of plaintext. The reason you don't store in plaintext is because it can lead to even incidental collection. Say you have some software, perhaps spyware, perhaps it's made by a major corporation so doesn't get called that and it crawls around and happens to upload a copy of a full or portion of the file containing this info, now it's been uploaded and compromised potentially not even by a malicious actor successfully gaining access to a machine but by poor practices.

No it can't stop a sophisticated malware specifically targeting Signal to steal credentials and gain access but it does mean casual malware that hasn't taken the time out to write a module to do that is out of luck and increases the burden on attackers. No it won't stop the NSA but it's still something that it stops someone's 17 year old niece who knows a little bit about computers but is no malware author from gaining access to your signal messages and account because she could watch a youtube video and follow along with simple tools.

The claims Signal is an op or the runner is under a national security letter order to compromise it look more and more plausible in light of weird bad basic practices like this and their general hostility. I'll still use it and it's far from the worst looking thing out there but there's something unshakably weird about the lead dev, their behavior and practices that can't be written off as being merely a bit quirky.

load more comments (6 replies)
[-] notannpc@lemmy.world 17 points 4 months ago

This just in: threat actors compromising your devices is bad. More at 11.

load more comments (1 replies)
[-] kbal@fedia.io 13 points 4 months ago* (last edited 4 months ago)

Alternative headline: Someone has a feature request for Signal which would be of interest to a few people with very specific security needs.

load more comments (16 replies)
[-] unrushed233@lemmings.world 12 points 4 months ago

Can we please all just acknowledge that desktop operating systems absolutely suck (in regards to security)?

load more comments (1 replies)
[-] yogthos@lemmy.ml 11 points 4 months ago

This shows an incredibly cavalier approach to security on the part of the team working on signal.

load more comments (3 replies)
load more comments
view more: next ›
this post was submitted on 06 Jul 2024
494 points (100.0% liked)

Privacy

31894 readers
515 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