• yesman@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 hours ago

    This argument is 30years out of date. I haven’t installed antivirus software since WindowsXP. And I don’t think it was necessary for an experienced user then.

  • MidsizedSedan@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    13 hours ago

    I recently learnt you can fully delete your root account. Can that fully deter viruses? (Assuming viruses need root access to cause damage)

  • kaerypheur@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    16 hours ago

    Honestly, I use Linux and I need VirusTotal scans for side-loading .deb packages. It’s because I’m not a coding expert, auditing every code of the packages before installing it. So, I think it’s myth that Linux do not need antivirus or anti-malware. We have other different approaches too such as using anti-malware DNS servers.

  • Mensh123@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    16 hours ago

    Please stop oretending Linux was imune to viruses. A virus can do many things, perhaps even more on Linux than it could on Windows.

    Not running an AV only borks because viruses nowerdays are much less common, especially if you follow some best practices (Adblock, no piracy sites, recognize sketchy stuff).

    • Omega@discuss.online
      link
      fedilink
      arrow-up
      0
      ·
      20 hours ago

      Wayland and Flatpak actually somewhat protects you though, as long as you know to NOT give it the permissions to read all of /home

      • easily3667@lemmus.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 hours ago

        As long as you know the foot guns and know why flatpak is important…isnt a good starting point.

  • Fushuan [he/him]@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    23 hours ago

    A single .sh file with exec permission that asks for sudo will easily download appimage keyloggers and then set a cron job to run it every X time to keep it alive and sends it all to whatever remote location. Or whatever else you let the appimage do.

    95% of regular users will double click that, and then write their pass in the popup without blinking twice and that will work in most Linux systems.

    Most viruses don’t target Linux, sure, but that’s wishful thinking. Always be creful with what you run.

  • eldain@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 day ago

    Everyone should think about threats to their data. Cloud backup and laptops better be encrypted, services with open ports be shielded. Linux viruses do exist, especially for android and routers. But also whatever system has an outdated dokuwiki open in the wild is a welcome addition to a botnet. The value of a botnet is in number of infected systems and you don’t need root access to mine monero or take part in a ddos on a machine. Linux security is sincerely undervalued. Selinux, the grsec kernel patches, chrootjail, tripwire… do exist, but are a hassle to setup and maintain. The new container options are nice (docker or flatpack) having your webbrowser contained is not a bad idea.

    Update your router, your desktop is spoiled for updates. I stop my 1 am ramblings here.

  • drosophila@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    An antivirus is mostly just a blacklist of known malware. Sometimes heuristics are used such as ‘this piece of software isn’t installed on many PCs, and it appears to be doing shady stuff like, monitoring keystrokes or listening to your microphone’. But unless your antivirus is actually sentient there’s no way for it to really distinguish between a chat application that listens to your microphone so you can talk to your friends / monitor your keystrokes to know when you’ve hit the push-to-talk key, and a piece of actual malware that intends to spy on you and blackmail you.

    What you have with a package manager is a whitelist of programs that have been selected by your distro maintainers. Is it completely impossible for someone to sneak malware into a distro’s repository? No, but its a lot easier to maintain a list of known good software than it is to maintain a list of known bad software. And in that situation your antivirus isn’t going to help you anyway, since the people maintaining its malware list aren’t going to magically know that something is malware before the distro maintainers do.

    So, generally, just using your package manager instead of running random shit you find online is going to be a lot better than any antivirus. With things like Wayland and Flatseal becoming more common we’re heading towards a situation where fine-grained per-package permissions will become the standard way distros do things, making antivirus even more unnecessary.

    We should have done that a long time ago, as the security model of ‘any program you run can do anything you can by default’, then blacklist the ones that inevitability abuse that privilege, is completely backwards.

      • drosophila@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        In addition to what groet said, I’ll add that this is a little bit like asking “what’s the difference between a public library and Amazon?”.

        Yes, there are other public libraries you could go to if the one you subscribe to didn’t have something you wanted or ‘went bad’ somehow, but the most important difference is you don’t have an antagonistic relationship with your public library. Your public library doesn’t have a financial incentive to try to trap you or screw you over.

      • groet@feddit.org
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        You can install packages from other places and create your own (and then install them). The distro maintainers have one (or multiple) list of “approved” software but you can add as many lists as you want to your package manager. Often software developers will have their own package list that contains only their own software and if you install it you have to add that list to your package managers trusted software locations. In that sense it isn’t really better than going to the developers website and downloading an installer on windows but it is quite rare you have to do that

        • EnsignWashout@startrek.website
          link
          fedilink
          arrow-up
          0
          ·
          22 hours ago

          Immutable distros can usually be set to mutable with the correct privileged command.

          It’s essentially security by obscurity. But I disagree with “no benefit”. An infection miss through dumb luck is still a miss, after all.

  • Screen_Shatter@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    I just switched to linux and totally forgot about this. Do I really not need one? 99% of what I do is steam gaming anyway so I’m not too worried, worst case I just format and reinstall, but still…

    • kernelle@0d.gs
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      ‘The best anti-virus is common sense [current year]’ - was a meme more than decade ago and is still true. Linux is not safer than any other OS.

      The reason why people think otherwise is because statistically, when bad actors release malware it’s made for the OS with the largest market share. Which for computers, is still Windows by a landslide.

      • UnderpantsWeevil@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        22 hours ago

        Linux is not safer than any other OS.

        Apache web servers were, are, and will continue to be common thanks to their cheapness and ease of configuration. And malware (particularly and most recently coinminers) have been a plague on Apache for at least the last few years.

        “Nobody’s come after my bespoke Linux kernel” is just preaching security-through-obscurity. Which - hey - if you’re running a Mint box to host videos on Jellyfin, sure. The absolute worst case scenario is being forced to re-download 1000 hours of tv/movies/music you forgot you even had. But if you’re doing any kind of business application or - god forbid - enterprise level application development, you might as well post a “Kick Me” sign on your admin’s back as tell your team that Linux is virus-proof.

        • Forester@pawb.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 hours ago

          If you are a Halo fan or have ever played Halo reach. The only thing I can imagine is the slip space rupture detected scene except for every time instead of slip space. It’s Yara heuristic detected. https://youtu.be/Q_4i-yOUmXY

    • azha@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      better be safe than sorry so get Clamav and scan your system frequently

    • Forester@pawb.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Most malware is not Linux compatible. However the stuff that is will fuck you over very hard. Get clamav set a cron