Geting Netbios Name Over VPN

Hi All,

I just wanted to know how can i get netbios names of scanned targets when your destination behind VPN. I know that the netbios protocol is related to Layer 2 but it is possible to get hostnames of targets with nmblookup -A. How can I achieve this with GVM? Thank you.

If the following VT doesn’t provide this functionality then there is currently no such possibility available in GVM:

Name: Using NetBIOS to retrieve information from a SMB host
OID: 1.3.6.1.4.1.25623.1.0.10150
Filename: netbios_name_get.nasl

But basically this VT is doing an UDP request to port 137/udp so it shouldn’t matter if the connection is done via a VPN to the target or by doing a direct request.