1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00
Files
VeraCrypt/doc/html/zh-cn/Unencrypted Data in RAM.html
2025-04-27 23:33:08 +09:00

70 lines
7.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - 为偏执者提供强大安全保障的免费开源磁盘加密工具</title>
<meta name="description" content="VeraCrypt是一款适用于Windows、Mac OS X和Linux的免费开源磁盘加密软件。在攻击者强迫您透露密码的情况下VeraCrypt提供了似是而非的否认机制。与文件加密不同VeraCrypt进行的数据加密是实时即时、自动、透明的所需内存极少且不涉及临时未加密文件。"/>
<meta name="keywords" content="加密, 安全"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">主页</a></li>
<li><a href="Code.html">源代码</a></li>
<li><a href="Downloads.html">下载</a></li>
<li><a class="active" href="Documentation.html">文档</a></li>
<li><a href="Donation.html">捐赠</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">论坛</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">文档</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Security%20Requirements%20and%20Precautions.html">安全要求与预防措施</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Unencrypted%20Data%20in%20RAM.html">内存中的未加密数据</a>
</p></div>
<div class="wikidoc">
<h1>内存中的未加密数据</h1>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
需要注意的是VeraCrypt是一款<em style="text-align:left">磁盘</em>加密软件它仅对磁盘进行加密而不加密内存RAM
</div>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
请记住大多数程序不会清除其从VeraCrypt卷加载未加密部分文件时所使用的内存区域缓冲区。这意味着在您退出此类程序后它所处理的未加密数据可能会保留在内存RAM直到计算机被关闭并且根据一些研究人员的说法甚至在电源关闭后的一段时间内仍会保留*。此外如果您在文本编辑器中打开存储在VeraCrypt卷上的文件然后对VeraCrypt卷进行强制卸载那么该文件将在文本编辑器使用分配的内存区域RAM中保持未加密状态。这同样适用于强制自动卸载。
</div>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
本质上未加密的主密钥也必须存储在RAM中。当非系统VeraCrypt卷被卸载时VeraCrypt会擦除存储在RAM中的主密钥。当计算机正常重启或正常关机所有非系统VeraCrypt卷会自动卸载因此VeraCrypt驱动程序会擦除存储在RAM中的所有主密钥系统分区/驱动器的主密钥除外 —— 见下文)。然而,当电源突然中断、计算机被重置(非正常重启)或系统崩溃时,<strong style="text-align:left">
VeraCrypt自然会停止运行因此无法</strong>擦除任何密钥或其他敏感数据。此外由于微软没有提供任何用于处理休眠和关机的适当API当计算机休眠、关机或重启时用于系统加密的主密钥无法可靠地实际上也不会从RAM中擦除**。
</div>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
从1.24版本开始VeraCrypt引入了一种机制用于加密RAM中的主密钥和缓存密码。这种RAM加密机制必须在“性能/驱动程序配置”对话框中手动激活。RAM加密会带来一定的性能开销根据CPU速度在5%到15%之间并且会禁用Windows休眠功能。<br>
此外VeraCrypt 1.24及更高版本在使用系统加密时提供了一种额外的安全机制当新设备连接到计算机时该机制会使VeraCrypt从RAM中擦除主密钥。这种额外的机制可以在系统设置对话框中通过一个选项来激活。<br/>
尽管上述两种机制都为主密钥和缓存密码提供了强大的保护但用户仍应采取与保护RAM中敏感数据相关的常规预防措施。
</div>
<table style="border-collapse:separate; border-spacing:0px; text-align:left; font-size:11px; line-height:13px; font-family:Verdana,Arial,Helvetica,sans-serif">
<tbody style="text-align:left">
<tr style="text-align:left">
<td style="text-align:left; font-size:11px; line-height:13px; font-family:Verdana,Arial,Helvetica,sans-serif; color:#ff0000; padding:15px; border:1px solid #000000">
总结来说VeraCrypt <strong style="text-align:left">无法</strong><strong style="text-align:left">不会</strong> 确保RAM中不包含敏感数据例如密码、主密钥或解密后的数据。因此在每次使用VeraCrypt卷或运行加密操作系统的会话结束后您必须关闭计算机或者如果<a href="Hibernation%20File.html" style="text-align:left; color:#0080c0; text-decoration:none.html">
休眠文件</a>已按照<a href="System%20Encryption.html" style="text-align:left; color:#0080c0; text-decoration:none.html">
系统加密</a>的方式进行加密则可以让计算机进入休眠状态然后在再次开机之前让计算机至少断电几分钟时间越长越好。这是清除RAM所必需的操作另见<a href="Hibernation%20File.html" style="text-align:left; color:#0080c0; text-decoration:none.html">
休眠文件</a>部分)。
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<hr align="left" size="1" width="189" style="text-align:left; height:0px; border-width:0px 1px 1px; border-style:solid; border-color:#000000">
<p><span style="text-align:left; font-size:10px; line-height:12px">* 据称在正常工作温度26 - 44 °C数据可保留1.5 - 35秒当内存模块在计算机运行时被冷却到极低温度例如 -50 °C数据可保留长达数小时。截至2008年新型内存模块的数据衰减时间据称比旧型内存模块短得多例如1.5 - 2.5秒)。</span><br style="text-align:left">
<span style="text-align:left; font-size:10px; line-height:12px">** 在从RAM中擦除密钥之前必须先卸载相应的VeraCrypt卷。对于非系统卷这不会导致任何问题。然而由于微软目前没有提供任何用于处理系统关机最后阶段的适当API位于加密系统卷上且在系统关机过程中被卸载的分页文件可能仍然包含有效的换出内存页面包括Windows系统文件的部分内容。这可能会导致“蓝屏”错误。因此为了防止“蓝屏”错误VeraCrypt在系统关机或重启时不会卸载加密系统卷因此也无法清除系统卷的主密钥。</span></p>
</div><div class="ClearBoth"></div></body></html>