• Zak@lemmy.world
    link
    fedilink
    arrow-up
    43
    ·
    7 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
      link
      fedilink
      arrow-up
      14
      ·
      edit-2
      7 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?

      • Zak@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        7 months ago

        You’d need write access to the user’s home directory, but doing something with desktop notifications on modern Linux is as simple as

        dbus-monitor "interface='org.freedesktop.Notifications'" | grep --line-buffered "member=Notify\|string" | [insert command here]

        Replacing the Signal app for that user also doesn’t require elevated privileges unless the home directory is mounted noexec.

        • gomp@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          7 months ago

          I don’t see the reasoning in your answer (I do see its passive-aggressiveness, but chose to ignore it).

          I asked “why?”; does your reply mean “because lack of manpower”, “because lack of skill” or something else entirely?

          In case you are new to the FOSS world, that being “open source” doesn’t mean that something cannot be criticized or that people without the skill (or time!) to submit PRs must shut the fu*k up.