Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 807 Bytes

loader.md

File metadata and controls

26 lines (18 loc) · 807 Bytes

🛠️ Loader

{% hint style="danger" %} This is a work-in-progress. It's indicated with the 🛠️ emoji in the page name or in the category name. Wanna help? Please reach out to me: @_nwodtuhs {% endhint %}

The following piece of C code is a simple example of DLL loader, where the DLL holds the malicious shellcode.

#include <iostream>
#include <Windows.h>

int main(void) {
  HMODULE hMod = LoadLibrary("shellcode.dll");
  if (hMod == nullptr) {
    cout << "Failed to load shellcode.dll" << endl;
  }

  return 0;
}

Once the payload is completed, pe-sieve can be used to identify if it is stealthy or not.