Force an immediate BSOD + system reset/shutdown after "Clear encryption keys from memory if a new device is inserted" is triggered
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c
- Lĩnh vực
- operating-systems, security
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C
- Star
- 11.7k
- Fork
- 1.4k
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của veracrypt/VeraCrypt
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 32/100
veracrypt/VeraCrypt#1995 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Cache password no longer worksĐang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
veracrypt/VeraCrypt#1991 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
veracrypt/VeraCrypt#1989 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của veracrypt/VeraCrypt
Issue tương tự
-
Signed/unsigned mix in the EOCD backward scan rejects valid archives with a 65535-byte commentĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug game: 01008BA02525A000 ios
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/ysql kind/bug priority/medium status/awaiting-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
yugabyte/yugabyte-db#37523 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
ly05010419/MacNativeGames#2079 ·
Maintainer thường phản hồi trong vòng 1 ngày