With the increase popularity of the linux desktop and the steamdeck, will new viruses and malwares be developed for linux systems? should we better use an antivirus?

  • phx@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Yup, and much of stuff is just common apps. A browser based exploit may not care which OS you’re running Firefox/Chrome under (or Edge, I suppose if you’re one of the dozen running that in Linux). The log4j vulnerability was first seen in Minecraft hosts and clients, and that equally affects those running on Linux. Steam has also had vulnerabilities in the past, as have various document editors.

    That said, I really can’t say there’s any consumer-level antivirus that I’d trust to be effective on my desktop (especially without impacting performance) even on Windows, let alone Linux. If you really know what your box is doing and it doesn’t change much you might consider SELinux rules etc, but those are a significant amount of work even for servers (which tend to behave more predictably).

    Not using software from untrustworthy sources or visiting sketchy sites, plus some monitoring of your network traffic may be a more effective solution.

    • Lemmyuser_Guest@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      This (Also is there a service that audits code’s maliciousness for me? I sometimes use some unfamous stuffs from github for gaming, customizing etc. As long as I don’t give them a root permission I should be ok?)

      • phx@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        There are tools that do this but it’s mostly for known issues or vulnerabilities (i.e. bad practice in coding or done after the fact). Some stuff runs code on at sandbox looking for sketchy behavior, but hackers may work around that by having malware that only activates in CD l specific circumstances or times.

        There can also be “privilege escalation” exploits which can allow a rogue process to obtain root/admin, and even without the process would have full access to whatever the user does in terms of network/device/hardware/process access (or sudo, as applicable).

        Not being able to run as root doesn’t help all that much if the process is able to access sensitive saved data, files and/or the internet