> For the complete documentation index, see [llms.txt](https://jotter.gitbook.io/red-team/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jotter.gitbook.io/red-team/network/common-protocols/nfs.md).

# NFS

## NFS

NFS is a network file sharing protocol. In addition to mounting file shares and stealing creds or sensitive information, NFS can open up opportunities for local privilege escalation on Linux machines through UID manipulation.

**Mounting Shares**

```
showmount -e 10.10.10.10
sudo mount -t nfs 10.10.10.10:/ /mnt/ -o nolock
```

**Dangerous Permissions**

If you have `rw` perms, look for `insecure`,`nohide`, and `no_root_squash`
