• XTornado
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    10 months ago

    I mean… this already happens now if you leave the PC open or in sleep, for example with bitlocker.

    And I guess in this case it could allow when shutdown if the memory has not been cleared… But most of the time that is not a problem, most people aren’t attacked by pulling the info directly from the hardware.

    And in case that is a possible attack, I expect a mechanism of the app(s) to clear that region on shutdown or whatever is done or even better maybe the OS would do it as part of the existing memory protection mechanisms. I mean most apps already clear the memory as soon as possible if it is not needed to avoid having secrets or unencrypted information on memory.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      3
      ·
      10 months ago

      I didn’t actually look more closely at how this works, but some kinds of memory are hard to safely erase. If I had to use this, I’d make sure there was a secure wipe of the whole thing minus whatever the system itself is using at shutdown.

      It wouldn’t completely break security, if that even makes sense as a concept, but it wouldn’t help. Hardware security is the strongest kind.

      • maxprime
        link
        fedilink
        arrow-up
        1
        ·
        10 months ago

        Or you could encrypt the snapshot before it goes to sleep.

          • ricecake@beehaw.org
            link
            fedilink
            arrow-up
            3
            ·
            10 months ago

            This is already a thing we need to deal with, security wise. An application making use of encryption doesn’t know the condition of what it views as ram, and it could very well be transferred to a durable medium due to memory pressure. Same thing with hibernation as opposed to suspension.

            Depending on your application and how sensitive it is, there are different steps you can take to deal with stuff like that.