Back to services

TFTP

TFTPTrivial File Transfer Protocol

TFTP (Trivial File Transfer Protocol) transfers files without authentication. It is commonly used to download switch/router configs and firmware.

Ports

PortProtocolDescription
69udpTFTP

Fingerprints

Banner / ProbeExpected Response
nmap -sV -p <port> <target>Service banner and version info
nc -nv <target> <port>Raw banner grab

Key Files

PathDescription
/etc/passwdList of system users
/etc/shadowPassword hashes for local users
/etc/ssh/sshd_configSSH server configuration
~/.ssh/id_rsaSSH private key

Default Credentials

UsernamePasswordContext
adminadminGeneric admin account
rootrootGeneric root account

Known CVEs

IdentifierTypeDescription
InfoCheck NVD database for latest CVEs

Exploitation Primitives

TechniqueTool / CommandResult
Download Configtftp <target> GET config.txtDownload device config

Notes

Always start with full port scan: `nmap -sV -sC -p- <target>`.

Check for default credentials before brute-forcing.

Use service-specific NSE scripts: `nmap --script <service>-* -p <port> <target>`.

Remember to check both IPv4 and IPv6 if applicable.

Seen on

ShodanCensysFOFAZoomEye

References