nfs (Network File System)

Description

Network File System (NFS) is used by Unix based systems to share resources between hosts.

Directories that are made available to other hosts on the network are called “exports”. Locally, those exports are usually found in /etc/exports.

Enumeration

nmap --script nfs* $IP

Exploitation

mkdir $LOCAL_MOUNT_DIR
mount -t nfs $IP:/$DIR $LOCAL_MOUNT_DIR -o noblock