Skip to content

Instantly share code, notes, and snippets.

@adrianyy
adrianyy / drvscan.cpp
Created May 2, 2019
vulnerable driver scanner
View drvscan.cpp
#include <string>
#include <vector>
#include <fstream>
#include <iostream>
#include <filesystem>
#include <Windows.h>
#include <winternl.h>
static_assert( sizeof( void* ) == 8 );
View gist:e5350893f1cca13af4b98c6350b6a875
683f889c34515af2726abfc090eb507ab7701bd4: AlpcCreateSecurityContext
6b60ac0ab67d8bf3314257a29856e43e397ef750: AlpcGetHeaderSize
477dc8c5043accad6c8ec9a356adca89a1a1b99a: AlpcGetMessageAttribute
063dde4c943d030aa4af62134315f06bf1b0ad1e: AlpcInitializeMessageAttribute
c35970c10ba3b48d4a545cee1ae2919d6c15c409: BgkDisplayCharacter
4b45128eebc53f2dbfb9e94fc50612ba1275e722: BgkGetConsoleState
8c76044c69e10410d8cae2fcbe19bd33b0b022e6: BgkGetCursorState
c4103488c6cdc127c8d316d1ed55121a677e6438: BgkSetCursor
21c98a2c36bb4ffb44e91fbf0dfff37fd6b12044: CcAddDirtyPagesToExternalCache
339ecf72400c8439496387b1e180448ea82ccfb6: CcAsyncCopyRead