Ports 2049 | NFS

Enumeration

nmap --script nfs-ls,nfs-showmount,nfs-statfs <IP>
showmount -e <IP>

# Metasploit
use auxiliary/scanner/nfs/nfsmount

In the example below nmap has identified /home/simon * as being mountable. The asterisk dictates any address can mount this file path.

Mounting

To mount an export first create a directory on the attacking machine.

Then use the command below to mount to the directory just created.

Mount Confirmation

Running the command mount will list available mounted paths. Using grep we can filter for relevant paths.

Last updated