NetBIOS

NetBIOS is an OSI Session Layer 5 Protocol and a service that allows applications on computers to communicate with one another over a local area network (LAN). It is a non-routable Protocol and NetBIOS stands for Network Basic Input/Output System.

Integration with LogicHub

Connecting with NetBIOS

A connection needs to be saved to use NetBIOS integration.

To connect to NetBIOS following details are required:

Actions with NetBIOS

nmblookup

Run NetBIOS nmblookup command. This action can be used to run nmblookup command with any arguments. Uses nmblookup binary. Since this is a very generic command, the response is simply formatted as:

{
  "std_out": std_out,
  "std_err": std_err
}

Inputs to this Action:

  • nmblookup Arguments: Jinja templated text containing arguments to pass. Example: '-A {{target_ip}}'

Output of Action:
Scan results output as json containing std_out, std_err

nmblookup IP

Run NetBIOS nmblookup IP command. Basically, it runs nmblookup action with arguments -A <ip> and has its output parsed as json instead of plain std_out. Uses nmblookup binary.

Inputs to this Action:

  • IP Column: Column name from the parent table to lookup value for IP.
  • Result Format (Optional): Separate rows per host or Single row per row in the parent table. Default 'Separate'.

Output of Action:
json parsed result of std_out of nmblookup command

Lookup NetBIOS IP

Send a query on the network with IP and hopes that the machine will reply back with its name. Uses nmb.NetBIOS python lib.

Inputs to this Action:

  • IP Column: Column name from the parent table to lookup value for IP.
  • Timeout Per Request (Optional): Specify Timeout per Request in seconds. Default '30'.
  • Result Format (Optional): Separate rows per host or Single row per row in the parent table.

Output of Action:
json containing following items:

  • has_error: True/False
  • error: message/null
  • result: result_array

Lookup NetBIOS Name

Send a query on the network and hopes that if the machine matching the name will reply with its IP address. Uses nmb.NetBIOS python lib.

Inputs to this Action:

  • Name Column: Column name from the parent table to lookup value for NetBIOS name.
  • Timeout Per Request (Optional): Specify Timeout per Request in seconds. Default '30'.
  • Result Format (Optional): Separate rows per host or Single row per row in the parent table.

Output of Action:
json containing following items:

  • has_error: True/False
  • error: message/null
  • result: result_array

Did this page help you?