NFS Enumeration (Port 111, 2049)
Quick Intro
Developed in 1984 by Sun Microsystem and similar to SMB because it allows access to files over a network.
Common ports used by NFS are port 111 and 2049 tcp/udp
It is a client/server system that allows users to access files across a network and treat them as if they resided in a local file directory.
Identifying if NFS is in use
Show all mounts
if nfs is available, use showmount to view available mounting points
Mount a NFS share
you can then mount the file system with the mount command and interact with remote system
first create the directory for mounting -
mkdir /mnt/nfs
Unmounting the shares
Permission Denied ?
Further Exploitation
If you can write to the remote hosts, try to put ssh key there so that we can get remote ssh without password ,
Nmap Scan on RPCbind and NFS
Last updated