{"id":223,"date":"2018-12-21T01:25:25","date_gmt":"2018-12-21T01:25:25","guid":{"rendered":"https:\/\/zineausa.com\/blog\/?p=223"},"modified":"2020-02-05T19:22:06","modified_gmt":"2020-02-05T19:22:06","slug":"hackthebox-waldo-writeup","status":"publish","type":"post","link":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/","title":{"rendered":"Hackthebox \u2013 Waldo Writeup"},"content":{"rendered":"\n<p>This is a write-up for the Waldo machine on hackthebox.eu which was retired on 12\/15\/18! <\/p>\n\n\n\n<p>Step 1: enumerate! Run an automated scan with this script: <a href=\"https:\/\/github.com\/vishalb2308\/Pentest-Enumeration-Script\/blob\/master\/EnumScript.py\">https:\/\/github.com\/vishalb2308\/Pentest-Enumeration-Script\/blob\/master\/EnumScript.py<\/a> or something like:<\/p>\n\n\n\n<p class=\"code\">nmap -sC -sV -oA \/tmp\/nmap1.txt -Pn 10.10.10.87<\/p>\n\n\n\n<p>Which should result in something like this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"375\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-1.png\" alt=\"\" class=\"wp-image-229\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-1.png 723w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-1-600x311.png 600w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-1-300x156.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<p>We type in 10.10.10.87 in the browser and this shows up:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"402\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-2-1024x402.png\" alt=\"\" class=\"wp-image-230\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-2-1024x402.png 1024w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-2-600x236.png 600w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-2-300x118.png 300w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-2-768x302.png 768w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-2.png 1270w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>At this point we typically would use something like dirb or gobuster to scan for additional pages, but that&#8217;s not the way to go with this machine so we will focus on this page.<\/p>\n\n\n\n<p>We right click the little foxy button next to the URL bar and use the localhost:8080 proxy for all traffic, and open burpsuite.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"479\" height=\"223\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-5.png\" alt=\"\" class=\"wp-image-234\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-5.png 479w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-5-300x140.png 300w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/figure>\n\n\n\n<p>We refresh the page and see that the browser is trying to pass some data through the &#8220;file&#8221; parameter via the dirRead.php file:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"597\" height=\"384\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-4.png\" alt=\"\" class=\"wp-image-233\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-4.png 597w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-4-300x193.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/figure>\n\n\n\n<p>Let&#8217;s change this to file=.\/, press forward,  and see what happens<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"761\" height=\"745\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-6.png\" alt=\"\" class=\"wp-image-235\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-6.png 761w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-6-600x587.png 600w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-6-300x294.png 300w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-6-60x60.png 60w\" sizes=\"auto, (max-width: 761px) 100vw, 761px\" \/><\/figure>\n\n\n\n<p>Cool, we have some kind of local file inclusion. <\/p>\n\n\n\n<p>Let&#8217;s click on any of the lists that are shown, like .list, and we should see that now the browser is trying to post through a fileRead.php file:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"587\" height=\"361\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-7.png\" alt=\"\" class=\"wp-image-236\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-7.png 587w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-7-300x184.png 300w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<p>Now.. let&#8217;s press on the &#8220;action&#8221; button and press &#8220;send to repeater&#8221;, so we can do trial and error easier (actually should have done this in the previous step too). Let&#8217;s try changing things.. like putting the following in instead:<\/p>\n\n\n\n<p class=\"code\">file=.\/fileRead.php<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"974\" height=\"461\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-8.png\" alt=\"\" class=\"wp-image-237\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-8.png 974w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-8-600x284.png 600w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-8-300x142.png 300w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-8-768x363.png 768w\" sizes=\"auto, (max-width: 974px) 100vw, 974px\" \/><\/figure>\n\n\n\n<p>Ok so this appears to be the fileRead.php file contents, and it seems to be looking for ..\/ and ..\\ and replacing it with \/ or \\. This should be pretty simple to get around. For instance, let&#8217;s get the \/etc\/password file by sending:<\/p>\n\n\n\n<p class=\"code\">file=\u2026\/.\/\u2026\/.\/\u2026\/.\/etc\/passwd<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"468\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-9.png\" alt=\"\" class=\"wp-image-238\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-9.png 980w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-9-600x287.png 600w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-9-300x143.png 300w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-9-768x367.png 768w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/figure>\n\n\n\n<p>So it seems we have full local file inclusion now.. with a combination of the fileRead and dirRead php files, we locate a nice RSA private key:<\/p>\n\n\n\n<p class=\"code\">file=\u2026\/.\/\u2026\/.\/\u2026\/.\/home\/nobody\/.ssh\/.monitor<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"981\" height=\"507\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-10.png\" alt=\"\" class=\"wp-image-239\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-10.png 981w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-10-600x310.png 600w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-10-300x155.png 300w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-10-768x397.png 768w\" sizes=\"auto, (max-width: 981px) 100vw, 981px\" \/><\/figure>\n\n\n\n<p>Let&#8217;s reformat that and put it in it&#8217;s own file, like this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"610\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-11.png\" alt=\"\" class=\"wp-image-240\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-11.png 646w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-11-600x567.png 600w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-11-300x283.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/figure>\n\n\n\n<p>I called mine ssh_key5 for some reason.. Let&#8217;s change the permissions of the file so we can use it<\/p>\n\n\n\n<p class=\"code\">chmod 600 ssh_key5<\/p>\n\n\n\n<p>Now then we can ssh in with the following command:<\/p>\n\n\n\n<p class=\"code\">ssh nobody@10.10.10.87 -i ssh_key5<\/p>\n\n\n\n<p>Viola, you&#8217;ve owned user:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"713\" height=\"240\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-12.png\" alt=\"\" class=\"wp-image-241\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-12.png 713w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-12-600x202.png 600w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-12-300x101.png 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/figure>\n\n\n\n<p>Moving onto root.. If you remember, the key we got was actually for a &#8220;monitor&#8221; user, so let&#8217;s try to SSH in again while logged into nobody.<\/p>\n\n\n\n<p class=\"code\">cd .ssh<br>ssh monitor@localhost -i .monitor -t bash &#8211;noprofile<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"626\" height=\"143\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-13.png\" alt=\"\" class=\"wp-image-242\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-13.png 626w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-13-600x137.png 600w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-13-300x69.png 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/figure>\n\n\n\n<p>This should get us into monitor.. but you&#8217;ll see that none of the commands are working.. hmm..<\/p>\n\n\n\n<p>We run an export -p command to see what the path is:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"788\" height=\"19\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-14.png\" alt=\"\" class=\"wp-image-243\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-14.png 788w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-14-600x14.png 600w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-14-300x7.png 300w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-14-768x19.png 768w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-14-750x19.png 750w\" sizes=\"auto, (max-width: 788px) 100vw, 788px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<p>Hm. that&#8217;s an odd path. Let&#8217;s set our own with:<\/p>\n\n\n\n<p class=\"code\">PATH=$PATH:\/bin:\/sbin:\/usr\/bin<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"481\" height=\"57\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-15.png\" alt=\"\" class=\"wp-image-244\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-15.png 481w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-15-300x36.png 300w\" sizes=\"auto, (max-width: 481px) 100vw, 481px\" \/><\/figure>\n\n\n\n<p>So we run LinEnum and it comes up clean.. but there is something called linux capabilities if you are following a cheat sheet like this:<\/p>\n\n\n\n<p><a href=\"https:\/\/vulp3cula.gitbook.io\/hackers-grimoire\/post-exploitation\/privesc-linux\">https:\/\/vulp3cula.gitbook.io\/hackers-grimoire\/post-exploitation\/privesc-linux<\/a><\/p>\n\n\n\n<p>They are like suids and give certain files special privileges. The way to discover them is to use a binary called &#8220;getcap&#8221;, so let&#8217;s see if we can find that binary:<\/p>\n\n\n\n<p class=\"code\"> find \/ -iname &#8216;getcap*&#8217; 2&gt;\/dev\/null<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"135\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-17.png\" alt=\"\" class=\"wp-image-246\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-17.png 532w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-17-300x76.png 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/figure>\n\n\n\n<p>Turns out it&#8217;s in \/sbin, which we already mapped to PATH, nice! Let&#8217;s run this binary on all the directories with binaries, like:<\/p>\n\n\n\n<p>getcap -r \/usr\/bin<br>getcap -r \/bin <br>getcap -r \/sbin <br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"359\" height=\"39\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-18.png\" alt=\"\" class=\"wp-image-247\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-18.png 359w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-18-300x33.png 300w\" sizes=\"auto, (max-width: 359px) 100vw, 359px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<p>You can google cap_dac_read_search+ei but what it does is it lets that binary read pretty much any file on the disk.. so let&#8217;s try it:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"339\" height=\"43\" src=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-19.png\" alt=\"\" class=\"wp-image-248\" srcset=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-19.png 339w, https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-19-300x38.png 300w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/figure>\n\n\n\n<p>And there you have it, you have owned Waldo! Congrats \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a write-up for the Waldo machine on hackthebox.eu which was retired on 12\/15\/18! Step 1: enumerate! Run an automated scan with this script: https:\/\/github.com\/vishalb2308\/Pentest-Enumeration-Script\/blob\/master\/EnumScript.py or something like: nmap -sC -sV -oA \/tmp\/nmap1.txt -Pn 10.10.10.87 Which should result in something like this: We type in 10.10.10.87 in the browser and this shows up: At [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":578,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hackthebox","category-writeups"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hackthebox \u2013 Waldo Writeup - Zinea InfoSec Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hackthebox \u2013 Waldo Writeup - Zinea InfoSec Blog\" \/>\n<meta property=\"og:description\" content=\"This is a write-up for the Waldo machine on hackthebox.eu which was retired on 12\/15\/18! Step 1: enumerate! Run an automated scan with this script: https:\/\/github.com\/vishalb2308\/Pentest-Enumeration-Script\/blob\/master\/EnumScript.py or something like: nmap -sC -sV -oA \/tmp\/nmap1.txt -Pn 10.10.10.87 Which should result in something like this: We type in 10.10.10.87 in the browser and this shows up: At [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/\" \/>\n<meta property=\"og:site_name\" content=\"Zinea InfoSec Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/zineausa\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-21T01:25:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-05T19:22:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-19-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"466\" \/>\n\t<meta property=\"og:image:height\" content=\"148\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Zinea\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ZineaLLC\" \/>\n<meta name=\"twitter:site\" content=\"@ZineaLLC\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Zinea\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/\"},\"author\":{\"name\":\"Zinea\",\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/#\\\/schema\\\/person\\\/e3c58d4f0650f7fb571c01fcf836b1d0\"},\"headline\":\"Hackthebox \u2013 Waldo Writeup\",\"datePublished\":\"2018-12-21T01:25:25+00:00\",\"dateModified\":\"2020-02-05T19:22:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/\"},\"wordCount\":608,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/image-19-1.png\",\"articleSection\":[\"HackTheBox\",\"Writeups\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/\",\"url\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/\",\"name\":\"Hackthebox \u2013 Waldo Writeup - Zinea InfoSec Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/image-19-1.png\",\"datePublished\":\"2018-12-21T01:25:25+00:00\",\"dateModified\":\"2020-02-05T19:22:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/#primaryimage\",\"url\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/image-19-1.png\",\"contentUrl\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/image-19-1.png\",\"width\":466,\"height\":148},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/2018\\\/12\\\/hackthebox-waldo-writeup\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hackthebox \u2013 Waldo Writeup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/\",\"name\":\"Zinea InfoSec Blog\",\"description\":\"Cyber Security Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/#organization\",\"name\":\"Zinea LLC\",\"url\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/zinea-square.png\",\"contentUrl\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/zinea-square.png\",\"width\":876,\"height\":876,\"caption\":\"Zinea LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/zineausa\\\/\",\"https:\\\/\\\/x.com\\\/ZineaLLC\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zineausa.com\\\/blog\\\/#\\\/schema\\\/person\\\/e3c58d4f0650f7fb571c01fcf836b1d0\",\"name\":\"Zinea\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/81f66095634a4c974693824dc72cd0db7c7c44910d60dda2d1bf1be275ee107d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/81f66095634a4c974693824dc72cd0db7c7c44910d60dda2d1bf1be275ee107d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/81f66095634a4c974693824dc72cd0db7c7c44910d60dda2d1bf1be275ee107d?s=96&d=mm&r=g\",\"caption\":\"Zinea\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hackthebox \u2013 Waldo Writeup - Zinea InfoSec Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/","og_locale":"en_US","og_type":"article","og_title":"Hackthebox \u2013 Waldo Writeup - Zinea InfoSec Blog","og_description":"This is a write-up for the Waldo machine on hackthebox.eu which was retired on 12\/15\/18! Step 1: enumerate! Run an automated scan with this script: https:\/\/github.com\/vishalb2308\/Pentest-Enumeration-Script\/blob\/master\/EnumScript.py or something like: nmap -sC -sV -oA \/tmp\/nmap1.txt -Pn 10.10.10.87 Which should result in something like this: We type in 10.10.10.87 in the browser and this shows up: At [&hellip;]","og_url":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/","og_site_name":"Zinea InfoSec Blog","article_publisher":"https:\/\/www.facebook.com\/zineausa\/","article_published_time":"2018-12-21T01:25:25+00:00","article_modified_time":"2020-02-05T19:22:06+00:00","og_image":[{"width":466,"height":148,"url":"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-19-1.png","type":"image\/png"}],"author":"Zinea","twitter_card":"summary_large_image","twitter_creator":"@ZineaLLC","twitter_site":"@ZineaLLC","twitter_misc":{"Written by":"Zinea","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/#article","isPartOf":{"@id":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/"},"author":{"name":"Zinea","@id":"https:\/\/zineausa.com\/blog\/#\/schema\/person\/e3c58d4f0650f7fb571c01fcf836b1d0"},"headline":"Hackthebox \u2013 Waldo Writeup","datePublished":"2018-12-21T01:25:25+00:00","dateModified":"2020-02-05T19:22:06+00:00","mainEntityOfPage":{"@id":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/"},"wordCount":608,"commentCount":0,"publisher":{"@id":"https:\/\/zineausa.com\/blog\/#organization"},"image":{"@id":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/#primaryimage"},"thumbnailUrl":"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-19-1.png","articleSection":["HackTheBox","Writeups"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/","url":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/","name":"Hackthebox \u2013 Waldo Writeup - Zinea InfoSec Blog","isPartOf":{"@id":"https:\/\/zineausa.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/#primaryimage"},"image":{"@id":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/#primaryimage"},"thumbnailUrl":"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-19-1.png","datePublished":"2018-12-21T01:25:25+00:00","dateModified":"2020-02-05T19:22:06+00:00","breadcrumb":{"@id":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/#primaryimage","url":"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-19-1.png","contentUrl":"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/12\/image-19-1.png","width":466,"height":148},{"@type":"BreadcrumbList","@id":"https:\/\/zineausa.com\/blog\/2018\/12\/hackthebox-waldo-writeup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zineausa.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Hackthebox \u2013 Waldo Writeup"}]},{"@type":"WebSite","@id":"https:\/\/zineausa.com\/blog\/#website","url":"https:\/\/zineausa.com\/blog\/","name":"Zinea InfoSec Blog","description":"Cyber Security Resources","publisher":{"@id":"https:\/\/zineausa.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zineausa.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zineausa.com\/blog\/#organization","name":"Zinea LLC","url":"https:\/\/zineausa.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zineausa.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/05\/zinea-square.png","contentUrl":"https:\/\/zineausa.com\/blog\/wp-content\/uploads\/2018\/05\/zinea-square.png","width":876,"height":876,"caption":"Zinea LLC"},"image":{"@id":"https:\/\/zineausa.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/zineausa\/","https:\/\/x.com\/ZineaLLC"]},{"@type":"Person","@id":"https:\/\/zineausa.com\/blog\/#\/schema\/person\/e3c58d4f0650f7fb571c01fcf836b1d0","name":"Zinea","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/81f66095634a4c974693824dc72cd0db7c7c44910d60dda2d1bf1be275ee107d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/81f66095634a4c974693824dc72cd0db7c7c44910d60dda2d1bf1be275ee107d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/81f66095634a4c974693824dc72cd0db7c7c44910d60dda2d1bf1be275ee107d?s=96&d=mm&r=g","caption":"Zinea"}}]}},"_links":{"self":[{"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/posts\/223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/comments?post=223"}],"version-history":[{"count":4,"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/posts\/223\/revisions"}],"predecessor-version":[{"id":579,"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/posts\/223\/revisions\/579"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/media\/578"}],"wp:attachment":[{"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/media?parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/categories?post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zineausa.com\/blog\/wp-json\/wp\/v2\/tags?post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}