Common attacks and weaknesses
- Anyone can download configuration files (with passwords) or upload files.
Trivial file transfer without authentication, used for network boot and device configs.
Files are sent over port 69 in pieces and reassembled on the other side. It travels in clear text: anyone on the path can read it, passwords included.
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| tftp | 69 | TCP, UDP | Trivial File Transfer | - | - |
// source: IANA service name and port number registry
Linux
sudo ss -ltnup 'sport = :69' # process listening on 69
sudo lsof -nP -i :69macOS
sudo lsof -nP -i :69
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 69 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 69 netstat -ano | findstr :69
From another machine
nmap -p 69 -sV <host> sudo nmap -sU -p 69 <host> nc -zv <host> 69
Block it in the firewall
sudo ufw deny 69/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 69" -Direction Inbound -LocalPort 69 -Protocol TCP -Action Block # Windows
Trivial file transfer without authentication, used for network boot and device configs.
Port 69 is registered for UDP and TCP. In practice the service mostly uses UDP.
It is rated 7/10 (high) when exposed to the Internet. Anyone can download configuration files (with passwords) or upload files. Restrict to the provisioning network and make the root read-only.
On Linux run "ss -ltnup 'sport = :69'", on macOS "lsof -nP -i :69", and on Windows "netstat -ano | findstr :69" to see the local process. From another machine, "nmap -p 69 <host>" shows whether it is reachable.