Profile cover photo
Profile photo
David Pickens
188 followers -
Technology for People!
Technology for People!

188 followers
About
David's posts

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Setting up Kali on the HP 14 ChromeBook model 14-q029wm.

Here are some specifications on this model.  http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03942947&cc=us&dlc=en&lc=en

The goal of this project is to be able to use Chrome OS and Linux simultaneously without a reboot or dual boot configuration.  In order to accomplish this, we will be using crouton (https://github.com/dnschneid/crouton) to install a chroot which will contain kali linux.  

This project will also require your Chromebook be in developer mode.  On this device, both the recovery button and the dev-switch have been virtualized. To invoke Recovery mode, you hold down the ESC and Refresh keys and poke the Power button.

To enter Dev-mode you first invoke Recovery, and at the Recovery screen press Ctrl-D (there's no prompt - you have to know to do it). It will ask you to confirm, then reboot into dev-mode.
Dev-mode works the same as always: It will show the scary boot screen and you need to press Ctrl-D or wait 30 seconds to continue booting.

So let’s get started…**Make sure you already have chromebook in developer mode.
Download Crouton from the top of this page (https://github.com/dnschneid/crouton) and save it in your Downloads folder.
Open the crosh terminal (CTLR+ALT+T).
enter shell mode by typing shell / enter.
from shell type sudo sh ~/Downloads/crouton -r kali -t kde -n kali
For more information, see http://grephaxs.com/chromebook-install-kali-with-crouton/
The process will run and install kali on the system at some point you will be prompted for a user name and password. 
Once the install is complete from the shell type sudo startkde. This will start the Kali instance.  To transition seamlessly from chromeos and unity press CTRL+ALT+<=(backward) for chromeos and CTRL+ALT+=>(forward). If the machine is rebooted you will have to enter shell and type sudo startkde again.
Now you have kali installed and working (if everything went well) unfortunately it is missing all the kali tools :-(  
From Kali, we need to open a command prompt.
Choose Applications, system, xterm.
In xterm, type sudo apt-get update
Now to install all the kali goodness.
In xterm, type sudo apt-cache search kali meta - will list all available install options.  You can select to install any of the available options.  However, since this is installed on our internal SSD which has limited space, I am electing to install kali-linux-top10 which provides the top 10 tools from full install of kali.
In xterm, type sudo apt-get install kali-linux-top10
After this completes, you should see a new option added to Applications named Kali Linux which contains the top 10 tools!
I want to add some more goodness such as armitage and openvas.
Install armitage -
In xterm, type sudo apt-get install armitage
When installed in order to use, you need to start services
In xterm, type sudo service postgresql start
In xterm, type sudo service metasploit start
Now start armitage
In xterm, type sudo armitage
For more help, http://www.fastandeasyhacking.com/
Install Openvas
In xterm, type sudo apt-get install openvas
For more help, http://www.backtrack-linux.org/wiki/index.php/OpenVas
What about MetaSploit community edition? It’s already installed!  
Switch to Chrome OS again, CTRL+ALT+<
In Chrome browser type URL: localhost:3790
This accesses your local web server on port 3790 
Now follow the setup process.
I’m concerned about using up too much space on my internal SSD drive, can I setup the chroot on a SD card?
Great idea!  It will be slower in operation and keep in mind you can have multiple chroots and they can be in different locations.  
Start with a freshly partitioned and formatted SD card with ext4. (I used gparted.) Use -p to specify the directory in which to install the chroot and scripts. Be sure to quote or escape spaces.
Open the crosh terminal (CTLR+ALT+T).
enter shell mode by typing shell / enter.
from shell type sudo sh ~/Downloads/crouton -r kali -t kde -n kali -p /media/removeable/sdcard/
When entering the chroot, either specify the full path of the enter-chroot or start* scripts (i.e. sudo sh -e /path/to/enter-chroot), or use the -c parameter to explicitly specify the chroots directory.
from shell type sudo startgnome -c /media/removeable/sdcard/chroots/kali/

Post has attachment
Interested in assessing your security posture?

Post has attachment
Setting up Kali on the HP 14 ChromeBook model 14-q029wm.

Here are some specifications on this model.  http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03942947&cc=us&dlc=en&lc=en

The goal of this project is to be able to use Chrome OS and Linux simultaneously without a reboot or dual boot configuration.  In order to accomplish this, we will be using crouton (https://github.com/dnschneid/crouton) to install a chroot which will contain kali linux.  

This project will also require your Chromebook be in developer mode.  On this device, both the recovery button and the dev-switch have been virtualized. To invoke Recovery mode, you hold down the ESC and Refresh keys and poke the Power button.

To enter Dev-mode you first invoke Recovery, and at the Recovery screen press Ctrl-D (there's no prompt - you have to know to do it). It will ask you to confirm, then reboot into dev-mode.
Dev-mode works the same as always: It will show the scary boot screen and you need to press Ctrl-D or wait 30 seconds to continue booting.

So let’s get started…**Make sure you already have chromebook in developer mode.
Download Crouton from this page (https://github.com/dnschneid/crouton) and save it in your Downloads folder.
Open the crosh terminal (CTLR+ALT+T).
enter shell mode by typing shell / enter.
from shell type sudo sh ~/Downloads/crouton -r kali -t kde -n kali
For more information, see http://grephaxs.com/chromebook-install-kali-with-crouton/
The process will run and install kali on the system at some point you will be prompted for a user name and password. 
Once the install is complete from the shell type sudo startkde. This will start the Kali instance.  To transition seamlessly from chromeos and kali press CTRL+ALT+<=(backward) for chromeos and CTRL+ALT+=>(forward). If the machine is rebooted you will have to enter shell and type sudo startkde again.
Now you have kali installed and working (if everything went well) Unfortunately it is missing all the kali tools :-(  
From Kali, we need to open a command prompt.
Choose Applications, system, xterm.
In xterm, type sudo apt-get update
Now to install all the kali goodness.
In xterm, type sudo apt-cache search kali meta - will list all available install options.  You can select to install any of the available options.  However, since this is installed on our internal SSD which has limited space, I am electing to install kali-linux-top10 which provides the top 10 tools from full install of kali.
In xterm, type sudo apt-get install kali-linux-top10
After this completes, you should see a new option added to Applications named Kali Linux which contains the top 10 tools!
I want to add some more goodness such as armitage and openvas.
Install armitage -
In xterm, type sudo apt-get install armitage
When installed in order to use, you need to start services
In xterm, type sudo service postgresql start
In xterm, type sudo service metasploit start
Now start armitage
In xterm, type sudo armitage
For more help, http://www.fastandeasyhacking.com/
Install Openvas
In xterm, type sudo apt-get install openvas
For more help, http://www.backtrack-linux.org/wiki/index.php/OpenVas
What about MetaSploit community edition? It’s already installed!  
Switch to Chrome OS again, CTRL+ALT+<
In Chrome browser type URL: localhost:3790
This accesses your local web server on port 3790 
Now follow the setup process.
I’m concerned about using up too much space on my internal SSD drive, can I setup the chroot on a SD card?
Great idea!  It will be slower in operation and keep in mind you can have multiple chroots and they can be in different locations.  
Start with a freshly partitioned and formatted SD card with ext4. (I used gparted.) Use -p to specify the directory in which to install the chroot and scripts. Be sure to quote or escape spaces.
Open the crosh terminal (CTLR+ALT+T).
enter shell mode by typing shell / enter.
from shell type sudo sh ~/Downloads/crouton -r kali -t kde -n kali -p /media/removeable/sdcard/
When entering the chroot, either specify the full path of the enter-chroot or start* scripts (i.e. sudo sh -e /path/to/enter-chroot), or use the -c parameter to explicitly specify the chroots directory.
from shell type sudo startgnome -c /media/removeable/sdcard/chroots/kali/
If your SD card is at least 8GB, you can now install the full kali.

Enjoy!

Post has attachment
Photo

Post has attachment

Post has attachment
Watch out for those mobile apps you never know what doors they will open.

Post has attachment
A way to learn and develop some CTF skills.
Wait while more posts are being loaded