Nmap netbus-info NSE Script


This page contains detailed information about how to use the netbus-info NSE script. For list of all NSE scripts, visit the Nmap NSE Library.

Script Overview


Script source code: https://github.com/nmap/nmap/tree/master/scripts/netbus-info.nse
Script categories: default, discovery, safe
Target service / protocol: netbus, tcp
Target network port(s): 12345
List of CVEs: -

Script Description


The netbus-info.nse script opens a connection to a NetBus server and extracts information about the host and the NetBus service itself.

The extracted host information includes a list of running applications, and the hosts sound volume settings.

The extracted service information includes its access control list (acl), server information, and setup. The acl is a list of IP addresses permitted to access the service. Server information contains details about the server installation path, restart persistence, user account that the server is running on, and the amount of connected NetBus clients. The setup information contains configuration details, such as the services TCP port number, traffic logging setting, password, an email address for receiving login notifications, an email address used for sending the notifications, and an smtp-server used for notification delivery.

Netbus-info NSE Script Arguments


This is a full list of arguments supported by the netbus-info.nse script:

netbus-info.password

The password used for authentication

- - -
To use this script argument, add it to Nmap command line like in this example:

nmap --script=netbus-info --script-args netbus-info.password=value <target>

Netbus-info NSE Script Example Usage


Here's an example of how to use the netbus-info.nse script:

nmap -p 12345 --script netbus-info <target> --script-args netbus-info.password=<password>

Netbus-info NSE Script Example Output


Here's a sample output from the netbus-info.nse script:

12345/tcp open  netbus
| netbus-info:
|   ACL
|     127.0.0.1
|   APPLICATIONS
|     PuTTY Configuration
|   INFO
|     Program Path: Z:\home\joeuser\Desktop\Patch.exe
|     Restart persistent: Yes
|     Login ID: joeuser
|     Clients connected to this host: 1
|   SETUP
|     TCP-port: 12345
|     Log traffic: 1
|     Password: password123
|     Notify to: [email protected]
|     Notify from: [email protected]
|     SMTP-server: smtp.example.net
|   VOLUME
|     Wave: 0
|     Synth: 0
|_    Cd: 0

Netbus-info NSE Script Example XML Output


Here's a sample XML output from the netbus-info.nse script produced by providing the -oX <file> Nmap option:

 <table key="ACL">
   <elem>127.0.0.1</elem>
 </table>
 <table key="APPLICATIONS">
   <elem>PuTTY Configuration</elem>
 </table>
 <table key="INFO">
   <elem key="Program Path">Z:\home\joeuser\Desktop\Patch.exe</elem>
   <elem key="Restart persistent">Yes</elem>
   <elem key="Login ID">joeuser</elem>
   <elem key="Clients connected to this host">1</elem>
 </table>
 <table key="SETUP">
   <elem key="TCP-port">12345</elem>
   <elem key="Log traffic">1</elem>
   <elem key="Password">password123</elem>
   <elem key="Notify to">[email protected]</elem>
   <elem key="Notify from">[email protected]</elem>
   <elem key="SMTP-server">smtp.example.net</elem>
 </table>
 <table key="VOLUME">
   <elem key="Wave">0</elem>
   <elem key="Synth">0</elem>
   <elem key="Cd">0</elem>
 </table>

Author


  • Toni Ruottu

References


See Also


Related NSE scripts to the netbus-info.nse script:

Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.