Server Message Block (SMB) is mainly sent to provide network and file sharing between computers, servers, and other network devices, such as printers. However, SMB is the predecessor of the Common Internet Filesystem (CIFS).
enum4linux is a tool that is included with NetHunter that is very useful for extracting information from an SMB enabled system. Systems that use SMB are going to be primarily Windows, but they can also be Samba-enabled systems, such as Linux and UNIX.
The tool offers several important features:
- RID cycling
- User listing
- List group memberships
- List network shares
- Detecting whether a host is in a workgroup or a domain
- Identifying the remote computer's OS
If you have performed a port scan against a target and have found any of the following ports open, you may want to try using this tool:
- TCP Port
445
- UDP ports
137
,138
& TCP ports137
,139
(NetBIOS over TCP/IP)
To execute the tool to retrieve a list of users, issue the following command...