Does NVidia plan to encrypt VRAM?

Discussion in 'Videocards - NVIDIA GeForce' started by OpenSource Ghost, Sep 19, 2023.

  1. OpenSource Ghost

    OpenSource Ghost Member

    Messages:
    47
    Likes Received:
    6
    GPU:
    RTX 3090 Ti
    Disk encryption can be bypassed with cold boot attacks that obtain decryption keys.
    Solutions are:
    - TPM + BitLocker + Enhanced PIN
    - VeraCrypt + VeraCrypt's encryption of disk decryption keys stored in RAM
    - AMD's full RAM encryption
    - Intel's planned full RAM encryption for future CPU's

    Information stored in VRAM, such as viewed/unhidden passwords/keys, can also be extracted from that VRAM.

    Does NVidia (or AMD) plan on allowing users to encrypt VRAM in the future? Is there a way to purge/clean VRAM? I guess running benchmarks/games with heavy VRAM consumption can help clear some VRAM from past data, but that is not a secure solution.

    RAM encryption barely affects performance with AMD CPU's. I assume it wouldn't affect GPU performance significantly and if optional, then I don't see why someone would complain about introduction of such a feature.
     
  2. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,166
    Likes Received:
    13,139
    GPU:
    GF RTX 4070
    I doubt information is stored in VRAM. User always sees active frame buffer - whatever he does at the moment. So when user enters password on some app he sees the active frame buffer, but when user leaves the app`s screen where he entered password the active frame buffer shows current screen - without password, so the screen with password was erased/preempted with new current screen.

    I mean the screen image is not a 3D object like shader, it does not require to load into VRAM for later usage.
     
  3. Astyanax

    Astyanax Ancient Guru

    Messages:
    16,680
    Likes Received:
    7,092
    GPU:
    GTX 1080ti
    Vulnerable information can be obtained from vram and gpu cache

    https://security.stackexchange.com/questions/177049/spectre-meltdown-on-a-gpu
     
  4. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,166
    Likes Received:
    13,139
    GPU:
    GF RTX 4070

  5. Astyanax

    Astyanax Ancient Guru

    Messages:
    16,680
    Likes Received:
    7,092
    GPU:
    GTX 1080ti
  6. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,166
    Likes Received:
    13,139
    GPU:
    GF RTX 4070
  7. RealNC

    RealNC Ancient Guru

    Messages:
    4,387
    Likes Received:
    2,613
    GPU:
    EVGA GTX 980 Ti FTW
    Maybe the framebuffer? Your desktop for example, or parts of your desktop while you're logged in to your bank account with your browser and your sensitive information visible.

    Just guessing.
     
  8. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,166
    Likes Received:
    13,139
    GPU:
    GF RTX 4070
    That`s my guess too. But (1) framebuffer exists in RAM too, (2) password is usually displayed by '*' characters, (3) the time you look to screen with bank account (for example) is limited, (4) people moved to smartphones and apps for smartphones, (5) screenshot is much harder to analyze comparing to textual information (which can be obtained from browser, from network strack, from phishing site, etc).
     
    Last edited: Sep 21, 2023
  9. Astyanax

    Astyanax Ancient Guru

    Messages:
    16,680
    Likes Received:
    7,092
    GPU:
    GTX 1080ti
    This copy was eliminated for D2D/D3D(DXGI), it might still be there for GDI though, which is what you would get if you disabled hardware acceleration in the app.
     
  10. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,166
    Likes Received:
    13,139
    GPU:
    GF RTX 4070
    What do you mean? CPU builds framebuffer in RAM and then - with a flip - it is copied to VRAM. That`s my understanding. You imply that CPU builds framebuffer right in VRAM, right?
     

  11. Astyanax

    Astyanax Ancient Guru

    Messages:
    16,680
    Likes Received:
    7,092
    GPU:
    GTX 1080ti
    CPU prepares commands, gpu builds framebuffer based on those commands.

    its why EFB read/write mechanics are so hard to get right in emulators.
     
  12. alanm

    alanm Ancient Guru

    Messages:
    12,055
    Likes Received:
    4,185
    GPU:
    RTX 4080
    Encrypting vram wont protect against pixel stealing.

    A new side-channel vulnerability affecting all GPU vendors may deliver private information to malicious websites without user consent. According to research hailing from the University of Texas at Austin, the new vulnerability has been shown to allow for the recovery of private, sensitive information such as usernames, passwords, and other elements. The scope of the vulnerability is so severe that it allows malicious websites to reconstruct the GPU-generated pixel rendering of another website (and the credentials used to access it). The researchers say the overall threat from the attack is low but that it is important that companies work to mitigate the issue in hardware and software...

    https://www.tomshardware.com/news/p...s-vulnerable-to-pixel-stealing-gpu-zip-attack
     

Share This Page