How to Build a Portable Hacking Station with a Raspberry Pi and Kali Linux. Cracking Wi- Fi passwords, spoofing accounts, and testing networks for exploits is all fun enough, but if you want to take the show on the road, you’ll want an easily portable rig. Enter Kali Linux and the Raspberry Pi. This post is part of our Evil Week series at Lifehacker, where we look at the dark side of getting things done. Sometimes evil is justified, and other times, knowing evil means knowing how to beat it. Check out our evil week tag page. It’s that time of year again: As Halloween approaches, we’re feeling the need to unleash our dark. You can run it on your laptop to crack nearby Wi- Fi passwords, spoof networks, test for Bluetooth vulnerabilities, and tons of other things.
Remember, using this knowledge to break into protected networks will likely get you arrested and charged with a felony—possibly a federal charge of violating the Computer Security Act. You should only use this knowledge for good, for your own learning, and only play with networks you control. We’ve talked pretty extensively about using Kali Linux before, so we won’t go through that here, but check out our guide for an overview of everything you can do with it. ![]() All of that applies to the Raspberry Pi version we’ll build here as well. Kali Linux is a security- focused operating system you can run off a CD or USB drive, anywhere. When you combine the Raspberry Pi and Kali Linux together, you get a super- portable network testing machine that you can bring with you anywhere. In this guide, we’ll show you how to get Kali up and running on the Raspberry Pi with a touch screen. This way, you never need to install Kali Linux on your primary computer. If you're interested in security, you've probably already heard of security- focused Linux . This case from Adafruit built to pack in the Pi. TFT and the Model B is a great option if that’s the model you’re working with.)Keyboard (I like using a small wireless keyboard with touchpad like this so it all fits inside a small bag.)A Desktop computer (to perform the initial installation)Step One: Install Kali on the Raspberry Pi. Before we do anything, you’ll need to download and install the touch screen build of Kali Linux image for the Raspberry Pi. It’s just like installing any other Raspberry Pi operating system, which we’ve walked through in detail here, but here’s the short version: How to Install Kali to Your SD Card in Windows. Download the Kali Linux Raspberry Pi image for your hardware (Model B/B+ users should grab the TFT version, Raspberry Pi 2 should grab the Pi 2 version) and unzip the . Note: If you’re not using the touch screen display, download the regular version of Kali Linux for the Raspberry Pi. Download Win. 32. Disk. Imager and unzip the application (. Insert your SD card into your Windows PC using a card reader. Open Win. 32. Disk. Imager. exe, the application you just downloaded, by double- clicking on it. If you’re running Windows 7 or 8, right click on it and choose “Run as Administrator” instead. If your SD card isn’t automatically detected by the application, click on the drop- down menu at the top right (labeled “Device”) and choose it from the list. In the image file section of the application, click the little folder icon and choose the Raspbian . Click the Write button and wait for Win. Disk. Imager to do its thing. Today we will learn together how to Increase Wifi Signal Strength Tx-Power on Kali Linux, actually you can do this on other Linux distro as well, but in this article. ![]() The Raspberry Pi will not start without a properly formatted SD Card, containing the bootloader and a suitable operating system. Many problems with booting the. A Virtual Private Network (VPN) is a great way to add security to your browsing while also preventing snoopers (including your internet service provider), but VPN. Model B Hardware Revisions and USB Power limits Hardware Revision 1.0 The original Model B board had current limiting polyfuses which limited the power output of each. When it finishes, you can safely eject your SD card and insert it into your Raspberry Pi. How to Install Kali to Your SD Card in OS XDownload the Kali Linux Raspberry Pi image for your hardware (Model B/B+ users should grab the TFT version, Raspberry Pi 2 should grab the Pi 2 version) and unzip the . Note: If you’re not using the touch screen display, download the regular version of Kali Linux for the Raspberry Pi. Download RPi- sd card builder (be sure to pick the appropriate version for your installed version of OS X) and unzip the application. Insert your SD card into your Mac using a card reader. Open RPi- sd card builder. You’ll immediately be asked to choose a Raspbian image. Choose the . img file you downloaded earlier. You’ll be asked if your SD card is connected. Since we inserted it earlier, it is, so go ahead and click Continue. You’ll be presented with SD card options. If you only have one inserted, you won’t see anything else in the list and it’ll be checked. If not, just check only the card you want to use and click OK. Enter your administrator password and click OK. You’ll be asked if the SD card was ejected. This is supposed to happen, as the application needs to unmount it so it can perform a direct copy. Double- check that your SD card is no longer available in the Finder. DO NOT remove it from your USB port. When you’re sure, click Continue. RPi- sd card builder finishes prepping your SD card, safely eject it and insert it into your Raspberry Pi unit. The Raspberry Pi is a wonderful little computer that fits in the palm of your hand, yet packs. On your Raspberry Pi, it’s the set of pins in the corner—it should be pretty obvious how it fits together. Go ahead and click your display into the Raspberry Pi. Step Three: Plug Everything In and Power On. With the display attached, it’s time to plug everything else in. Plug the Wi- Fi adapter and the keyboard into the USB ports. Then, plug the Pi into your battery pack. The startup process can be a bit slow and clunky here, so don’t worry if it takes a little while. First, you’ll see a white screen for a little while before the boot process starts up. Eventually, you’re greeted by a login screen. If you’re using a Raspberry Pi 2, you’ll need to go through some setup stuff here to get the screen working. If you’re using the B+, skip to the next step. The Raspberry Pi 2 currently requires some extra steps to get the screen working. When you initially boot it up, you’re greeted by a sad, white screen. Thankfully, it’s not too troublesome to get the screen working. Unfortunately, you’ll need either an HDMI monitor to attach the Pi to, or you’ll need to login over SSH to get through this part. Go ahead and connect either of those and boot up the Pi now. You’ll see a username and password prompt from the command line on your Raspberry Pi. Type in the username root and password toor. Start by mounting the boot partition. Type in mount /dev/mmcblk. Enter. Next, you’ll download and install Adafruit’s setup software. Type in wget http: //adafruit- download. This will take a while. When it’s finished, it’ll ask you to reboot. Say yes and wait for the reboot. Type in git clone https: //github. Adafruit- Pi. TFT- Helper. Enter to download Adafruit’s screen software. Okay, now you need to mount the boot disk again. Type in mount /dev/mmcblk. Enter. Type in cd Adafruit- Pi. TFT- Helper and press Enter. Type in ./adafruit- pitft- helper - u /root/ - t 2. Enter. This configures your display. Now you’ll need to fix some issues with the boot screen only showing a blinking cursor. Type in sudo apt- get install xserver- xorg- video- fbdev and press Enter. Once that’s complete, type in cd /usr/share/X1. Enter. Finally, type in nano 9. Enter. This will open a text file. You’ll need to copy the following bit of code into the file: Section “Device”Identifier “myfb”Driver “fbdev”Option “fbdev” “/dev/fb. End. Section. When you’re done, press Ctrl+X to save and exit. That should do it. Go ahead and type reboot and press Enter to restart your Pi with a working screen. Step Four: Log In and Enable Your Wi- Fi Card. Now it’s time to log in and enable the Wi- Fi card so you can actually use the tools inside of Kali Linux. The Raspberry Pi will automatically recognize your Wi- Fi card, but you’ll still need to login to your network. First thing first, we need to launch the Kali Linux graphic user interface and make sure everything’s working: You’ll see a username and password prompt from the command line on your Raspberry Pi. Type in the username root and password toor (we’ll change this later on). Type in startx and press Enter to boot up the graphic interface for Kali. This can take a little while to load on the Pi. You can now navigate your Pi with the touch screen and your keyboard. Tap the small Terminal icon on the dock in the bottom to open up the command line. To set up your Wi- Fi card, type nano /etc/network/interfaces into the command line and press Enter to load up the configuration file for your Wi- Fi settings. Add the following lines to the text file you just opened, substituting your network information in: auto wlan. When you’re finished, press Ctrl+X to save and exit. Your Wi- Fi card should now work (though you may have to reboot first). Step Five: Change Your Password. Before you do anything else, you should really change the root password of your device (lest someone else with similar hacking skills gain control of it). Thankfully, it’s easy. While you’re still in the command line (if you aren’t, go ahead and just tap the Terminal icon in Kali to reopen it), type in passwd and press Enter. Type in your new password twice. It’s also good to reconfigure your Open. SSH server now so it’s not set as the default. Type in dpkg- reconfigure openssh- server and press Enter. Now your little portable system is set up and secure. What You Can Do With This Device. From here, what you do with your little portable hacking station is up to you. You can use the touch screen on the Pi for basic navigation and run any program in Kali Linux you want. If you don’t know where to start, here are a few ideas: The world is your oyster. Hack responsibly, everyone. RPi Easy SD Card Setup Back to the Hub. Getting Started: Buying Guide - for advice on buying the Raspberry Pi. SD Card Setup - for information on how to prepare the SD Card used to boot your Raspberry Pi. Basic Setup - for help with buying / selecting other hardware and setting it up. Beginners Guide - you are up and running, now what can you do? Advanced Setup - for more extensive information on setting up. Trouble Shooting - some things to check if things don't work as expected. SD card setup. The Raspberry Pi will not start without a properly formatted SD Card, containing the bootloader and a suitable operating system. Many problems with booting the Raspberry Pi are a result of an improperly formatted or corrupted card. Make sure that you insert the card before powering on the Raspberry Pi, and that you shutdown the Raspberry Pi before unplugging the card. If you do have problems booting the Raspberry Pi, see the trouble shooting page first. Available distributions are shown here; you will need the Raspberry Pi bootloader to launch your distribution, so you need one for the Raspberry Pi and cannot download a PC based distribution and use that. Note that you can have several SD Cards with a separate distribution on each, then power off, swap cards and restart the Raspberry Pi to use that card. There is more on this below. Make sure you get a reasonable quality card rather than a cheap one. Check the SD Card list if you are not sure. When you write the Raspberry Pi image to your SD card you will lose all data that was on the card. Official images are available from http: //www. This makes the process of installing an operating system as easy as copying a few files in a zip archive to your SD card. This contains the reccomended Raspbian distribution, as well as various other distributions, all of which are available as individual images from the downloads page, if you prefer not to use NOOBS. Safe / Easy way. Buying a preloaded SD card from a reputable supplier means that you can just plug it in and power up your Raspberry Pi; it should then just work. If you don't buy one of these, you will have to create your own using the instructions below. You may need to perform an upgrade of the card once you have got the Raspberry Pi working, as a distribution (usually) is continuously updated and the card may not contain those updates. Compare these for prices, delivery, distribution and card size/class. Public Service Announcement on SD Cards. There have been reports of problems with SD cards purchased from ebay and Amazon. Make sure the SD card you're purchasing is up to date with the latest version of your chosen operating System to avoid any issues. You will need to be careful, as you could corrupt the disk on that machine if you do things wrong (although it is not hard to do it right, and NOOBS makes it impossible to go wrong). If you are lucky, you might find a local Raspberry Pi or Linux group who will offer to load your card for you. Check the Distributions list to make sure that you are getting a distribution that will work with the Raspberry Pi. Note that the distribution must be written to the card using the methods below; the standard file copy method will not work. Using NOOBSRecently, the Raspberry Pi Foundation have released a really easy way to set up your SD Card. It's called the New Out Of Box Software (or NOOBS for short) and provides a really easy way to install Raspberry Pi distributions. Be warned, however, that it is a 1 GB download - if you have a limit on what you are allowed to download, follow the instructions below, as the other images are around 5. MB. Format the disk. Download and install the SD Association's Formatting tool from https: //www. Make sure you have selected the Drive your SD Card is inserted in Click . Format the entire disk as FAT3. FAT1. 6 will not work! Make sure you select the correct disk!) Extract the file you downloaded in Step 1 Copy the files you just extracted to your SD Card (see below on flashing your SD card)Not all monitors work with NOOBS straight away. If your monitor is one of those that doesn't work, press the Number buttons 1- 4 until you see what you want. Make sure the distribution is for the Raspberry Pi, as others will not work. Usually these are zipped (compressed) files ending in . Extract the image file from the downloaded . Insert the SD card into your SD card reader and check what drive letter it was assigned. You can easily see the drive letter (for example G: ) by looking in the left column of Windows Explorer. You can use the SD Card slot (if you have one) or a cheap Adapter in a USB slot. Download the Win. Disk. Imager utility (it is also a zip file). You can run this from a USB drive. Right- click on the file, and select 'Run as Administrator' Select the image file you extracted above. Select the drive letter of the SD card in the device box. Be careful to select the correct drive; if you get the wrong one you can destroy your data on the computer's hard disk! If you are using an SD Card slot in your computer (if you have one) and can't see the drive in the Win. Disk. Imager window, try using a cheap Adapter in a USB slot. Click Write and wait for the write to complete. Exit the imager and eject the SD card. You are now ready to plug the card into your Raspberry Pi. This is because most of the card has a partition that is formatted for the Linux operating system that the Raspberry Pi uses which is not visible in Windows. If you don't see this small directory with files such as kernel. Using flashnul (if Win. Disk. Imager isn't successful)You may not be able to choose the device in Win. Disk. Imager on some notebooks so this is a different way to achieve the same thing on a Windows machine. Make sure the distribution is for the Raspberry Pi, as others will not work. Usually these are zipped (compressed) files ending in . Extract the image file from the downloaded . Insert the SD card into your SD card reader and check what drive letter it was assigned. You can easily see the drive letter (for example G: ) by looking in the left column of Windows Explorer. You can use an SD Card slot in your computer (if you have one) or a cheap Adapter in a USB slot. Download the flashnul software from http: //shounen. English Translated version with a link to instructions (also translated) Download the latest version. At the time of writing it was flashnul- 1rc. Run flashnul with argument . Make sure that you use the correct drive letter for the SD Card as that drive will be overwritten! C: \flashnul\flashnul. E: - L C: \temp\distribution- name. Where C: \flashnul\flashnul. E: is the drive you want to overwrite, and C: \temp\distribution- name. Check the information to make sure you have selected the correct device, then type yes and press enter. If you get an access denied error, make sure to close all explorer windows or folders open for the device, then try re- plugging the SD card. Using the Fedora Remix Installer. Download the installer program from Fedora ARM Installer. This will download and install the Raspberry Pi Fedora Remix images, but it will also install other images if they are already downloaded and in uncompressed or . This also works with Linux. Download the operating system package from the raspberrypi. Make sure the distribution is for the Raspberry Pi, as others will not work. Insert an SD card into your computer. Run the Etcher exe you've downloaded. When started, select the operating system package you've got (Etcher can burn SD card directly from compressed files such as . Etcher tries to auto- select your SD card drive. If you have multiple drives that can be written to, choose manually the one that corresponds to your SD card. The image written to your card will be verified afterwards. Etcher is cross- platform, and works on Windows, Mac OS X, and Linux as well, and it prevents you from overwriting the system disk of your computer. If so, skip ahead to the section for using the system tools from the command line. Note: In OS X each disk may have two path references in /dev. Version 1. 3 is about 5x faster than previous versions and can write a full card in 5- 7 minutes. Pi Filler automatically identfies your SD card (and asks for confirmation to prevent any chance of the wrong disk being written to), and shows estimated time remaining during the copy. These utilities are written in Apple. Script and Bash, are compatible with OS X 1. Snow Leopard through 1. Yosemite, and include source code. Unfortunately, Pi. Filler no longer works with Yosemite 1. Note: This is a closed source application which requires your root password. This is also a closed source application and also requires your root password to write to SD cards. The application is written in Lazarus Pascal and supports Retina. Unfortunately, Apple. Pi- Baker requires a password for the . Thus, it no longer works with Yosemite 1. To prevent users from making mistakes the wizard auto- detect's the SD card you plan to use and prevents you from selecting your system disk. Also there is no need for a root password so even less damage can be done. The nextgen Pi. Writer. Pi. Writer 1. 0. 4 does not work on Mac OS X Mavericks. Nor does it work on OS X Yosemite, 1. Download the operating system package from the raspberrypi. Insert an SD card into your computer. Starting Etcher, select the operating system package you've got. Etcher tries to auto- select your SD card drive. If you have multiple drives that can be written to, choose manually the one that corresponds to your SD card. The image written to your card will be verified afterwards. Instead, consider getting an app that really works; e. Click on USB (or Card Reader if using an in- built SD card reader) then search for your SD card in the upper right section of the window; click it, then search for BSD name in the lower right section: must be something like diskn where n is a number (for example, disk.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
August 2017
Categories |