吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 264|回复: 0
收起左侧

[求助] Metasploit 自带的两个 MS17-010 EternalBlue module 不能直接攻破新安装的32位win7

[复制链接]
libc 发表于 2026-6-13 04:11
用该洞练习一下msf,没想到居然没一次成功。不知发这个版块对不对,错了请多担待。

ENV: host: Kali linux, target: 全新安装 windows 7 ultimate SP1 32bits

两个术语,SMB 协议允许客户端访问服务器上的共享资源(share)和命名管道(named pipe)。
共享资源可以是文件夹、打印机等,而命名管道是一种特殊的通信机制,允许不同进程之间进行通信。

首先需要target上445端口运行着SMBv1协议,且防火墙允许TCP 445入向流量。
该版本win7自带SMBv1功能且默认自动在445端口运行,防火墙默认private network上允许445入向。
所以只要host能在和target相同的子网,就没问题。

exploit/windows/smb/ms17_010_eternalblue 这个只能针对x64系统,Arch 写了 x64。
对32位(x86)的只能用 exploit/windows/smb/ms17_010_psexec。
后者要求option指定 named pipe(有默认的字典文件)。

一番尝试,发现后者必须要改target的组策略(改完exploit能连上默认字典文件第一个 named pipe "\netlogon"):
gpedit.msc → Computer Configuration → Windows Settings → Security Settings → Local Policies → Security Options
Network access: Restrict anonymous access to Named Pipes and Shares = Disabled
这个默认为 Enabled,必须要改成 Disabled

查一下该组策略的文档:
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/network-access-restrict-anonymous-access-to-named-pipes-and-shares
Enabling this policy setting restricts null session access to unauthenticated users to all server pipes and shared folders except those server pipes and shared folders listed in the NullSessionPipes and NullSessionShares registry entries.
所以这个不改成Disabled也行,但是要改另外两个组策略,而且host要猜对pipe名字:
Network access: Shares that can be accessed anonymously
Network access: Named Pipes that can be accessed anonymously

搜了下网上的教程都是用的 exploit/windows/smb/ms17_010_eternalblue,不清楚这个是否能不动配置攻破新安装 x64 win7。
请问各位有没有针对x86且不需要改组策略的MS17-010 module?

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - 52pojie.cn ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2026-8-7 12:52

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表