DLL Hijacking
Go to Tools -> Process Monitor and run as administrator (or run powersploit) Add a filter RESULT - IS - NAME NOT FOUND Add a filter PATH - ENDSWITH - .dll Apply - Ok The list will populate in sometime Open CMD and run: sc start dllsvc If its already running then: sc stop dllsvc and then start again You will see things coming in the list with the filters applied. You can choose any path
Compile the file. x86_64-w64-mingw32-gcc windows_dll.c -shared -o hijackme.dll Transfer the file to the folder from where the call is coming. (check processmon) (C:\Temp)
Last updated
Was this helpful?