Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/hackingyseguridad/smb
ReconnaissancePassword AttacksVulnerability AnalysisExploitationScripting & AutomationInformation GatheringNetwork SecurityPenetration Testing
GitHubhackingyseguridad/smb

smb

SMBv1: CVE-2017-0143, gravedad 8.8, de ejecucion remota de codigo (RCE), en Windows con SMBv1 (ms17-010)

View Repository
16 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
smb — SMBv1: CVE-2017-0143, gravedad 8.8, de ejecucion remota de codigo (RCE), en Windows con SMBv1 (ms17-010) | Kitploit
Website
root@kitploit:~
███████╗███╗   ███╗██████╗              ███║
██╔════╝████╗ ████║██╔══██╗             ║██║
███████╗██╔████╔██║██████╔╝    ██║   ██ ║██║
╚════██║██║╚██╔╝██║██╔══██╗    ╚██╗ ██ ╔╝██║
███████║██║ ╚═╝ ██║██████╔╝     ╚████╔╝  ██║
╚══════╝╚═╝     ╚═╝╚═════╝       ╚═══╝   ╚═╝

SMB is a network protocol that allows sharing files, printers and other resources between machines. SMB v1 (Server Message Block version 1), insecure and obsolete for sharing files on the network.

SMB v1 - Insecure !!!

  • No encryption: Transmits data in plain text, including usernames and passwords.

  • Serious vulnerabilities: Exploited by malware

  • WannaCry: Ransomware that affected millions in 2017. EternalBlue: Exploit developed by the NSA, used in WannaCry.

  • NotPetya: Malware that caused billions in losses.

  • Multiple documented vulnerabilities (CVE-2017-0143, etc.).

Detect version:

  • nxc smb 10.0.0.1
  • smbclient -L //10.0.0.1/ -m NT1
  • nmap -Pn -sVC -p 139,445 10.0.0.1 --script smb-vuln-ms17-010

other quick commands

  • sudo mount -t cifs //10.0.0.1/Public /mnt -o guest

  • Search for specific files in shares

for share in $(smbclient -L //192.168.1.100 -N 2>/dev/null | awk '/Disk/ {print $1}'); do echo "Searching in $share:" smbclient -N //192.168.1.100/$share -c "ls pass; ls backup" 2>/dev/null done

  • SIMPLE brute force with a single password

for user in admin administrator guest test; do echo -n "Testing $user:password123... " smbclient -L //192.168.1.100 -U "$user%password123" 2>&1 | grep -q "session setup failed" && echo "FAIL" || echo "OK" done

  • Download EVERYTHING from a share (if you have access)

smbclient -U "user%pass" //192.168.1.100/ShareName -c "prompt OFF; recurse ON; mget *"

  • Quick EternalBlue check (without special tools) echo -e "\x00\x00\x00\x90\xff\x53\x4d\x42\x25\x00" | nc -w1 192.168.1.100 445 | hexdump -C | head -5

SMBv1: vulnerability CVE-2017-0143, severity 8.8, remote code execution (RCE), on Windows with SMBv1 (ms17-010)

EternalBlue is an exploit created by the NSA as a cybersecurity tool. The official exploit name, provided by Microsoft, is MS17-010. This exploit is not specific to Windows devices, but affects any device compatible with Microsoft's SMBv1 server protocol.

SMBv1

SMBv1 on: Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1 and Windows 10 Gold, 1511 and 1607 and Windows Server 2016 allows remote attackers to execute arbitrary code through crafted packets, a vulnerability also known as "Windows SMB Remote Code Execution Vulnerability". This vulnerability is distinct from those described in CVE-2017-0144, CVE-2017-0145, CVE-2017-0146 and CVE-2017-0148.

https://www.exploit-db.com/exploits/41891

Scripts at : https://github.com/hackingyseguridad/smb/

| scansmbnull.sh | Detects and enumerates null sessions (Null Sessions). |

| ms08-068_tester.sh | Test for vulnerability MS08-068 (CVE-2008-4036). |

| scansmbghost.sh | Detects systems potentially vulnerable to SMBGhost (CVE-2020-0796). |

| smbuserenum.sh | Enumerates users via SMB. |

| bruteinvsmb.sh | Performs reverse brute force of credentials. |

  • Insecure configurations and information leakage:

SMB without authentication (Null Session): Allows enumerating users, shares and other system information without credentials. Scripts: scansmbnull.sh, smbuserenum.sh, scansmb.sh.

  • Weak authentication and brute force:

Default, weak or guessable passwords via direct and reverse brute force. Scripts: bruteinvsmb.sh (probably for reverse brute force), other commands in the README test simple credentials.

  • Historical vulnerabilities:

CVE-2008-4036 (MS08-068): A local privilege escalation vulnerability in SMB. Script: ms08-068_tester.sh. CVE-2020-0796 (SMBGhost): A buffer overflow bug in SMBv3. Script: scansmbghost.sh.

  • Unauthorized access to shared resources:

Shares configured with excessive permissions (such as read-only or write access for "guest").Scripts: automontar.sh, smbauto.sh, smbescribefichero.sh (to write a file), scansmbfile.sh (to search for files).

http://www.hackingyseguridad.com/

Download Tool