{"id":534,"date":"2024-05-16T07:17:14","date_gmt":"2024-05-16T07:17:14","guid":{"rendered":"https:\/\/hackmybox.com\/?p=534"},"modified":"2024-08-15T07:05:15","modified_gmt":"2024-08-15T07:05:15","slug":"building-your-own-pentest-box-part-2-setting-up-kali-linux","status":"publish","type":"post","link":"https:\/\/hackmybox.com\/index.php\/2024\/05\/16\/building-your-own-pentest-box-part-2-setting-up-kali-linux\/","title":{"rendered":"Building Your Own Pentest Box: Part 2 &#8211; Setting Up Kali Linux"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>Background: Kali Linux is an open-source, Debian-based Linux distribution geared towards various information security tasks, such as Penetration Testing, Security Research, Computer Forensics and Reverse Engineering.\n\n\n1. Run PowerShell as administrator and issue the commands below:\n\nvagrant init kalilinux\/rolling\nvagrant up<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"397\" src=\"https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-14.png\" alt=\"\" class=\"wp-image-535\" srcset=\"https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-14.png 945w, https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-14-300x126.png 300w, https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-14-768x323.png 768w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/figure>\n\n\n\n<p>2. Once completed, log in to the VM using the credentials below:<\/p>\n\n\n\n<p>Username: vagrant<\/p>\n\n\n\n<p>Password: vagrant<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"883\" height=\"703\" src=\"https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-19.png\" alt=\"\" class=\"wp-image-547\" srcset=\"https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-19.png 883w, https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-19-300x239.png 300w, https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-19-768x611.png 768w\" sizes=\"auto, (max-width: 883px) 100vw, 883px\" \/><\/figure>\n\n\n\n<p>3. Check network settings by navigating to Kali VM -> Settings -> Network -> NAT Network.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"456\" src=\"https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-24-1024x456.png\" alt=\"\" class=\"wp-image-561\" srcset=\"https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-24-1024x456.png 1024w, https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-24-300x133.png 300w, https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-24-768x342.png 768w, https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-24.png 1252w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"682\" height=\"527\" src=\"https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-23.png\" alt=\"\" class=\"wp-image-560\" srcset=\"https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-23.png 682w, https:\/\/hackmybox.com\/wp-content\/uploads\/2024\/05\/image-23-300x232.png 300w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/figure>\n\n\n\n<p>Note: If you haven&#8217;t install vagrant , please see part 1 \ud83d\ude0a<\/p>\n\n\n\n<p><a href=\"https:\/\/hackmybox.com\/index.php\/2024\/05\/11\/building-your-own-pentest-box-part-1-setting-up-metasploitable-3\/\">Building Your Own Pentest Box: Part 1 \u2013 Setting Up Metasploitable 3 (hackmybox.com)<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>2. Once completed, log in to the VM using the credentials below: Username: vagrant Password: vagrant 3. Check network settings by navigating to Kali VM -> Settings -> Network -> NAT Network. Note: If you haven&#8217;t install vagrant , please see part 1 \ud83d\ude0a Building Your Own Pentest Box: Part 1 \u2013 Setting Up Metasploitable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":787,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","prose-style":"enable","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[12],"tags":[],"class_list":["post-534","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-labs"],"_links":{"self":[{"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/posts\/534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/comments?post=534"}],"version-history":[{"count":6,"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/posts\/534\/revisions"}],"predecessor-version":[{"id":789,"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/posts\/534\/revisions\/789"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/media\/787"}],"wp:attachment":[{"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/media?parent=534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/categories?post=534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hackmybox.com\/index.php\/wp-json\/wp\/v2\/tags?post=534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}