GoGhost is a High Performance, lightweight, portable Open Source tool for mass SMBGhost Scan.
You can download Windows Binary or Linux Binary. Alternatively, GoGhost uses native Golang libraries so the line above would be fine to compile it:
go build GoGhost.go
GoGhost Scanned 25,000 IP addresses in less than 3 seconds, NMAP took more than 600.
By using the -iL option you’re able to specify a list file with CIDRs in file.
By using the -iR option you’re able to specify an IP Range.
False Positive & False Negative
If the Windows is patched with KB4551762, GoGhost will still flag it as vulnerable. If the list of CIDRs in the file is bigger than 500k IP Addresses it may flag some vulnerable as Timeout.
Timeout => Closed Port
Not Vulnerable => Does not has compression
Vulnerable => LZNT1 compression on SMB.
This tool was coded to measure the impact of SMBGhost in Latin America and Deepsecurity is not responsible for the use of this tool.