内存隔离_Windows 10中的“核心隔离”和“内存完整性”是什么?

Windows 10的2018年4月更新引入了核心隔离和内存完整性,利用虚拟化技术保护操作系统免受篡改。核心隔离默认在满足特定硬件条件的设备上启用,而内存完整性需要手动开启,它增强了代码完整性检查,防止恶意软件篡改系统进程。这两个特性可能与虚拟机软件冲突,导致兼容性问题。
内存隔离

内存隔离

Windows 10’s April 2018 Update brings “Core Isolation” and “Memory Integrity” security features to everyone. These use virtualization-based security to protect your core operating system processes from tampering, but Memory Protection is off by default for people who upgrade.

Windows 10的2018年4月更新为所有人带来了“核心隔离”和“内存完整性”安全功能。 它们使用基于虚拟化的安全性来保护您的核心操作系统进程免遭篡改,但是默认情况下,升级人员的内存保护处于关闭状态。

什么是核心隔离? (What is Core Isolation?)

In the original release of Windows 10, virtualization-based security (VBS) features were only available on Enterprise editions of Windows 10 as part of “Device Guard.” With the April 2018 Update, Core Isolation brings some virtualization-based security features to all editions of Windows 10.

在Windows 10的原始版本中, 基于虚拟化的安全性 (VBS)功能仅在Windows 10企业版中作为“ Device Guard”的一部分提供。 通过2018年4月更新,核心隔离为Windows 10的所有版本带来了一些基于虚拟化的安全功能。

Some Core Isolation features are enabled by default on Windows 10 PCs that meet certain hardware and firmware requirements, including having a 64-bit CPU and TPM 2.0 chip. It also requires your PC supports the Intel VT-x or AMD-V virtualization technology, and that it’s enabled in your PC’s UEFI settings.

在满足特定硬件和固件要求的 Windows 10 PC上,默认情况下会启用某些核心隔离功能,包括具有64位CPUTPM 2.0芯片 。 它还要求您的PC支持Intel VT-x或AMD-V虚拟化技术,并且已在PC的UEFI设置中启用了该技术。

When these features are enabled, Windows uses hardware virtualization features to create a secure area of system memory that’s isolated from the normal operating system. Windows can run system processes and security software in this secure area. This protects important operating system processes from being tampered with by anything running outside the secure area.

启用这些功能后,Windows将使用硬件虚拟化功能来创建与正常操作系统隔离的系统内存的安全区域。 Windows可以在此安全区域中运行系统进程和安全软件。 这样可以防止重要的操作系统进程受到安全区域外部运行的任何内容的篡改。

Even if malware is running on your PC and knows an exploit that should allow it to crack these Windows processes, the virtualization-based security is an additional layer of protection that will isolate them from attack.

即使您的PC上正在运行恶意软件,并且知道应该允许它破解这些Windows进程的漏洞利用,基于虚拟化的安全性也是附加的保护层,可以使它们免受攻击。

什么是内存完整性? (What Is Memory Integrity?)

The feature known as “Memory Integrity” in Windows 10’s interface is also known as “Hypervisor protected Code Integrity” (HVCI) in Microsoft’s documentation.

Windows 10界面中称为“内存完整性”的功能在Microsoft文档中也称为“ Hypervisor保护的代码完整性”(HVCI)。

Memory Integrity is disabled by default on PCs that upgraded to the April 2018 Update, but you can enable it. It will be enabled by default on new installations of Windows 10 going forward.

在升级到2018年4月更新的PC上,默认情况下禁用内存完整性,但您可以启用它。 默认情况下,以后将在Windows 10的新安装中启用该功能。

This feature is a subset of Core Isolation. Windows normally requires digital signatures for device drivers and other code that runs in low-level Windows kernel mode. This ensures they haven’t been tampered with by malware. When “Memory Integrity” is enabled, the “code integrity service” in Windows runs inside the hypervisor-protected container created by Core Isolation. This should make it nearly impossible for malware to tamper with the code integrity checks and gain access to the Windows kernel.

此功能是核心隔离的子集。 Windows通常要求设备驱动程序和在低级Windows内核模式下运行的其他代码具有数字签名 。 这确保了它们不会被恶意软件篡改。 启用“内存完整性”后,Windows中的“代码完整性服务”将在由Core Isolation创建的受管理程序保护的容器中运行。 这应该使恶意软件几乎不可能篡改代码完整性检查并获得对Windows内核的访问权限。

虚拟机问题 (Virtual Machine Problems)

As Memory Integrity uses the system’s virtualization hardware, it’s incompatible with virtual machine programs like VirtualBox or VMware. Only one application can use this hardware at a time.

由于Memory Integrity使用系统的虚拟化硬件,因此与VirtualBox或VMware等虚拟机程序不兼容。 一次只有一个应用程序可以使用此硬件。

You may see a message saying Intel VT-X or AMD-V is not enabled or available if you install a virtual machine program on a system with Memory Integrity enabled. In VirtualBox, you may see the error message “Raw-mode is unavailable courtesy of Hyper-V” while Memory Protection is enabled.

如果在启用了内存完整性的系统上安装虚拟机程序,则可能会看到一条消息,说明未启用或不支持Intel VT-X或AMD-V。 在VirtualBox中,启用内存保护后,您可能会看到错误消息“原始模式不适用于Hyper-V”。

Either way, if you encounter a problem with your virtual machine software, you must disable Memory Integrity to use it.

无论哪种方式,如果您的虚拟机软件遇到问题,都必须禁用“内存完整性”才能使用它。

为什么默认情况下禁用它? (Why Is It Disabled By Default?)

The main Core Isolation feature shouldn’t cause any problems. It’s enabled on all Windows 10 PCs that can support it, and there’s no interface for disabling it.

主要的核心隔离功能不应引起任何问题。 在所有支持该功能的Windows 10 PC上都启用了此功能,并且没有用于禁用它的界面。

However, Memory Integrity protection can cause problems with some device drivers or other low-level Windows applications, which is why it’s disabled by default on upgrades. Microsoft is still pushing developers and device manufacturers to make their drivers and software compatible, which is why it’s enabled by default on new PCs and new installations of Windows 10.

但是,内存完整性保护会导致某些设备驱动程序或其他低级Windows应用程序出现问题,这就是为什么默认情况下在升级时将其禁用的原因。 微软仍在推动开发人员和设备制造商使其驱动程序和软件兼容,这就是为什么默认情况下在新PC和Windows 10的新安装上启用它的原因。

If one of the drivers your PC requires to boot is incompatible with Memory Protection, Windows 10 will silently turn Memory Protection off to ensure your PC can boot and work properly. So, if you try enabling it and reboot only to find it’s still disabled, that’s why.

如果您的PC需要引导的驱动程序之一与内存保护不兼容,则Windows 10会以静默方式关闭内存保护,以确保您的PC可以引导并正常工作。 因此,如果您尝试启用它并仅重新启动以发现它仍然被禁用,这就是原因。

If you encounter problems with other devices or malfunctioning software after enabling Memory Protection, Microsoft recommends checking for updates with the specific application or driver. If no updates are available, turn off Memory Protection.

如果在启用内存保护后遇到其他设备或软件故障的问题,Microsoft建议检查特定应用程序或驱动程序的更新。 如果没有可用的更新,请关闭“内存保护”。

As we mentioned above, Memory Integrity will also be incompatible with some applications that require exclusive access to the system’s virtualization hardware, such as virtual machine programs. Other tools, including some debuggers, also require exclusive access to this hardware and won’t work with Memory Integrity enabled.

如上所述,“内存完整性”也将与某些需要独占访问系统虚拟化硬件的应用程序(例如虚拟机程序)不兼容。 其他工具(包括某些调试器)也需要对此硬件具有独占访问权,并且在启用内存完整性的情况下无法使用。

如何启用核心隔离内存完整性 (How to Enable Core Isolation Memory Integrity)

You can see whether your PC has Core Isolation features enabled and toggle Memory Protection on or off from the Windows Defender Security Center application. (This tool will be renamed “Windows Security” as part of the October 2018 Update.)

您可以查看您的PC是否启用了核心隔离功能,并可以从Windows Defender安全中心应用程序打开或关闭“内存保护”。 (此工具将作为2018年10月更新的一部分重命名为“ Windows安全性”。)

To open it, search for “Windows Defender Security Center” in your Start menu or head to Settings > Update & Security > Windows Security > Open Windows Defender Security Center.

要打开它,请在“开始”菜单中搜索“ Windows Defender安全中心”,或转到“设置”>“更新和安全性”>“ Windows安全性”>“打开Windows Defender安全中心”。

Click the “Device Security” icon in the Security Center.

单击安全中心中的“设备安全性”图标。

If Core Isolation is enabled on your PC’s hardware, you’ll see the message “Virtualization-based security is running to protect the core parts of your device” here.

如果在PC的硬件上启用了核心隔离,则将在此处看到消息“正在运行基于虚拟化的安全性以保护设备的核心部分”。

To enable (or disable) Memory Protection, click the “Core Isolation Details” link.

要启用(或禁用)内存保护,请单击“ Core Isolation Details”链接。

This screen shows you whether Memory Integrity is enabled or not. That’s the only option here for now.

该屏幕显示是否启用了内存完整性。 这是目前唯一的选择。

To enable Memory Integrity, flip the switch to “On.” If you encounter application or device problems and need to disable Memory Integrity, return here and flip the switch to “Off.”

要启用内存完整性,请将开关拨到“开”。 如果遇到应用程序或设备问题,并且需要禁用“内存完整性”,请返回此处并将开关拨至“关”。

You’ll be prompted to restart your computer, and the change will only take effect once you have.

系统将提示您重新启动计算机,并且更改仅在您生效后才生效。

更多Windows Defender漏洞利用防护功能 (More Windows Defender Exploit Guard Features)

Core Isolation and Memory Integrity are some of the many new security features Microsoft has added as part of Windows Defender Exploit Guard. This is a collection of features designed to secure Windows against attack.

核心隔离和内存完整性是Microsoft作为Windows Defender Exploit Guard的一部分添加的许多新安全功能中的一些。 这是旨在保护Windows免受攻击的功能的集合。

Exploit protection, which protects your operating system and applications from many types of exploits, is enabled by default. This replaces Microsoft’s old EMET tool, and includes anti-exploit features we previously recommended installing Malware Anti-Exploit for. All Windows 10 users now have exploit protection.

默认情况下启用了漏洞利用保护功能 ,可以保护操作系统和应用程序免受多种类型的漏洞利用。 它取代了Microsoft的旧EMET工具 ,并包含了我们先前建议为其安装恶意软件反利用功能的反利用功能。 现在,所有Windows 10用户都具有漏洞利用保护功能。

There’s also Controlled Folder Access, which protects your files from ransomware. It’s not enabled by default because it requires some configuration. If you enable this feature, you’ll have to allow applications access before they can access files in your personal file folders.

还有“ 受控文件夹访问” ,可保护您的文件免遭勒索软件的侵害。 默认情况下未启用它,因为它需要一些配置。 如果启用此功能,则必须先允许应用程序访问,然后才能访问您个人文件夹中的文件。



Going forward, Memory Integrity will be enabled by default on all new PCs, providing additional protection against attacks. Only advanced users who use virtual machine software and other tools that require access to the system virtualization hardware will have to disable it.

展望未来,默认情况下,将在所有新PC上启用Memory Integrity,以提供针对攻击的额外保护。 只有使用需要访问系统虚拟化硬件的虚拟机软件和其他工具的高级用户才必须禁用它。

翻译自: https://www.howtogeek.com/357757/what-are-core-isolation-and-memory-integrity-in-windows-10/

内存隔离

虚拟化架构中良好的隔离性、相对于操作系统来说更高的抽象层次以及更小的可信计算基等特性为解决安全领域中的旧难題提供了新思路。但是虛拟化技术在为用户带来方便的同时,也为恶意程序提供了更多的攻击路径以及攻击面,虚拟化安全问题亟待解Rootkit攻击是虚拟化安全面临的主要威胁之一,恶意程序利用 Rootkit技术隐藏自身来躲避安全工具的监测,并且利用系统的缺陷攻击系统。而内核级 Rootkit运行于内核空间,具备更高的权限,它通过对虚拟机内核完整性的破坏试图控制整个系统运行严重威胁着虚拟机内核的安全。   针对虚拟机内核完整性保护问题,提出了一种被动保护的方式,利用硬件虚拟化扩展机制截获特权指令、敏感指令中断。为了保护内核数据、代码以及关键寄存器方面为关键的内核数据与代码创建隔离的IEPT页表并设置页表的访问权限,使其运行在独立隔离的地址空间内。一方面利用硬件虚拟化的“陷入”机制使得关键寄存器一旦被篡改便下陷到VMM,阻止内核级 Rootkit的恶意攻击,保障内核数据的完整性在虛拟机内核完整性检测方面,提出了一种主动检测隐藏进程的方法,通过监控内核动态数据的内存分配与释放,构建内棱对象的映射关系,通过截获系统调用,构建目标虚拟机的进程视图,通过交叉对比的方式发现隐藏进程。   本文提出的虚拟机内核数据完整性保护与检测模块从被动监控与主动检测两方正保障了运行时的虛拟机内核数据的完整性。实验结果表明本文方法能够检测出常见的内核级 Rootkit,并能阻止其对系统的恶意篡改,性能开销控制在6%以内,在提升安全性的同时,不会对性能产生明显的影响
### Windows 11 内核隔离内存完整性概述 Windows 11 的 **内核隔离** **内存完整性** 是操作系统中的两项重要安全功能,旨在通过增强系统的安全性来防止恶意软件攻击核心组件。 - **内核隔离** 提供了一个虚拟化的环境,在此环境中运行关键的操作系统进程,从而保护它们免受潜在的安全威胁[^1]。 - **内存完整性** 则进一步加强了这一机制,阻止未签名或不可信的驱动程序加载到操作系统的内核中,有效减少漏洞利用的可能性[^2]。 当启用这些功能时,某些老旧或未经认证的硬件驱动可能无法正常工作,进而引发诸如蓝屏等问题。因此,合理配置这两项功能对于提升系统稳定性至关重要。 --- ### 配置方法详解 #### 方法一:通过图形界面调整设置 用户可以通过以下路径手动关闭或开启相关选项: 1. 打开 **设置 (Settings)** → **隐私与安全 (Privacy & Security)** → **Windows 安全中心 (Windows Security)**。 2. 转至 **设备安全性 (Device security)** 下找到 **内核隔离 (Core isolation)** 设置入口。 3. 在子菜单下切换 **内存完整性 (Memory integrity)** 开关状态以适应实际需求。 如果遇到因不兼容驱动引起的崩溃现象,则需按照如下步骤排查并解决问题: - 使用 **设备管理器 (Device Manager)** 查找标记有警告标志 (!) 的项目; - 右键点击目标条目选择卸载设备,并勾选“删除与此设备关联的驱动程序软件”复选框完成彻底清理动作; #### 方法二:借助命令行工具深入干预 针对部分顽固型文件难以直接移除的情况,可以尝试采用管理员权限下的 PowerShell 或 CMD 来执行特定指令实现强制清除目的: ```powershell Remove-WindowsDriver -Path C:\Windows\System32\DriverStore\FileRepository -DriverID "xusb21.sys" ``` 上述脚本片段展示了如何定位指定驱动(`xusb21.sys`)并通过内置函数将其从存储库中剔除的方法之一[^4]。注意替换参数值匹配具体场景所需处理对象前应充分验证准确性以免误删其他必要模块造成更大范围影响。 另外值得注意的是像荣耀或者华为品牌旗下的移动终端产品所提供的官方配套客户端安装包里往往包含了定制版USB桥接方案,默认情况下此类第三方插件未必完全遵循微软最新标准规范所以容易成为冲突源点所在位置需要额外留意加以甄别确认后再做决定是否保留继续沿用还是寻找替代品解决方案[^3]。 --- ### 总结建议 综合考虑个人计算机的具体软硬件搭配情况灵活运用以上介绍的各种技巧手段既能保障享受现代化防护体系带来的好处又能规避不必要的麻烦困扰达到最佳平衡效果。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值