offensive-tools/windows/enum4linux/SKILL.md
Auth/lab ref: enum4linux SMB/Samba enumeration; users, shares, groups, OS info, password policy, null-session evidence.
npx skillsauth add aeondave/malskill enum4linuxInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
SMB enumeration tool — extracts users, shares, groups, and domain info from Windows/Samba hosts.
# Full enumeration (null session)
enum4linux -a 192.168.1.10
# With credentials
enum4linux -a -u admin -p password 192.168.1.10
# Modern rewrite (enum4linux-ng recommended)
enum4linux-ng -A 192.168.1.10
| Flag | Description |
|------|-------------|
| -a | All: runs -U -S -G -P -r -o -n -i |
| -U | User list via RPC |
| -M | Machine list |
| -S | Share enumeration |
| -P | Password policy |
| -G | Group enumeration |
| -r | User list via RID cycling |
| -R <range> | RID range (default 500-550,1000-1050) |
| -u <user> | Username for auth |
| -p <pass> | Password for auth |
| -d | Debug mode |
| -v | Verbose |
| -o | Get OS information |
| -i | Printer info |
| -n | Nmblookup info |
| Flag | Description |
|------|-------------|
| -A | All checks |
| -u <user> | Username |
| -p <pass> | Password |
| -oJ <file> | JSON output |
| -oY <file> | YAML output |
| -t <n> | Timeout |
| --no-color | Disable color output |
# Full null session enum (no creds)
enum4linux -a 10.10.10.100
# Authenticated full enum
enum4linux -a -u "DOMAIN\user" -p "password" 10.10.10.100
# RID cycling for user enumeration
enum4linux -r -R 500-2000 10.10.10.100
# Modern approach with JSON output
enum4linux-ng -A 10.10.10.100 -oJ output.json
# Share enumeration only
enum4linux -S 10.10.10.100
# Password policy extraction
enum4linux -P 10.10.10.100
| File | When to load |
|------|--------------|
| references/smb-enumeration.md | SMB enumeration techniques, smbclient commands, null session exploitation |
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.