Exploiting the Windows DLL search order is basically the same idea as exploiting the LD_LIBRARY_PATH on Linux.
A stub malicious DLL:
Compile with mingw (on Linux!):
Exploiting the Windows DLL search order is basically the same idea as exploiting the LD_LIBRARY_PATH on Linux.
A stub malicious DLL:
Compile with mingw (on Linux!):