• jj4211@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    15 hours ago

    The mention of UEFI in this context likely means they are thinking of a deletion recursing through sysfs and by extension deleting all visible UEFI variables which, in some firmware editions and versions, causes it not to be able to get through post or into the setup menu.

    I vaguely recall this and the general issue was very bad firmware design, but it was possible to make it impossible to even reinstall a system. If you were industrious in windows you could have done the same thing, so malware under windows could also brick such platforms.

    Of course rm has more safeguards on it so you have to pass more flags and really really be asking it to try to screw things up.

    • Duamerthrax@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      13 hours ago

      Like you said, it was just some early implementations of UEFI. I haven’t heard of anything like this happening recently.

      • jj4211@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        12 hours ago

        Also the kernel makes those variable immutable by default now, except the well known standard ones, so even for buggy UEFI this is mitigated nowadays. Just pointing out it came from a once legitimate space as a consequence of “everything is a file in a monolithic file namespace”. Which on the one hand is bad if someone uses rm with all sorts of flags to overrule the “you don’t want to do this” protections in the utility. On the other hand what you accidentally managed to do in Linux represented a problem that windows malware could have exploited.

        • Kazumara@discuss.tchncs.de
          link
          fedilink
          arrow-up
          2
          ·
          9 hours ago

          Also the kernel makes those variable immutable by default now

          More specifically it has done that for the last 8 years :-D