this post was submitted on 08 Jul 2024
17 points (66.0% liked)

Cybersecurity

5769 readers
15 users here now

c/cybersecurity is a community centered on the cybersecurity and information security profession. You can come here to discuss news, post something interesting, or just chat with others.

THE RULES

Instance Rules

Community Rules

If you ask someone to hack your "friends" socials you're just going to get banned so don't do that.

Learn about hacking

Hack the Box

Try Hack Me

Pico Capture the flag

Other security-related communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

Notable mention to [email protected]

founded 2 years ago
MODERATORS
top 15 comments
sorted by: hot top controversial new old
[–] uhh_matt 31 points 4 months ago (2 children)

Ah yes, the old "your data isn't safe when an attacker has full access to your pc account" vulnerability

[–] Sethayy 9 points 4 months ago (1 children)

Yeah fuck security in layers, my first layer is 100% bulletproof so I got no reason to worry

[–] [email protected] 3 points 4 months ago* (last edited 4 months ago) (1 children)

Exactly, which is why your drives should be encrypted.

Once you lose physical control of a device, all bets are off, drive encryption at least slows down attackers significantly.

I have far more sensitive, and a greater volume of data, on the drive than just comms.

[–] Sethayy 4 points 4 months ago* (last edited 4 months ago) (2 children)

Drive encryption wouldn't do anything to mitigate this though? A process running on your PC needs access to your drive, and so with the current setup you have either the option to trust 100% every software with your signal encryption keys, or to simply not use them.

Seems like a pretty big security flaw that we have actual solutions to.

You could maybe form a hackey way to allow only the signal process to an encrypted FUSE filesystem that decrypts its own keys on the fly, but again there's already ways to do this in software that isn't like using a wrench to plug a leak. (and this setup would just have it's own set of keys that need to be protected now, probably by a traditional method like kwallet)

[–] [email protected] 2 points 4 months ago (1 children)

I mean... Every serious operating system already has some form of keyring feature right?

[–] Sethayy 4 points 4 months ago

Ie. what signal should be using, yet isnt

[–] sun_is_ra 1 points 4 months ago (1 children)

there is SELinux which give more fine tuned permissions for each app but it was too complicated for me

[–] Sethayy 2 points 4 months ago

And if you're using SELinux as a kwallet/keyring replacement, you're using it wrong (but again security in layers doesn't stop you from using both)

[–] [email protected] 2 points 4 months ago

Not necessarily. There are many paths to exfiltrated data that don't require privileged access, and can be exploited through vulnerabilities in other applications.

[–] [email protected] 15 points 4 months ago (2 children)

Don't the keys have to be in plaintext at some point so they can be used

[–] Sethayy 5 points 4 months ago

Yeah but they don't have to be visible to every process the user runs, my Minecraft mods really don't need access to my encryption keys

[–] sun_is_ra 3 points 4 months ago

They could at least allow for setting paaword. Then your keys are encrypted with that password

[–] [email protected] 7 points 4 months ago (1 children)

I think the issue that they are trying to make is that there are modern ways of protecting the keys with hardware level security, that aren’t being used. As someone who works in AppSec this is all too common. All it takes is one library in an application to be popped (doesn’t have to be signal), and security keys end up leaked. If it isn’t already, I’m sure that signals keys will be included in exfil scripts.

Tools like TPM and SecureEnclaves (TrustZone,etc) mean that malware, and other nasties have a higher bar that they need to meet.

[–] [email protected] 4 points 4 months ago (1 children)

Yeah, and electron already has a secureStorage API that handles the OS interop for you. Which signal isn't using, and a PR already exists to enable...

[–] [email protected] 5 points 4 months ago

I'm not surprised... I think people ('the ones that care at least') would be horrified to know how much of this stuff slips through, because it's hard (there are so many other things that are pulling at developers that something falls through the cracks). Most of the time the right answer is to bring it up. Then thank them when they resolve the issue (with beer and pizza money at the very least).

Looks like it's waiting for approval, https://github.com/signalapp/Signal-Desktop/pull/6933 for anyone else thats interested.