Bix3 / SubGetVariable

Old project (2020) reformed. Modifies gRT->GetVariable sub function from EFI_APPLICATION. Tested on Win10 22H2 (AMD).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SubGetVariable

Infects DXE bios image with backdoor before booting the system.
this backdoor can execute kernel code directly from your C++ project.

System Requirement

AMD motherboard is most likely required.

Hello World

#include "km.h"
std::vector km::global_export_list;
NTOSKRNL_EXPORT(PsGetCurrentProcess);
NTOSKRNL_EXPORT(PsGetCurrentProcessId);

int main(void)
{
	if (!km::initialize())
	{
		return 0;
	}

	LOG("current process: %llx\n", km::call(PsGetCurrentProcess));
	LOG("current process id: %lld\n", km::call(PsGetCurrentProcessId));
}

About

Old project (2020) reformed. Modifies gRT->GetVariable sub function from EFI_APPLICATION. Tested on Win10 22H2 (AMD).


Languages

Language:C 97.7%Language:C++ 2.3%Language:Assembly 0.0%