akde/infosec

Information security is ultimately about managing risk


Enumeration

Mandatory

  1. Check if the tar­get expos­es open shares:
    showmount -e $target
  2. If there are some, try to mount them.
  3. If you can mount them, check if you can write files and set the s flag. (If in export no_root_squash is defined.) If yes, cre­ate a new file with a suid bit.

Optional

  • Try to use anoth­er NFS ver­sion while mounting
  • On mount­ed shares:
    • Try to change file per­mis­sions (SUID!)

Leave a Reply

About

Personal collection of some infosec stuff. Primary purpose of this site is to collect and organize for myself.

Note: Some content is not publicly visible due to copyright issues. Therefore, some links could be broken.

Checklists

Categories

Checklists: Ports

python -c 'import pty;pty.spawn("/bin/bash")';

python3 -c 'import pty;pty.spawn("/bin/bash")';