enum4linux-ng is a next-generation Windows and Samba enumeration tool that enhances the original enum4linux with JSON/YAML export and improved functionality for security professionals and CTF players.
A next generation version of enum4linux (a Windows/Samba enumeration tool) with additional features like JSON/YAML export. Aimed for security professionals and CTF players.
This tool is primarily used by penetration testers and red teamers to gather detailed information from Windows and Samba systems during security assessments. It automates enumeration tasks such as user, group, and share enumeration, supporting multiple authentication methods and output formats for easy integration with other tools.
The tool is a wrapper around Samba utilities and requires those to be installed on the host system. It is intended for legal and ethical use only, primarily by security professionals and CTF participants. The tool improves on the original enum4linux by adding structured output formats and smarter enumeration logic, but users should be aware that some enumeration parameters differ from the original tool. IPv6 support is experimental and may not be fully stable.
Ensure Python version 3.6 or higher is installed
Clone the repository from GitHub (not explicitly stated but implied)
Install required dependencies (not explicitly stated, but likely needed for Samba tools and Python packages)
Run the tool using the provided Python script enum4linux-ng.py
enum4linux-ng.py -As <target> -oY out
Performs a smart enumeration (-A) with SMB signing support (-s) on the target and exports results as a YAML file named 'out.yaml'.
enum4linux-ng.py 192.168.125.131 -u Tester -p 'Start123!' -oY out
Runs enumeration against a Windows Server 2012 R2 host using provided credentials and exports output as YAML.
enum4linux-ng.py 192.168.125.145 -A -C
Performs default enumeration (-A) and enables service enumeration (-C) on the target without credentials.