Notes

Network Based Attacks

Back


Netbios and SMB enumeration

NetBIOS is an API and a set of network protocols for providing communication services over a local network. It’s used primarily to allow applications on different computers to find and interact with each other on a network.

Functions: NetBIOS offers three primary services:

SMB is a network file sharing protocol that allows computers on a network to share files, printers, and other resources. It is the primary protocol used in Windows networks for these purposes.

Functions: SMB provides features for file and printer sharing, named pipes, and inter-process communication (IPC). It allows users to access files on remote computers as if they were local.

Versions: SMB has several versions:

Ports: SMB generally uses port 445 for direct SMB traffic (bypassing NetBIOS) and port 139 when operating with NetBIOS.

nbtscan ip_addr_range nmblookup -A ip_addr

Use socks proxy and autoroute to pivot.


SNMP

SNMP (Simple Network Management Protocol) is a widely used protocol for monitoring and managing networked devices, such as routers, switches, printers, servers, and more.

It allows network administrators to query devices for status information, configure certain settings, and receive alerts or traps when specific events occur.

SNMP is an application layer protocol that typically uses UDP for transport. It involves three primary components:

Versions of SNMP:

Ports:

Use snmpwalk tool.