{"id":195,"date":"2022-10-19T18:34:05","date_gmt":"2022-10-19T17:34:05","guid":{"rendered":"https:\/\/stuxie.dev\/?p=195"},"modified":"2024-12-29T22:03:09","modified_gmt":"2024-12-29T22:03:09","slug":"install-kali-on-chromebook","status":"publish","type":"post","link":"https:\/\/stuxie.dev\/guides\/install-kali-on-chromebook\/","title":{"rendered":"Install Kali on Chromebook"},"content":{"rendered":"<div role=\"navigation\" aria-label=\"Table of Contents\" class=\"simpletoc content-menu wp-block-simpletoc-toc\"><h2 class=\"simpletoc-title\">Contents<\/h2>\n<ul class=\"simpletoc-list\">\n<li><a href=\"#important\">Important<\/a>\n<\/li>\n<li><a href=\"#setup-steps\">Setup Steps<\/a>\n\n<ul>\n<li><a href=\"#1-enable-developer-mode\">1) Enable Developer Mode<\/a>\n<\/li>\n<li><a href=\"#2-downloading-crouton\">2) Downloading Crouton<\/a>\n<\/li>\n<li><a href=\"#3-installing-crouton\">3) Installing Crouton<\/a>\n<\/li>\n<li><a href=\"#4-installing-barebones-kali\">4) Installing Barebones Kali<\/a>\n<\/li>\n<li><a href=\"#5-installing-the-extension\">5) Installing the Extension<\/a>\n<\/li>\n<li><a href=\"#6-running-kali\">6) Running Kali<\/a>\n<\/li>\n<li><a href=\"#7-installing-the-kali-apps\">7) Installing the Kali Apps<\/a>\n<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#how-to-get-rid-of-kali\">How to Get Rid of Kali<\/a>\n<\/li>\n<li><a href=\"#additional-tweaks\">Additional Tweaks<\/a>\n\n<ul>\n<li><a href=\"#boot-on-startup\">Boot on Startup<\/a>\n<\/li>\n<li><a href=\"#make-it-look-nicer\">Make it Look Nicer<\/a>\n<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#any-issues\">Any Issues?<\/a>\n<\/li><\/ul><\/div>\n\n\n<h1 class=\"wp-block-heading\" id=\"important\">Important<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Firstly, I haven\u2019t testing this Kali installation in the slightest. Some stuff might not work, I know most of the network based tools probably don\u2019t as ChromeOS manages the network, not Kali. If something doesn\u2019t work, don\u2019t blame me basically. It may also not be possible to install this on your Chromebook<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, this installation of Kali sits on top of ChromeOS, so you\u2019ll never lose access to ChromeOS with Kali installed, just in case ChromeOS is something you actually want to use, for some reason.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, as is the usual, if anything breaks or your brick your whole laptop, don\u2019t blame me, I\u2019m just echoing what worked for me <strong>specifically on the model of Chromebook I have which is a Lenovo Ideapad 3 Chrome.<\/strong> I also know very little about the inner workings of ChromeOS, so I might not be able to help with complex stuff to do with that. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">By continuing, you are doing so <strong>AT YOUR OWN RISK<\/strong> and I am not liable for any damages.<\/p>\n<\/blockquote>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"setup-steps\">Setup Steps<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1-enable-developer-mode\">1) Enable Developer Mode<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First things first, you need to enable developer mode on your Chromebook. This isn\u2019t just enabling the Linux VM that Google have built in, but setting the whole device into developer mode. To do this, shut down the Chromebook. <br>Then, hold the <strong><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800ESC\u2800<\/mark><\/strong> and <mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800<strong>REFRESH\u2800<\/strong><\/mark> keys (where F1 and F3 would be), and turn the Chromebook back on.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img srcset='https:\/\/media.stuxie.dev\/content\/media\/142wa0Rf-image_2022-10-19_123554102-300x200.png 300w, https:\/\/media.stuxie.dev\/content\/media\/142wa0Rf-image_2022-10-19_123554102.png 700w' sizes='(max-width: 700px) 100vw, 700px' fetchpriority=\"high\" decoding=\"async\" width=\"700\" height=\"467\" src=\"https:\/\/media.stuxie.dev\/content\/media\/142wa0Rf-image_2022-10-19_123554102.png\" alt=\"\" class=\"wp-image-198\" title=\"\"><figcaption><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This puts you into recovery mode, as if the Chromebook has broken, but once you see this screen, press <mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800<strong>CTRL + D<\/strong>\u2800<\/mark>. You\u2019ll then get asked if you want to enable the developer mode and you should answer in the affirmative to any similar question. Read the question properly, as some of them are double negative questions, trying to get you to back out of developer mode if you say yes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Every time you turn the Chromebook on from now onwards, you\u2019ll be greeted with a developer screen. <br>Just hit <mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\"><strong>\u2800BOOT FROM INTERNAL DISK<\/strong>\u2800<\/mark> (or whatever it says) to launch the ChromeOS as normal.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>NOTE: This step will wipe the Chromebook, but you can restore from a backup if you\u2019ve got one! Be warned\u2026<\/strong><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2-downloading-crouton\">2) Downloading Crouton<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Crouton is a Virtual Machine platform made by a Google developer for the Chromebook. Unlike normal VMs, it has a much smaller overhead, so is not as bad as just running Kali in a normal virtual machine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With the normal version of Crouton, Kali was broken for me, but luckily the smart people on GitHub found a solution, so we\u2019ve got a few more steps from the usual Crouton installation to do to get this to work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To save you any hassle, manually type this link into Chrome and download this file:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/stux.ie\/crouton-chrome\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/stux.ie\/crouton-chrome\" rel=\"noreferrer noopener nofollow\">stux.ie\/crouton-chrome<\/a><\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Note that all the letters after the \/ besides the \u201cq\u201d are uppercase, and that\u2019s the number 0, not the letter O.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once that\u2019s downloaded, we\u2019re ready to install it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3-installing-crouton\">3) Installing Crouton<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This bit should be easy, it\u2019s one command that you need to enter.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hit<strong> <mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800CTRL + ALT + T\u2800<\/mark><\/strong> to open the ChromeOS shell. I know it\u2019s in the browser, but that\u2019s just where it is, okay? Don\u2019t ask me why they put it there. Type the word <strong><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800shell\u2800<\/mark><\/strong> into the shell to make it into a real shell. This will only work if you are in developer mode, so if it doesn\u2019t work, you did something wrong.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once your in the shell and with our modified Crouton downloaded, enter this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo install -Dt \/usr\/local\/bin -m 755 ~\/Downloads\/crouton\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This will move Crouton to a better place to live, and let you execute it like the program it truly is!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You won\u2019t get any confirmation this worked, except maybe a one time warning for using sudo for the first time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now run <strong><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800sudo crouton\u2800<\/mark><\/strong> and it will download a few things it needs. This command does nothing on its own, so this will just give you a big printout of the documentation of the crouton command, but as long as you run that once, it\u2019ll set itself up.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4-installing-barebones-kali\">4) Installing Barebones Kali<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Crouton is now installed, so now it\u2019s time to give it something to run. This is quite easy, but takes a few minutes as it downloads Kali from the web. To install Kali, run this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo crouton -n kali -r kali-rolling -t kalifix,core,xiwi,xfce,extension\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Notice the use of <strong><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800kalifix\u2800<\/mark><\/strong> in there, which is the fix added in by the custom version of crouton.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To briefly explain the command:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">-n gives it the name \u201ckali\u201d <br>-r tells us which OS we want <br>-t tells us what additional features we want on top<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Run this, and eventually you\u2019ll be asked for a username and password for your brand spanking new Kali installation. Enter this and you\u2019re all installed! However, there\u2019s a couple more steps before it\u2019ll actually work to do.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"5-installing-the-extension\">5) Installing the Extension<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To facilitate the communication between ChromeOS and Kali, you need to install a Chrome extension. Due to the fact it\u2019s playing with stuff Google don\u2019t want customers playing with, it\u2019s an extension you can just search for in the Chrome Web Store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A direct link to the extension is here:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/stux.ie\/crouton-extension\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/stux.ie\/crouton-extension\" rel=\"noreferrer noopener nofollow\">stux.ie\/crouton-extension<\/a><\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">but to find it on the Chromebook without having this page open, just search <strong><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800&#8221;crouton integration extension&#8221;\u2800<\/mark><\/strong>, click the first link to a GitHub issue regarding the extension, scroll to the bottom and the link will be there.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open the link, install the extension and, once installed, open the extension and toggle on the <strong><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800&#8221;HI DPI&#8221;\u2800<\/mark><\/strong> setting, so Kali doesn\u2019t look all fuzzy and big.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"6-running-kali\">6) Running Kali<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You should be all up and running! To run Kali at any point, open the shell with <strong><mark><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800CTRL + ALT + T\u2800<\/mark><\/mark><\/strong>, type in <strong><mark><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800shell\u2800<\/mark><\/mark><\/strong> and then enter <strong><mark><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800sudo startxfce4\u2800<\/mark><\/mark><\/strong> to launch Kali. After a few seconds (and ignoring any errors), Kali should launch full screen on the Chromebook.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unfortunately, this is a very barebones version of Kali, with no tools or programs installed. Follow on to get those added.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"7-installing-the-kali-apps\">7) Installing the Kali Apps<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To install the Kali apps, open a terminal in Kali and first enter <strong><mark><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800sudo apt update\u2800<\/mark><\/mark><\/strong>, to get the latest packages from the Kali repository.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once that\u2019s done, enter the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y kali-linux-default &amp;&amp; sudo apt install -y kali-desktop-xfce\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This will take a while, and there are a few things you have to choose along the way, but this will install all the apps and setup the desktop to look as it would with a normal Kali installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the options it asks, choose UTF-8 for the character codes and \u201cLet Kali guess\u2026\u201d for whatever the next option was. You probably don\u2019t want a new MAC address for each WiFi you go on, and everything else just go with the default option.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By the end of it, half of your 64GBs will be full, but you\u2019ll have any tool you\u2019ll ever need to hack people with!<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"how-to-get-rid-of-kali\">How to Get Rid of Kali<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">To delete just Kali (in case you get something wrong or break it), you can do:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo delete-chroot kali\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">and if you really want to get rid of crouton, even though it\u2019s a 4kb script that does no harm on its own, <br>you can go to<code> <strong><mark><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800\/usr\/local\/bin\u2800<\/mark><\/mark><\/strong><\/code> and delete anything with crouton in the name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Or just wipe the whole Chromebook and start again.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"additional-tweaks\">Additional Tweaks<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"boot-on-startup\">Boot on Startup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To get Kali to open when you boot the PC, download this extension:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/stux.ie\/chromeos-autostart\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/stux.ie\/chromeos-autostart\" rel=\"noreferrer noopener nofollow\">stux.ie\/chromeos-autostart<\/a><\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Open the extension, and set the start-up command to be <code><strong><mark><mark style=\"background-color:var(--ast-global-color-0)\" class=\"has-inline-color has-ast-global-color-5-color\">\u2800sudo startxfce4\u2800<\/mark><\/mark><\/strong><\/code>, as we usually use ourselves. <br>After a reboot, this should then open Kali after you\u2019ve logged in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"make-it-look-nicer\">Make it Look Nicer<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019d recommend you go into the Settings and change some of them to make things look nicer. Going into Desktop and turning off Removable Drives under the Icons tab will clean up your desktop (might have to expand the window as its hidden right at the bottom).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, changing your theme and icons make Kali look a lot nicer too. Besides that, it\u2019s free roam on how you want to set up your device.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"any-issues\">Any Issues?<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">If you experience any issues, you can contact me <a href=\"https:\/\/stuxie.dev\/#contact-section\" data-type=\"URL\" data-id=\"https:\/\/stuxie.dev\/#contact-section\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<br>I will try and help you as best I can.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Important Firstly, I haven\u2019t testing this Kali installation in the slightest. Some stuff might not work, I know most of the network based tools probably don\u2019t as ChromeOS manages the network, not Kali. If something doesn\u2019t work, don\u2019t blame me basically. It may also not be possible to install this on your Chromebook Also, this &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/stuxie.dev\/guides\/install-kali-on-chromebook\/\"> <span class=\"screen-reader-text\">Install Kali on Chromebook<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":212,"comment_status":"closed","ping_status":"open","sticky":false,"template":"elementor_theme","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":""},"categories":[11],"tags":[],"class_list":["post-195","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides"],"_links":{"self":[{"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/posts\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/comments?post=195"}],"version-history":[{"count":5,"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/posts\/195\/revisions"}],"predecessor-version":[{"id":1149,"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/posts\/195\/revisions\/1149"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/media\/212"}],"wp:attachment":[{"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/media?parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/categories?post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stuxie.dev\/web-api\/wp\/v2\/tags?post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}