the_open_door
coffee
ESEN
← Tools

enum4linux

All-in-one SMB/RPC enumeration (users, groups, shares).

A wrapper that automates SMB/RPC enumeration of a Windows/Samba target: users, groups, shares, password policy and RID cycling, all in one pass. The modern version, enum4linux-ng, gives cleaner, JSON-capable output.

Family SMB, NetBIOS & RPC

Flags -a -U -S -G

Concepts SMB enumeration with a guest/null session, RID cycling

Cheatsheet SMB · 139 / 445

Installation

sudo apt install -y enum4linux

Useful commands3 commands

Appears in

Some machines where its use is documented; not an exhaustive list.