69 - TFTP

Trivial File Transfer Protocol is a simple lockstep File Transfer Protocol which allows a client to get a file from or put a file onto a remote host.

Enumeration

Confirm TFTP is open:

nmap -sU -p 69 10.10.10.90

Enumerate files:

nmap -sU -p 69 --script tftp-enum.nse --script-args tftp-enum.filelist=customlist.txt <host>

Connect

Can use the built in utility:

$ tftp 10.10.10.90
tftp> get non-existing-file
Error code 1: Could not find file 'C:\non-existing-file'.

tftp> get WINDOWS\System32\drivers\etc\hosts
Received 734 bytes in 0.1 seconds [58720 bits/sec]

Put files:

$ tftp 10.10.10.90
tftp> put test.txt
Sent 9 bytes in 0.3 seconds

Brute force files

Nmap

Metasploit

Last updated

Was this helpful?