SMB协议漏洞传播的示例分析
admin
2023-05-03 12:23:44
0

2017年,勒索病毒WannaCry和Petya利用SMB 1.0暴露的漏洞,利用Windows操作系统445端口进行传播。

不同SMB版本在Windows出现的顺序:

  • 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

客户端和服务器SMB版本兼容性列表:

操作系统

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

我们的生产环境都是Windows Server 2012 R2,下面是SMB Server和SMB Client对应的服务:

LanmanServer

SMB协议漏洞传播的示例分析

LanmanWorkstation

SMB协议漏洞传播的示例分析

可以看到都不支持SMB 1.0驱动。

尝试修改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

重启服务器后,查看到依然监听在445端口,UNC仍能访问。说明修改端口失败。该方式只能用在SMB 1.0版本时代。

相关内容

热门资讯

7月手机推荐:涨价潮下,哪些手... “天天说手机涨价,这个时候买手机,不是大冤种吗?”那你就错了。 自今年3月起,因为成本压力持续提升,...
日本正式设立“国家情报局” △日本首相官邸(资料图)当地时间7月31日,日本政府正式设立“国家情报局”。首任局长为原和也。原和也...
38岁男子被北大录取,18年前... 2026年,连续三年高考后,38岁的清华毕业生李龙收到了北大医学部的录取通知书,他终于不必再回答“明...
“极不寻常”!爆料称特朗普或拒... 英国路透社29日发布“独家消息”称,特朗普政府有可能推迟或直接拒绝法国总统马克龙提名的新一任法国驻美...
马斯克:已要求SpaceXAI... IT之家 7 月 29 日消息,据调查媒体 404 Media 此前报道,人工智能公司正在大量收购稀...
和美德决裂、赞扬中国…法国这个... 法国极左翼政党“不屈法兰西”(La France Insoumise)领导人让-吕克·梅朗雄,正以强...
长鑫市值3.6万亿超腾讯:数千... 出品|搜狐科技 作者|张雅婷 7月27日,长鑫科技正式登陆科创板。 截至发稿,长鑫科技股价54.65...
重庆彭水山体崩塌已确认51人遇... 7月17日9时许,重庆彭水汉葭街道发生大型山体崩塌灾害。7月30日晚,彭水发布情况通报,截至目前,陆...
民政部:截至目前各地共办理婚姻... 澎湃新闻记者 刘璐7月30日,民政部举行第三季度例行新闻发布会。会上,民政部新闻发言人李婉丽介绍,截...
罗永浩13年前超前构想!这套电... 快科技7月26日消息,今日,罗永浩发文谈到网络视频电视机傻瓜化。 他表示,其实网络视频电视机做成傻瓜...