anhkgg/SuperDllHijack
Sobre
SuperDllHijack: uma técnica geral de DLL hijacking que dispensa a exportação manual da mesma interface de funções da DLL — muito fácil! Uma técnica geral de sequestro de DLL que elimina a necessidade de exportar manualmente a interface de funções da DLL.
Outros projetosCrescimento medido de estrelas
- em 24 h
- +1
- em 7 dias
- +5
- em 15 dias
- +4
- em 1 mês
- +4
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalSuperDllHijack
A general DLL hijack technology, don't need to manually export the same function interface of the DLL, so easy!
Usage:
Create a DLL with the same name of the hijacked DLL(such as,target.dll), and rename the hijacked DLL to other name(such as, target.dll.1), then call SuperDllHijack function to do the hajick work.
Update:
2020-4-4
You can see more details in the example code.
VOID DllHijack1(HMODULE hMod)
{
TCHAR tszDllPath[MAX_PATH] = { 0 };
GetModuleFileName(hMod, tszDllPath, MAX_PATH);
PathRemoveFileSpec(tszDllPath);
PathAppend(tszDllPath, TEXT("target.dll.1"));
SuperDllHijack(L"target.dll", tszDllPath);
}
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
DllHijack(hModule); break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
There are the related articles about the technology:
- https://anhkgg.com/dllhijack/
- https://mp.weixin.qq.com/s/Nx4C2mx94V9vhvU8Eqfobg
- https://bbs.pediy.com/thread-248050.htm
Support me

Explore projetos relacionados
Carregando…