{"id":2098,"date":"2021-01-09T14:03:16","date_gmt":"2021-01-09T13:03:16","guid":{"rendered":"https:\/\/andreas-klingler.de\/infosec\/?p=2098"},"modified":"2021-01-31T12:35:01","modified_gmt":"2021-01-31T11:35:01","slug":"111-nfs","status":"publish","type":"post","link":"https:\/\/infosec.andreas-klingler.de\/?p=2098","title":{"rendered":"111 <span class=\"caps\">NFS<\/span>"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Enumeration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Mandatory<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>Check if the tar\u00adget expos\u00ades open shares:<br><code>showmount -e $target<\/code><\/li><li>If there are some, try to mount&nbsp;them.<\/li><li>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\u00adate a new file with a suid&nbsp;bit.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Optional<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Try to use anoth\u00ader <span class=\"caps\">NFS<\/span> ver\u00adsion while mounting<\/li><li>On mount\u00aded shares:<ul><li>Try to change file per\u00admis\u00adsions (<span class=\"caps\">SUID<\/span>!)<\/li><\/ul><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enu\u00admer\u00ada\u00adtion Manda\u00adto\u00adry Check if the tar\u00adget expos\u00ades open shares:showmount \u2011e $tar\u00adget If there are some, try to mount&nbsp;them. 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\u00adate a new file with a suid&nbsp;bit. Option\u00adal Try to use anoth\u00ader&nbsp;<span class=\"caps\">NFS<\/span>&nbsp;[\u2026]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wp_typography_post_enhancements_disabled":false,"footnotes":""},"categories":[36],"tags":[37,106],"class_list":["post-2098","post","type-post","status-publish","format-standard","hentry","category-port","tag-checklist","tag-nfs"],"_links":{"self":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/2098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2098"}],"version-history":[{"count":3,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/2098\/revisions"}],"predecessor-version":[{"id":2569,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/2098\/revisions\/2569"}],"wp:attachment":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}