Force an immediate BSOD + system reset/shutdown after "Clear encryption keys from memory if a new device is inserted" is triggered
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- c
調査の方向性
The issue identifies the DBT_DEVICEARRIVAL path and VC_IOCTL_EMERGENCY_CLEAR_ALL_KEYS; start by locating that handler and the key-clearing call. Review how the driver handles emergency key clearing and system crash or reset behavior. Done means the requested immediate crash followed by reset or shutdown occurs after keys are wiped, including when Windows automatic reboot is disabled.
索引モデルが issue の本文から書いたものです。
説明
Currently
The documentation (doc/html/en/VeraCrypt RAM Encryption.html) states:
If a new device is inserted, master keys are immediately purged from memory, resulting in a Windows BSOD.
However, when DBT_DEVICEARRIVAL triggers VC_IOCTL_EMERGENCY_CLEAR_ALL_KEYS, VeraCrypt only wipes the encryption keys from RAM and calls WipeCache(). It does not actively force a BSOD or system reset, passively relying on Windows to eventually crash with BSOD when a critical kernel disk I/O request fails.
During practical testing on Windows 10 (32GB RAM), inserting a new USB drive while on the Win+L lock screen successfully triggered key clearing (files on the system drive could no longer be opened), but in ~1/15 tests Windows somehow did not BSOD. Because the OS session, file explorer, thumbnails, folder names, and USB drivers were already cached in RAM, Windows allowed unlocking the screen and remained interactive in memory, even mounting the newly inserted USB drive.
Additionally
Even when a BSOD does occur (which is what happened to me most often), if AutoReboot is disabled in Windows registry settings HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl, the system stays powered on at the blue screen indefinitely with RAM still powered (which can already contain some sensitive data).
Desired behavior
Instead of passively waiting for Windows to fault (BSOD) on disk I/O after VC_IOCTL_EMERGENCY_CLEAR_ALL_KEYS, VeraCrypt should actively force an immediate system crash (BSOD) + instant system reset/shutdown as soon as the encryption keys are wiped.
- 主要言語
- C
- スター
- 11.7k
- フォーク
- 1.4k
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 28
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
veracrypt/VeraCrypt のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 32/100
veracrypt/VeraCrypt#1995 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
veracrypt/VeraCrypt#1991 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
veracrypt/VeraCrypt#1989 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
veracrypt/VeraCrypt の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug game: 01008BA02525A000 ios
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
area/ysql kind/bug priority/medium status/awaiting-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
yugabyte/yugabyte-db#37523 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
ly05010419/MacNativeGames#2079 ·
メンテナーはふだん 1 日以内に返信