Homepage of NMBscan

summary

nmbscan scans the shares of a SMB/NetBIOS network, using the NMB/SMB/NetBIOS protocols. It is useful for acquiring information on a local area network for such purposes as security auditing.

It can obtain such information as NMB/SMB/NetBIOS/Windows hostname, IP address, IP hostname, ethernet MAC address, Windows username, NMB/SMB/NetBIOS/Windows domain name, and master browser.

It can discover all the NMB/SMB/NetBIOS/Windows hosts on a local area network by using the hosts lists maintained by master browsers.

sample output

(MAC addresses, hostnames and IPs are faked)

[gb@obelix dev]$ nmbscan
nmbscan version 1.2.0 - obelix - Sun Dec 23 15:43:29 CET 2001

usage :
 /usr/bin/nmbscan {-d|-m|-a}
  -d show all domains
  -m show all domains with master browsers
  -a show all domains, master browsers, and servers

 /usr/bin/nmbscan {-h|-n} host1 [host2 [...]]
  -h show information on hosts, known by ip name/address
  -n show information on hosts, known by nmb name

[gb@obelix dev]$ nmbscan -a
nmbscan version 1.2.0 - obelix - Sun Dec 23 15:43:31 CET 2001
domain WORK
  master-browser GBARBIER 192.168.1.3 polarix.village-gaulois.fr
  server GBARBIER
    ip-address 192.168.1.3
      ip-name polarix.village-gaulois.fr
      mac-address 00:01:03:7C:F6:1F
    server-software Samba 2.0.7
    operating-system Unix
domain VILLAGE-GAULOIS
  master-browser IDEFIX 192.168.1.2 idefix.village-gaulois.fr
  server GBARBIER
    ip-address 192.168.1.3
      ip-name polarix.village-gaulois.fr
      mac-address 00:01:03:7C:F6:1F
    server-software Samba 2.0.7
    operating-system Unix
  server GIGANTIX
    ip-address 192.168.1.1
      ip-name obelix.village-gaulois.fr
    user-candidate GIGANTIX
    server-software Samba 2.0.7
    operating-system Unix
  server IDEFIX
    ip-address 192.168.1.2
      ip-name idefix.village-gaulois.fr
      mac-address 00:40:05:62:D6:5B
    server-software Samba 2.0.6
    operating-system Unix
  server OBELIX
    ip-address 192.168.1.1
      ip-name obelix.village-gaulois.fr
    user-candidate GIGANTIX
    server-software Samba 2.0.7
    operating-system Unix

for developers or to go further

The git repository is available here: http://gitorious.org/nmbscan.

If you're interested in this software, you should have a look at NBTscan and ADMsmb.

A Gentoo package is available (thanks to Wolfram Schlich).

The maintainer will be happy to receive any feedback, including bug reports, at the following e-mail address: devel at g76r dot eu.

available downloads

 versionpackagingtypearchsizeurl
tar/src1.2.6-tarsrc51 kBnmbscan-1.2.6.tar.gz
rpm/src1.2.61rpmsrc55 kBnmbscan-1.2.6-1.src.rpm
rpm/bin1.2.61rpmnoarch12 kBnmbscan-1.2.6-1.noarch.rpm
tar/src1.2.5-tarsrc44 kBnmbscan-1.2.5.tar.gz
rpm/src1.2.51rpmsrc48 kBnmbscan-1.2.5-1.src.rpm
rpm/bin1.2.51rpmnoarch12 kBnmbscan-1.2.5-1.noarch.rpm
tar/src1.2.4-tarsrc10 kBnmbscan-1.2.4.tar.gz
rpm/src1.2.41rpmsrc13 kBnmbscan-1.2.4-1.src.rpm
rpm/bin1.2.41rpmnoarch11 kBnmbscan-1.2.4-1.noarch.rpm
tar/src1.2.3-tarsrc10 kBnmbscan-1.2.3.tar.gz
rpm/src1.2.31rpmsrc13 kBnmbscan-1.2.3-1.src.rpm
rpm/bin1.2.31rpmnoarch11 kBnmbscan-1.2.3-1.noarch.rpm
tar/src1.2.2-tarsrc10 kBnmbscan-1.2.2.tar.gz
rpm/src1.2.21rpmsrc13 kBnmbscan-1.2.2-1.src.rpm
rpm/bin1.2.21rpmnoarch11 kBnmbscan-1.2.2-1.noarch.rpm
tar/src1.2.1-tarsrc10 kBnmbscan-1.2.1.tar.gz
rpm/src1.2.11rpmsrc13 kBnmbscan-1.2.1-1.src.rpm
rpm/bin1.2.11rpmnoarch11 kBnmbscan-1.2.1-1.noarch.rpm
tar/src1.2.0-tarsrc9 kBnmbscan-1.2.0.tar.gz
rpm/src1.2.01rpmsrc12 kBnmbscan-1.2.0-1.src.rpm
rpm/bin1.2.01rpmnoarch4 kBnmbscan-1.2.0-1.noarch.rpm
 

notes and credits

All softwares are copyright (and copyleft) © Grégoire Barbier and are covered by enclosed licences, mostly the GNU General Public License or the GNU Lesser General Public License.

For more information about free software, see the Free Software Fundation web site.

Icons used on this auto-generated page belong to the KDE desktop environement.

NMBscan mainly uses tools from the GNU project and the Samba suite.