Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: Nixorium – NixOS fleet management, in daily use in my school's labs (opens external site)

146 points by zener79 1 day ago github.com 52 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (5)

  1. > 2. No reimage for updates.

    Uh, so when a student gains root from a local exploit - they are free to install a persistent backdoor - at bios/UEFI or grub/kernel level?

    Replies (2)
    1. Fair point, a NixOS update doesn't clean a machine where someone already got root, never claimed that. Students have no sudo and their home is reset at every boot, but a local root exploit is still a local root exploit.

      Also reimaging in the old way doesn't save you from a UEFI implant either. We were reimaging maybe twice a year , so if a PC was compromised it could stay like that for months anyway. Now updates are cheap and kernel fixes come in days, not next summer.

      If I suspect something on a PC I can just reinstall it from the network in few minutes.

      Replies (1)
      1. Not sure why, but this reply was flagged.
    2. How would "reimaging" even work when somebody else owns the UEFI?

      Many school PCs fall in the "attacker has physical access" category, eg one can just plug in a USB stick or a physical keylogger. It is near impossible to protect against that comprehensively.

      Replies (1)
      1. It probably be wouldn't.

        I pointed it out, because I seem to recall workstations at the computer labs frequently being hacked - and was wondering if that was considered or not.

        Wasn't hoping for a magic fix.