Serious Windows vulnerability may affect Web3 security, Microsoft has fixed the privilege escalation risk in early systems.

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

Last month, Microsoft released a security patch that fixed a Windows privilege escalation vulnerability being exploited by hackers. This vulnerability only affects earlier versions of Windows systems and cannot be triggered on Windows 11. This article will analyze how attackers continue to exploit this vulnerability in the context of increasingly strengthened security measures.

The analysis process was completed in a Windows Server 2016 environment. These types of undisclosed system vulnerabilities are commonly referred to as "zero-day vulnerabilities", which can be maliciously exploited by hackers without detection, causing significant harm. The recently discovered Windows system-level vulnerability allows hackers to gain full control of the system, thereby stealing personal information, implanting malware, and causing system crashes, among other issues. In severe cases, it could jeopardize the entire Web3 ecosystem based on Web2 infrastructure.

Numen Exclusive: Microsoft 0day vulnerability can disrupt Web3 game on system + physical level

By analyzing the patch, the issue lies in the locking mechanism for window objects and menu objects in the win32k code. The early code only locked the window objects without locking the associated menu objects, which could lead to incorrect references to the menu objects.

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

To reproduce this vulnerability, we constructed a special multi-layer nested menu structure and deleted the reference relationships between some menus at a critical moment. This way, when the kernel function returns to the user layer, a certain menu object will be released, causing subsequent kernel functions to incorrectly reference an invalid object.

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

Exploitation mainly consists of two steps: first, control the window extension data size using the released object, and then use this extended data to achieve stable memory read and write. We achieved the first write by carefully designing the memory layout and utilizing the data between adjacent objects.

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

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

Ultimately, we achieved stable arbitrary memory read and write, which can be used to replace process tokens for privilege escalation. The entire exploitation process mainly relies on the leakage of desktop heap handle addresses, which still poses a security risk for older systems.

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

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

Overall, although Microsoft is refactoring the win32k code with Rust to eliminate such vulnerabilities, threats to existing systems still exist. In the future, detection of abnormal memory operations should be strengthened to identify similar vulnerabilities. Additionally, the issue of desktop heap handle address leakage needs to be thoroughly resolved to enhance the overall security of the system.

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

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
  • 4
  • Share
Comment
0/400
ruggedNotShruggedvip
· 11h ago
Upgrade to Win11 in a simple and straightforward way.
View OriginalReply0
AirdropHuntressvip
· 11h ago
The Shadow of Lost Moments in the Data Preparation Chat Room
View OriginalReply0
FlatlineTradervip
· 11h ago
Bull and sheep must get through the winter, the web3 crypto world has collapsed.
View OriginalReply0
DeFiDoctorvip
· 12h ago
It is recommended to regularly conduct health check-ups on web2 infrastructure to assess infection risk indicators.
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)