Skip to content

windows 23h2 #529

@Anan3we2423

Description

@Anan3we2423

#pragma once
#define _CRT_SECURE_NO_WARNINGS
#include <Windows.h>
#include
#include
#include
#include "Blackbone/src/BlackBone/Config.h"
#include "Blackbone/src/BlackBone/Process/Process.h"
#include "Blackbone/src/BlackBone/PE/PEImage.h"
#include "Blackbone/src/BlackBone/Misc/Utils.h"
#pragma comment(lib, "Blackbone/src/BlackBone/BlackBone.lib")

using namespace blackbone;
blackbone::Process _process;
using namespace std;

void kernelInject(DWORD programPid) {
static bool driverCheck = blackbone::Driver().EnsureLoaded();
if (!driverCheck)
{
if (!blackbone::Driver().MmapDll(programPid, L"example.dll", KWipeHeader | KNoTLS)) {
std::cout << " Injection Successful!" << std::endl;
}
else {
std::cout << " Error Occurred During Injection!" << std::endl;
}
}
else {
std::cout << " Driver Not Loaded, Please Try Again." << std::endl;
}
}

int main() {
_process.Attach(L"test.exe");
kernelInject(_process.pid());
}
I get a blue screen when I start injecting helpppp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions