日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) >

SMB协议漏洞分析

發(fā)布時(shí)間:2025/4/16 74 豆豆
生活随笔 收集整理的這篇文章主要介紹了 SMB协议漏洞分析 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

SMB協(xié)議漏洞分析


2017年,勒索病毒W(wǎng)annaCry和Petya利用SMB 1.0暴露的漏洞,利用Windows操作系統(tǒng)445端口進(jìn)行傳播。

不同SMB版本在Windows出現(xiàn)的順序:

  • CIFS – Windows NT 4.0
  • SMB 1.0 – Windows 2000
  • SMB 2.0 – Windows Server 2008 and Windows Vista SP1
  • SMB 2.1 – Windows Server 2008 R2 and Windows 7
  • SMB 3.0 – Windows Server 2012 and Windows 8
  • Smb 3.02 – Windows Server 2012 R2 and Windows 8.1


客戶(hù)端和服務(wù)器SMB版本兼容性列表:

操作系統(tǒng)

Windows 8.1,
Server 2012 R2

Windows 8,
Server 2012

Windows 7,
Server 2008 R2

Windows Vista,
Server 2008

Windows XP, Server 2003 and earlier

Windows 8.1 ,
Server 2012 R2

SMB 3.02

SMB 3.0

SMB 2.1

SMB 2.0

SMB 1.0

Windows 8 ,
Server 2012

SMB 3.0

SMB 3.0

SMB 2.1

SMB 2.0

SMB 1.0

Windows 7,
Server 2008 R2

SMB 2.1

SMB 2.1

SMB 2.1

SMB 2.0

SMB 1.0

Windows Vista,
Server 2008

SMB 2.0

SMB 2.0

SMB 2.0

SMB 2.0

SMB 1.0

Windows XP, 2003 and earlier

SMB 1.0

SMB 1.0

SMB 1.0

SMB 1.0

SMB 1.0


我們的生產(chǎn)環(huán)境都是Windows Server 2012 R2,下面是SMB Server和SMB Client對(duì)應(yīng)的服務(wù):

LanmanServer

LanmanWorkstation

可以看到都不支持SMB 1.0驅(qū)動(dòng)。


嘗試修改Windows Server 2012 R2的445端口

嘗試使用Windows Server 2003修改445端口的方式,修改端口為48322

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Smb]

"SessionPort"=dword:0000bcc2

"DatagramPort"=dword:0000bcc2

重啟服務(wù)器后,查看到依然監(jiān)聽(tīng)在445端口,UNC仍能訪問(wèn)。說(shuō)明修改端口失敗。該方式只能用在SMB 1.0版本時(shí)代。

總結(jié)

以上是生活随笔為你收集整理的SMB协议漏洞分析的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。