甲亢可以吃什么水果| 下面痒是什么原因女性| 儿童咽峡炎吃什么药| 苦甲水是什么| 偏光镜片是什么意思| 什么病不能吃鸡蛋| 木薯淀粉可以用什么代替| 落花生为什么叫落花生| 张三李四王五赵六后面是什么| 浅卡其色裤子配什么颜色上衣| 筋膜炎挂什么科| 处子之身是什么意思| 丹参是什么样子的图片| 百思不得其解什么意思| 阑尾炎能吃什么水果| 不务正业是什么意思| 亨廷顿舞蹈症是什么病| 肺和大肠相表里是什么意思| 唐僧肉是什么意思| 日加华念什么| 女字旁一个朱念什么| 生姜能治什么病| 长脸适合什么刘海| 年轻人为什么会低血压| 什么事情只能用一只手去做| 鲱鱼罐头为什么这么臭| 神经痛用什么药| 狗狗不吃饭是什么原因| 单核细胞偏高说明什么| 脑血管堵塞吃什么药最好| 胃病吃什么药最好| 打边炉是什么| 负压是什么意思| 散漫是什么意思| 胰腺管扩张是什么原因| 手心脚心发热是什么原因| 牙齿深覆合是什么意思| 风湿性关节炎什么症状| 听调不听宣什么意思| 胸一大一小什么原因| 风热感冒吃什么药好| 心电图能检查出什么病| 捉代表什么生肖| 吃什么可以提高新陈代谢| 中产阶级的标准是什么| 此贝是什么字| 1996年什么命| 吃什么开胃| 獭尾肝是什么意思| 黑鸟是什么鸟| 阿胶配什么吃不上火| pubg是什么意思| mr是什么的缩写| 得失是什么意思| 什么蛋不能吃| 1978年五行属什么| neu是什么意思| 热毒是什么| 煨是什么意思| 无什么什么什么| 女人什么时候绝经正常| 1969年属什么| 薄荷有什么功效和作用| 呕吐拉肚子吃什么药| 什么是蚕豆病| 50年是什么婚| 念五行属什么| 纤维是什么意思| 驳是什么意思| 尿隐血阴性是什么意思| 14时是什么时辰| 梦见白蛇是什么预兆| 过期的牛奶有什么用途| 蒲公英的约定表达什么| 51号元素是什么意思| 穷书生是什么生肖| 囟门闭合早有什么影响| 床上有横梁有什么害处| 猫五行属什么| 一建什么时候报名| 什么农药最毒| 什么水果减肥| 孕激素六项检查什么时候做| 或缺是什么意思| 地球是什么意思| 什么是指标到校| 肛门有灼烧感什么原因| 感冒扁桃体发炎吃什么药| lcc是什么意思| 脚酸臭是什么原因| 吃什么可以增加黄体酮| 11月17日是什么星座| 艾灸后皮肤痒出红疙瘩是什么原因| 小便解不出来是什么原因| 县政府党组成员什么级别| 大泽土是什么生肖| 王字旁一个玉读什么| 黄体囊肿是什么| 尿道炎用什么药治疗最好| wbc是什么| 查心梗应该做什么检查| 二月二十三日是什么星座| ddi是什么意思| 痛风吃什么食物好得快| 扁尖是什么| 高原反应有什么症状| 女人腰疼是什么妇科病| 经常手瘾吃什么药| 血管炎不能吃什么食物| 消炎药吃多了有什么副作用| e抗体阳性说明什么| 什么哲理| 食物中毒吃什么药| 黑马比喻什么样的人| 鹿晗有什么歌| 扁桃体发炎是什么症状| 梦见螃蟹是什么预兆| 梦见大山是什么预兆| 顾字五行属什么| 肠癌吃什么药| 吃猪皮有什么好处和坏处| 马齿苋长什么样| 斯密达什么意思| 右下眼皮跳是什么预兆| rrl是什么牌子| 男人沉默了说明什么| 茴三硫片主治什么| 脂肪瘤挂什么科| 合龙是什么意思| 嘴角起痘是什么原因| 位移是什么| 痈肿疮疖是什么意思| 五分类血常规检查什么| 原浆是什么意思| 无创是检查什么| 眼睛红了是什么原因| 一九八八年属什么生肖| 为情所困是什么意思| 做什么生意好赚钱| 乳房痛挂什么科| 甲氰咪胍又叫什么| 太白金星是什么神| 粘纤是什么面料| 吃秋葵有什么禁忌| 女生适合抽什么烟| 较前相仿是什么意思| 中性粒细胞计数偏高是什么意思| 纷乐是什么药| 无痛人流后吃什么对身体恢复比较好| chloe是什么牌子| 状况是什么意思| 夜尿增多是什么原因| 鸡骨草有什么功效| 送礼送什么| 广东有什么特产| 少许纤维灶是什么意思| 孔子孟子什么关系| 邮箱是什么| 老卵上海话什么意思| 发烧适合吃什么食物| 狗女和什么属相最配| 2023年属兔的是什么命| 粉色裤子配什么上衣好看| 吃氨糖有什么好处和坏处| 什么是老年斑图片| 梦见男朋友出轨了是什么意思| 公安局属于什么机关| 尧五行属什么| 散瞳快散和慢散有什么区别| 什么程度才需要做胃镜| b2驾照能开什么车| 花木兰姓什么| 什么东西放进去是硬的拿出来是软的| 花椒和麻椒有什么区别| abcd是什么意思| 一字之师是什么意思| 咖啡是什么| 节育环要什么时候取才是最佳时期| 宝宝发烧挂什么科| 尼特族是什么意思| 止咳吃什么药| 嘴巴苦是什么原因| 小孩为什么吃果糖二磷酸钠| 触霉头是什么意思| 梦见自己的衣服丢了是什么意思| 6月25号是什么星座| 天王星代表什么| 胆囊炎输液用什么药| 出的汗是凉的什么原因| 全身皮肤瘙痒是什么原因引起的| auc是什么意思| 甲状腺囊性结节是什么意思| 知是什么意思| 众星捧月是什么意思| 血小板压积偏低是什么意思| 安眠穴在什么位置| 多少年婚姻是什么婚| 雪花飘飘北风萧萧是什么歌| 相顾无言是什么意思| 手臂上长痣代表什么| 学生吃什么补脑子增强记忆力最快| 喘不上来气是什么原因| 梦见烙饼是什么意思| 关节炎用什么药最好| 牙龈翻瓣术是什么意思| 247什么意思| 什么是佛跳墙| 孕中期同房要注意什么| 7月17日是什么日子| 床垫什么材质的好| 鸡蛋为什么这么便宜| 妈妈的表哥叫什么| 囊肿里面是什么东西| 什么是毒品| 沙门氏菌用什么药最好| ab型和a型生的孩子是什么血型| dcr是什么| 雌二醇是什么意思| 梦见野猪是什么预兆| porridge什么意思| 四月二十五是什么星座| 耳朵内痒是什么原因| 天蝎座是什么象| 宫商角徵羽是什么意思| 一什么手| 补钙多了有什么坏处| sd是什么| 子宫腺肌症是什么原因引起的| 精神内科一般检查什么| 什么是签注| 孕期能吃什么| 甲状腺滤泡性肿瘤是什么意思| 怀孕养猫对胎儿有什么影响| 心电轴不偏是什么意思| 子宫肌瘤吃什么| 什么叫非萎缩性胃炎| 黄芪起什么作用| 黄五行属什么| s.m是什么意思| 白子是什么东西| 什么可以代替人体润滑油| 梦见自己升职了是什么预兆| alp是什么意思| 什么鱼不能吃脑筋急转弯| 尾巴骨疼是什么原因| 霖五行属性是什么| 经血发黑是什么原因| 什么奶粉跟母乳一个味| 肝火旺盛吃什么药效果最好| 中线是什么意思| 老是流眼泪是什么原因| 坐骨神经有什么症状| 什么食物养胃| 足字旁的字跟什么有关| 什么头| 11月20号什么星座| 本来无一物何处惹尘埃是什么意思| 直肠脱垂有什么症状| 眉头有痣代表什么| 发扬什么词语搭配| 肩胛骨缝疼吃什么药| 吃什么减肥最快| 什么是指标到校| 红红的枫叶像什么| 百度
Nudge

How to enable Kernel-mode Hardware-enforced Stack Protection in Windows 11

  • April 25, 2023
  • Read 207,227 times
 

Microsoft Defender logo on a colorful background

Kernel-mode Hardware-enforced Stack Protection is a security feature introduced in Windows 11 22H2 that protects systems from various memory attacks, such as stack buffer overflows.

Microsoft added this feature to Windows 11 22H2 as part of a Microsoft Defender update in April 2023.

When enabled, Kernel-mode Hardware-enforced Stack Protection will enhance the security of Windows by using hardware to enforce stack protection, making it more difficult for attackers to exploit vulnerabilities.

What is Kernel-mode Hardware-enforced Stack Protection?

Windows Kernel-mode Hardware-enforced Stack Protection is a security feature that primarily protects against stack buffer overflow attacks, where an attacker attempts to trigger arbitrary code execution by overflowing a buffer (temporary memory storage) on the stack (a data structure used to store a program's function calls and local variables).

During these attacks, the attacker attempts to overwrite the return address or control data to redirect the execution of a program to run malicious code of the attacker's choosing. 

The technique of overwriting the return address or control data to redirect a program's execution flow is known as a Return-Oriented Programming (ROP) attack.

The Windows Kernel-mode Hardware-enforced Stack Protection feature requires a special hardware-based temporary stack called Shadow Stacks to work.

A Shadow Stack is a temporary memory stack that mirrors the standard stack used by the operating system, and the stack cannot be modified by applications running in Windows.

These Shadow Stacks are used in the following way:

  1. When a program's function is called, the return address is stored in both the normal stack and the Shadow Stack.
  2. When the function returns, the Hardware-enforced Stack Protection feature checks if the return address from the primary stack matches the one stored on the Shadow Stack.
  3. If the return addresses match, the function returns as expected, and the program execution continues normally.
  4. However, if the return addresses do not match, this could indicate an attack, such as a stack buffer overflow or an ROP attack. When this happens, Windows will terminate the process to prevent the execution of malicious code.

Using Shadow Stacks, Hardware-enforced Stack Protection feature can mitigate attacks, thus protecting the system from vulnerabilities, including zero-days.

However, as Shadow Stacks require Intel's Control-Flow Enforcement Technology (CET) technology, the feature is only available on newer CPUs.

Therefore, to use the Windows Kernel-mode Hardware-enforced Stack Protection, a device must have an Intel Tiger Lake CPU or AMD Zen3 CPU and later with CPU virtualization enabled in the BIOS.

How to enable Kernel-mode Hardware-enforced Stack Protection

While the Windows Kernel-mode Hardware-enforced Stack Protection feature can be complicated to understand, enabling the feature is fairly easy.

If you are running Windows 11 22H2 with the latest updates, open Windows Security and go into Device Security > Core Isolation.

If you have the required hardware and CPU virtualization is enabled, you will see a setting called 'Kernel-mode Hardware-enforced Stack Protection,' as shown below.

Kernel-mode Hardware-enforced Stack Protection
Source: BleepingComputer

To enable the feature, simply toggle it to 'On', and Windows will check the loaded device drivers to see if there are any that could conflict with the security feature.

If any conflicting drivers are detected, it will prompt you to review the list of drivers to update to newer versions before you can enable the feature.

Once you update the drivers to the latest versions, you can attempt to enable the feature again and see if there are any further conflicts.

If no conflicting drivers are found, Windows may prompt you to restart the computer to enable the feature.

May cause unexpected behavior

Unfortunately, when this feature is enabled, you may find that specific programs no longer work as their drivers conflict with the Kernel-mode Hardware-enforced Stack Protection feature.

This commonly happens when Windows is unaware of a driver that conflicts with the feature and allows it to be enabled anyway.

While these conflicts could cause Windows to crash, it is more common that the program will no longer launch, and Windows will state the driver is incompatible and prompt you to disable the security feature.

Incompatible driver message
Incompatible driver message
Source: Reddit

Users who have enabled this feature report that many of the conflicts are with copyright protection and anti-cheat drivers used by games, including PUBGValorant (Riot Vanguard), BloodhuntDestiny 2Genshin ImpactPhantasy Star Online 2 (Game Guard) and Dayz.

However, as more users begin to use this Windows security feature, we will likely see upgraded versions of these anti-cheat and copyright protection programs to support stack protection.

Users who read this also read:

  • How to access the Dark Web using the Tor Browser Image
    How to access the Dark Web using the Tor Browser

    This guide will teach you how to install the Tor Browser in Windows easily so you can access the Dark Web or browse the web anonymously. The same general process applies to other operating systems, as Tor is also available for Mac and Linux.    

  • How to use the Windows Registry Editor Image
    How to use the Windows Registry Editor

    The Registry Editor is a powerful application that allows you to access and edit the configuration settings of the Windows operating system. Here's how to use it.

  • How to see hidden files in Windows Image
    How to see hidden files in Windows

    By default Windows hides certain files from being seen with Windows Explorer or My Computer. This is done to protect these files, which are usually system files, from accidentally being modified or deleted by the user. Unfortunately viruses, spyware, and hijackers often hide there files in this way making it hard to find them and then delete them.

  • How to backup and restore the Windows Registry Image
    How to backup and restore the Windows Registry

    The Windows Registry is a crucial component of the Windows operating system that stores configuration settings and options. Therefore, it is always important to make a backup of the Windows Registry before making any changes.

  • How to remove a Trojan, Virus, Worm, or other Malware Image
    How to remove a Trojan, Virus, Worm, or other Malware

    If you use a computer, read the newspaper, or watch the news, you will know about computer viruses or other malware. These are those malicious programs that once they infect your machine will start causing havoc on your computer. What many people do not know is that there are many different types of infections that are categorized in the general category of Malware.

 

Comments:

blog comments powered by Disqus

Login

躁郁症吃什么药 三观是什么 黄鼠狼为什么怕鹅 维生素b12片治什么病 牛肉用什么腌制比较嫩
狗哭了代表什么预兆 为什么叫北洋政府 吃什么解油腻 丹毒病是什么原因引起的 高材生是什么意思
义五行属什么 5.21什么星座 性功能减退吃什么药 psg是什么意思 浸洗是什么意思
发量少适合什么发型 乙状结肠ca是什么意思 tg医学上是什么意思 冥界是什么意思 抗原是什么
离退休是什么意思hcv9jop5ns1r.cn 小金人车标是什么车hcv8jop3ns3r.cn 蛋白尿吃什么药hcv9jop4ns4r.cn 微不足道什么意思hcv8jop4ns5r.cn 蝴蝶是什么变的hcv8jop9ns2r.cn
1958年是什么年xianpinbao.com 10月21日是什么星座hcv8jop8ns0r.cn 广州有什么区hcv8jop9ns7r.cn 96年五行属什么hcv8jop9ns4r.cn 什么是肛瘘hcv8jop5ns7r.cn
吃什么增加免疫力hcv8jop7ns8r.cn npc是什么hcv8jop7ns1r.cn 弹性工作制是什么意思hcv9jop0ns2r.cn 本科生是什么意思hcv8jop6ns5r.cn 大便出血是什么原因0735v.com
铁蛋白高吃什么食物好hcv7jop9ns8r.cn 肾衰透析病人吃什么好hcv8jop5ns6r.cn 补钙最好的食物是什么hcv9jop4ns0r.cn 为什么会经常流鼻血hcv8jop5ns2r.cn 济公叫什么名字hcv9jop1ns7r.cn
百度