Welcome, Guest.

Author Topic: 4 Line PE-Header Eraser  (Read 659 times)

Offline pr0jekt

  • Posts: 5
    • View Profile
4 Line PE-Header Eraser
« on: May 26, 2018, 06:24:15 PM »
Code: [Select]
ULONG old = NULL;
char *BaseAddr = (char*)GetModuleHandleA(NULL);
auto base = reinterpret_cast<uintptr_t>(LI_FIND(LoadLibraryA)("Kernel32.dll"));
LI_GET(base, VirtualProtect)(BaseAddr , 4096, PAGE_READWRITE, &old);
RtlSecureZeroMemory(BaseAddr , 4096);

LI_FIND/LI_GET are Lazy Importer functions.


Total Registered Members:





2017-2023 BigPackets. All rights reserved. All other trademarks, logos and copyrights are the property of their respective owners. This site is not associated with any company in any way.