• DarkCloud@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    49
    ·
    edit-2
    12 hours ago

    Linux’s “security through obscurity” was never going to last.

    Edit: it’s a common concept in hacking. Shorthand for a type of security through improbability.

    • Natanox@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      1
      ·
      5 hours ago

      I don’t know where you got the notion from that Linux as a whole uses this concept, but it’s nonsense. There’s exactly one place where this definition fits, which is the GRUB bootloader encryption (which merely shifts the target for the Evil Maid attack from the initramfs to GRUB). But this is already adressed with Verified Boot.

      Nothing else, let it be LUKS, PAM, SELinux, AppArmor or whatever has any business with STO.

      • DarkCloud@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        11
        ·
        4 hours ago

        From the fact it used to have to smallest user base of the big three. Less users = less probability of a nefarious person.

        It’s really not that difficult a concept. I’m surprised people here are asking what it is.

        • Natanox@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          6
          ·
          3 hours ago

          That doesn’t make any sense as argument no matter how you spin it. Linux is the dominant system for servers for decades now, and a Debian Desktop is quite literally the same as Debian on a server except it also got a GUI of your choice slapped on top. There’s absolutely nothing obscure about it, neither did anyone from the kernel team (Linux), FSF (GNU utils) nor IBM / Red Hat (systemd & honestly way too much other stuff) etc. ever design something around STO. That’s a domain firmly situated in proprietary code since for FOSS it doesn’t make sense to begin with. The false errand of GRUB is the sole exception, well known and solved.

          The desktop market share says absolutely nothing about what you’re trying to argue. Now if you were to argue that Linux is lacking in terms of desktop software isolation then you’d have a point, things like Flatpak still are addressing lots of issues. But to say “Linux” approaches security with obscurity is total nonsense.

    • Ooops@feddit.org
      link
      fedilink
      English
      arrow-up
      59
      arrow-down
      3
      ·
      15 hours ago

      There was never an actual notion of “security through obscurity”. LInux runs the complete Internet and most coporate server infrastructure. That’s where the actual money is.

      People hallucinating that Linux is something obscure simply have no clue and confused their home desktop for real computing. Windows desktops are constantly targeted not because they are -unlike Linux- so wide-spread but because they are already insanely insecure. They are the low hanging fruit where you can cobble together some cheap shit and will still find million of PCs vulnerable. If you want to find a Linux comparison it’s definitely not server or desktops but cheap IoT devices not having seen an update (or any security to speak of) for many years.

      For reference: We are talking about guests in a virtual pc escaping it’s container. That’s not something obcure. That’s basically all cloud hoster’s whole business model, thus the reason Google pays a lot of money for finding such exploits.

      • egregiousRac@piefed.social
        link
        fedilink
        English
        arrow-up
        17
        arrow-down
        1
        ·
        13 hours ago

        Windows desktops are targeted because any place you have a user, you have a vulnerability. The vast majority of Linux installs are servers with extremely limited user activity, which narrows the attack vectors significantly.

        • Ooops@feddit.org
          link
          fedilink
          English
          arrow-up
          7
          ·
          2 hours ago

          You are right. I don’t know what your personal definition of “security through obscurity” is as it’s very obviously not matching actual reality.

    • Clearwater@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      2
      ·
      16 hours ago

      Security through what now?

      Well, I guess it is obscure… Though only because the number of people who have a full grasp on how the code works is highly limited.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      8
      ·
      10 hours ago

      The self-hosted crowd thinks reverse proxies protect you from the Internet. Don’t expect too much of them.

      • nibbler@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        45 minutes ago

        The selfhosted guys are correct with that. Of course its not a magic pill, but it can help to minimize the attack surface immensely with little effort.

        Edit: while open ports can easily be enumerated, a reverse proxy often requires knowledge of the right server name. In tls1.3 those are not transferred in clear. Depending on your thread scenario you might want to consider doh/dot etc.

        Reverse proxies can require client certs, which lift the security benefit to something like a vpn. Even basic auth adds a high threshold to attackers and is simple even for random users to work with. All this is functionality many services don’t offer natively - as they assume a reverse proxy anyway I guess.

        • atzanteol@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          3
          ·
          edit-2
          36 minutes ago

          See what I mean?

          As if a proxy blindly passing traffic directly to a backend server “reduces attack surface” in any meaningful way. 🙄

          Edit: Guy edits his post with a bunch of stuff and assumes I’ve read it later. I can’t eyeroll enough…

          1. You’ve increased your “attack surface” by adding a second application to the stack. Proxies aren’t magic, they are also targets.
          2. Sure - you can do those things on a proxy. How many people here are? And why are those things never suggested when people here say “use a reverse proxy”? Because they think the proxy is the security.
          • nibbler@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            1 hour ago

            Did you just add ‘blindly passing traffic’ to your statement? Did you read my comment about can help?

            Move on, joker.

            • atzanteol@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              2
              ·
              46 minutes ago

              Sorry - which part of your comment added anything of value? “can help to minimize the attack surface”? 99% of the time a proxy just passes traffic through. Unless you’re talking about a WAF which is a) a different thing and b) NOT what any home gamers are talking about when they recommend nginx, traefik, etc. to newbs.