Welcome, Guest.

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

Offline pr0jekt

  • New
  • 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:





2022 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.