Default Port: 79
Finger is one of the oldest protocols still occasionally found in the wild, built in 1971 to answer a simple question: who’s logged into this machine, and who are they? It’s rare on modern networks, but where it does turn up it’s almost always worth the effort, usernames leak directly, and the protocol’s legacy, minimally validated parsing occasionally allows outright command injection.
User Enumeration
Finger’s entire purpose is answering “who is this user”, which makes it a direct username oracle with zero authentication required.
Command Injection
Some finger daemon implementations pass the query almost unvalidated to a shell, turning a username lookup into command execution.
Basic Queries
finger client isn’t available:
Raw query formats (null query, long format)
Raw query formats (null query, long format)
A completely empty query asks for every currently logged-in user:
/W requests the long-format listing, if the daemon supports it:Nmap Enumeration
User Enumeration at Scale
A single query confirms one username at a time, which is fine for a quick check but not for testing a wordlist.finger-user-enum from pentestmonkey automates that.
Command Injection
Some finger daemons pass the query string close to verbatim into a shell call, which means a query starting with a pipe can execute arbitrary commands instead of looking up a user.Finger Bounce
Much like an FTP bounce, a finger query can sometimes be relayed through one host to query a second host, letting you reach a target indirectly through a host you already have access to.10.0.0.1 to finger root on 10.0.0.2 on your behalf, useful for reaching a host that isn’t directly accessible to you but is to the relay.
Windows: Finger as a Text Transfer Channel
This isn’t exploiting finger itself, it’s abusing the fact that
finger is a built-in Windows command that can fetch arbitrary attacker-controlled text, useful for getting a stager onto a host where more obvious download tools are blocked or monitored.Invoke-WebRequest or certutil, both of which are watched far more closely:
Quick Reference Tools
HackTricks: Finger
Deeper breakdown of Finger enumeration and exploitation techniques.

