View Issue Details

IDProjectCategoryView StatusLast Update
0006176Kali LinuxTool Upgrade Requestpublic2020-12-01 10:48
Reporterreybango Assigned Tosbrun  
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version2020.1 
Fixed in Version2020.2 
Summary0006176: Nmap 7.80 smb-os-discovery script is not current & throwing an error because of it.
Description

Running Nmap 7.80 shipped with Kali will return "smb-os-discovery: ERROR: Script execution failed (use -d to debug)" when trying to scan against SMB ports.

This issue was reported to the nmap team Nov 2019: https://github.com/nmap/nmap/issues/1808

This was patched September of last year: https://github.com/nmap/nmap/issues/1808#issuecomment-550587010

The solution was found in that same thread via this comment: https://github.com/nmap/nmap/issues/1808#issuecomment-592906061

After replacing the smb.lua script in Kali with the patched one from the nmap repo, SMB discovery & enumeration now works.

Steps To Reproduce

Run a nmap scan that enables SMB enumeration & vuln detection scripts (e.g.: nmap -A -n -Pn -sV -vv <IP>) and look at the output of the NSE scripts results.

Activities

sbrun

sbrun

2020-03-11 08:01

manager   ~0012401

fixed in version 7.80+dfsg1-2kali2

Issue History

Date Modified Username Field Change
2020-03-09 18:29 reybango New Issue
2020-03-09 18:29 reybango Status new => assigned
2020-03-09 18:29 reybango Assigned To => sbrun
2020-03-11 08:01 sbrun Status assigned => resolved
2020-03-11 08:01 sbrun Resolution open => fixed
2020-03-11 08:01 sbrun Fixed in Version => 2020.2
2020-03-11 08:01 sbrun Note Added: 0012401
2020-12-01 10:48 g0tmi1k Priority high => normal
2021-05-31 13:37 rhertzog Category Tool Upgrade => Tool Upgrade Request