Finger User Enumeration
Finger on port 79 leaks detailed user information on older Unix/Linux systems. Valid responses confirm usernames and expose GECOS fields, home directories, shells, last logins, and idle times. Invalid users return short errors or nothing.
Single User Query
Target specific usernames:
Valid hit shows Login, Name, Directory, Shell, last login, and sometimes office/phone. Invalid returns "not known" or empty.
Common defaults to test:
Positive details guide credential attacks elsewhere.
List All Users
Dump everyone if allowed:
Full user table appears on permissive servers. Extract fields:
Reveals naming conventions and active accounts.
Manual Connection
Raw query for banner or leakage:
Type username and enter. Empty first line sometimes dumps all users:
Forwarding test for internal hosts:
Success leaks internal names.
Automated Username Validation
Bash loop against wordlist:
for u in $(cat users.txt); do out=$(finger $u@@$TARGET_IP 2>/dev/null); [ -n "$out" ] && echo "$u: $out"; done
Non-empty output flags valid users.
Alternative grep filter:
for u in $(cat users.txt); do finger $u@@$TARGET_IP | grep -v "not known"; done
Pentestmonkey Finger Enum
Bulk validation:
Logs full output. Extract valids:
Fast for large lists on responsive services.
Nmap Finger Probes
Service version:
Daemon details for vulnerability matching.
User info script:
Dumps available user details automatically.
References
-
Finger Protocol RFCdatatracker.ietf.org/doc/html/rfc1288 (opens in new tab)
Core protocol specification
-
Pentestmonkey Finger User Enumgithub.com/pentestmonkey/finger-user-enum (opens in new tab)
Username enumeration script, tool
Was this helpful?
Your feedback helps improve this page.