Microsoft vulnerabilities threaten Web3 security, with older Windows systems becoming a disaster zone.

Analysis of Serious Vulnerabilities in Microsoft Windows System: Potential Security Risks to Web3 Infrastructure

Last month, Microsoft released a security patch that fixed a win32k privilege escalation vulnerability being exploited in the wild by hacker groups. This vulnerability primarily exists in older versions of Windows and cannot be triggered on Windows 11.

These types of win32k vulnerabilities have existed for a long time. This article will analyze how attackers may continue to exploit this vulnerability in the context of constantly improving security measures. We have conducted a comprehensive analysis in a Windows Server 2016 environment.

Numen Exclusive: Microsoft 0day Vulnerability Can Upend Web3 Game at System + Physical Level

This 0day vulnerability is a serious flaw at the Windows system level, allowing hackers to gain complete control of the system. After an attack, it may lead to severe consequences such as personal information leakage, system crashes, data loss, financial losses, and malware implantation. From a Web3 perspective, users' private keys may be stolen, and digital assets may be transferred. More seriously, this vulnerability could threaten the entire Web3 ecosystem running on Web2 infrastructure.

Numen Exclusive: Microsoft 0day Vulnerability Can Upset Web3 Landscape at System + Physical Level

Patch analysis shows that the issue lies in the reference count of an object being processed multiple times. According to earlier source code comments, previous code only locked the window object, without locking the menu object in the window, which led to the menu object potentially being referenced incorrectly.

Numen Exclusive: Microsoft 0day Vulnerability Can Disrupt Web3 Landscape at System + Physical Level

To reproduce the vulnerability, we constructed a special multi-layer nested menu structure and set specific properties for each menu to pass the system checks. Ultimately, when the xxxRedrawTitle function returns to the user layer, the vulnerability is triggered by removing the reference relationships between the menus.

Numen Exclusive: Microsoft 0day Vulnerability Can Disrupt Web3 Landscape at System + Physical Level

In terms of exploitation, we mainly considered two approaches: executing shellcode and using read-write primitives to modify the token. Considering some security mechanisms on the new system, we chose the latter. The entire exploitation process can be divided into two steps: first, controlling the value of cbwndextra using the UAF vulnerability, and then constructing stable read-write primitives based on this.

Numen Exclusive: Microsoft 0day Vulnerability Can Disrupt Web3 Landscape at System + Physical Level

We achieve control over the target data by using a carefully designed memory layout, along with window objects and HWNDClass objects. Finally, we use the GetMenuBarInfo() and SetClassLongPtr() functions to realize arbitrary read and write.

Numen Exclusive: Microsoft 0day vulnerability can disrupt the Web3 landscape at both the system and physical levels

Overall, although the win32k vulnerability has begun to be restructured with Rust in the Windows 11 preview version, it still poses a serious security risk for older systems. The exploitation process of this vulnerability is relatively simple and mainly relies on the leakage of desktop heap handle addresses. Future detection of such vulnerabilities can focus on abnormal memory layouts and unconventional read and write operations on window data.

Numen Exclusive: Microsoft 0day Vulnerability Can Disrupt Web3 Landscape at System + Physical Levels

Numen Exclusive: Microsoft 0day Vulnerability Can Upend Web3 Landscape on System and Physical Levels

TOKEN-4.48%
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 6
  • Repost
  • Share
Comment
0/400
MultiSigFailMastervip
· 08-13 23:01
Have you found the reasons why Win11 is good?
View OriginalReply0
NFTArtisanHQvip
· 08-13 20:51
this vulnerability mirrors the delicate dance between digital sovereignty and systemic fragility... quite the paradigm shift for web3
Reply0
GateUser-40edb63bvip
· 08-13 20:45
Can Win11 still crash?
View OriginalReply0
AltcoinMarathonervip
· 08-13 20:44
just another hurdle in web3's ultra marathon... keep those systems updated anon
Reply0
TokenTaxonomistvip
· 08-13 20:41
statistically speaking, legacy systems are the evolutionary bottleneck of web3... *adjusts spreadsheet*
Reply0
TradFiRefugeevip
· 08-13 20:28
Ha, it's good that I didn't switch my old laptop to Win11.
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)