绿野

工程师分析 Win11 争议后台服务:用于性能诊断,含 84 个诊断脚本_我的网站

上门女婿

一 |     Colombo, Oct 10 (UNI) There was a 10 per cent increase in remittances from the expatriate Sri Lankan workers in September over the previous month, Minister of Labour and Foreign Employment Manusha Nanayakkara said in remarks published on Monday.
Statistics released by the Central Bank of Sri Lanka (CBSL) on Saturday showed that workers’ remittances increased to $359 million in September, from $325 million in August, The Island newspaper reported.
Compared to July, workers remittances have increased by 29 per cent. This is an increase of $80 million between July and September.
However, workers’ remittances in the first nine months of 2022 were still 43 per cent lower than the remittances in 2021, the Central Bank said.
UNI MR。     8 月 26 日消息,逆向工程师 Xusheng Li 于 8 月 15 日发布博文,深度分析了 Windows Health and Optimized Experiences 服务。

二 | 曾于 8 月 3 日报道,微软为 Win11 系统新增上述后台服务,网友反馈该服务会在电脑每次开机时自启动,持续监控 CPU 使用率、温度和电池情况,并每隔 15 分钟将数据发给微软。微软副总裁斯科特 · 汉塞尔曼回应表示该功能上线于 2025 年,用途主要是采集性能诊断数据。逆向工程师 Xusheng Li 逆向该服务的 whesvc,其结果基本印证了微软的说明,但也发现其底层架构比普通性能诊断工具复杂得多。whesvc 服务的核心功能位于 windiag.dll(229 KB),该动态链接库内嵌 Lua 5.4.7 脚本语言。

三 | 微软还提供 whesvc_assets.dll,其中包含 84 个已编译 Lua 脚本,用于处理不同诊断场景。

四 | 脚本引擎公开了 79 个原生函数,可访问 Windows 的多类系统能力。该服务可以读取和修改 Windows 注册表,执行文件操作,创建并交互进程,查询 WMI(Windows 管理规范),收集 ETW(Windows 事件跟踪)记录,检查安全令牌,获取电源和温度信息,下载符号文件,创建 .cab 文件,并发起 HTTP 请求。服务还提供通用 FFI(外部函数接口),允许脚本调用原生动态链接库,并操作多种 Windows 句柄。不过,Li 没有发现微软利用这些能力随机修改文件或注册表,现有脚本主要执行常规诊断任务。这些脚本可以在应用停止响应后采集跟踪记录,监控输入延迟和显示异常,识别启动缓慢的应用,并检测长期处于挂起状态的服务。

五 | 电源相关模块能够调查电池异常耗电,判断阻止电脑进入睡眠状态的原因,并响应持续的高功耗行为。memory_handle_leak 模块会在多个时间间隔内跟踪内存和句柄数量,再结合连续增长情况与线性回归斜率,区分潜在内存泄漏和正常增长。system_summary 模块会生成 900 秒、即 15 分钟的 JSON 摘要,但文件保存在本地。尽管服务具备网络功能,Li 没有找到任何会实际发起任意 HTTP 请求的场景。相关阅读:。

Current article:http://u7tvq.laonenpeidiebenhuaiyunnangshi.cfd/news/20260826_309851.html

Published on:05:37:28


关于我的网站 | 我的网站动态 | 联系我们 | 法律声明 | 我的网站员工 | 我的网站邮箱 | 网站地图

我的网站版权所有