Bulletin.Com.Ng - Online Bulletin For Periodicals (newspapers magazines and journals)
  • Home
  • About Us
  • Our Services
    • Web Services
    • Music Promotion
  • Contact Us
  • Disclaimer
  • Privacy Policy
» Network » How to Build a Portable Hacking Station with a Raspberry Pi and Kali Linux

How to Build a Portable Hacking Station with a Raspberry Pi and Kali Linux

Kedeayei
Add Comment
Network
Friday, 18 August 2017
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 Bulletin.Com.Ng, 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. 


Kali Linux is an operating system built for network penetration testing. 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.

The Raspberry Pi is a small, credit card sized computer that doesn’t require a lot of power to use. 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.

What You’ll Need

  • Raspberry Pi (Model B/B+ or 2, however, the Raspberry Pi 2 requires a few extra steps for installation, so if you don’t want to go through those, stick with the Model B+)
  • A battery pack (any of these external 5V battery with a USB port built for smart phones should work, though more elegant solutions exist if you’re interested)
  • A Wi-Fi card
  • An 8 GB SD card
  • A PiTFT touch screen (Update: an older version of this post pointed to this screen, which still works, but doesn’t fit flush with the Raspberry Pi 2 or other newer versions of the Pi)
  • A case (optional, but if you’re carrying the Raspberry Pi around with you, it’s useful. This case from Adafruit built to pack in the PiTFT 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
  1. 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 .img file inside. Note: If you’re not using the touch screen display, download the regular version of Kali Linux for the Raspberry Pi.
  2. Download Win32DiskImager and unzip the application (.exe file) inside.
  3. Insert your SD card into your Windows PC using a card reader.
  4. Open Win32DiskImager.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.
  5. 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.
  6. In the image file section of the application, click the little folder icon and choose the Raspbian .img file you just downloaded.
  7. Click the Write button and wait for Win32DiskImager to do its thing. 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 X
  1. 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 .img file inside. Note: If you’re not using the touch screen display, download the regular version of Kali Linux for the Raspberry Pi.
  2. Download RPi-sd card builder (be sure to pick the appropriate version for your installed version of OS X) and unzip the application.
  3. Insert your SD card into your Mac using a card reader.
  4. Open RPi-sd card builder. You’ll immediately be asked to choose a Raspbian image. Choose the .img file you downloaded earlier.
  5. 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.
  6. Enter your administrator password and click OK.
  7. 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.
  8. RPi-sd card builder finishes prepping your SD card, safely eject it and insert it into your Raspberry Pi unit.

Step Two: Hook Up the Display

The Raspberry Pi has a GPIO (general-purpose input/output) that the touch screen fits into. 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.
Error loading player: No playable sources found
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.
  1. You’ll see a username and password prompt from the command line on your Raspberry Pi. Type in the username root and password toor.
  2. Start by mounting the boot partition. Type in mount /dev/mmcblk0p1 /boot and press Enter.
  3. Next, you’ll download and install Adafruit’s setup software. Type in wget http://adafruit-download.s3.amazonaws.com/adafruit_pitft_kernel_1.20150420-1.tar.gz and press Enter.
  4. Type in tar xf adafruit_pitft_kernel_1.20150420-1.tar.gz and press Enter to extract that file.
  5. Type in cd adafruit_pitft_kernel_1.20150420-1 and press Enter.
  6. Type in ./install.sh and press Enter. This will take a while. When it’s finished, it’ll ask you to reboot. Say yes and wait for the reboot.
  7. Type in git clone https://github.com/adafruit/Adafruit-PiTFT-Helper.git and press Enter to download Adafruit’s screen software.
  8. Okay, now you need to mount the boot disk again. Type in mount /dev/mmcblk0p1 /boot and press Enter.
  9. Type in cd Adafruit-PiTFT-Helper and press Enter.
  10. Type in ./adafruit-pitft-helper -u /root/ -t 28r and press Enter. This configures your display.
  11. 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.
  12. Once that’s complete, type in cd /usr/share/X11/xorg.conf.d/ and press Enter.
  13. Finally, type in nano 99-fbdev.conf and press 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/fb1”
EndSection
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:
  1. 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).
  2. 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.
  3. 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.
  4. 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.
  5. Add the following lines to the text file you just opened, substituting your network information in:
auto wlan0
iface wlan0 inet dhcp
wpa-ssid “your network name”
wpa-psk “the network password”
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.
  1. 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.
  2. Type in your new password twice.
  3. It’s also good to reconfigure your OpenSSH 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:
  • Set up SSH to connect to the Pi remotely
  • Learn the basics of the command line
  • Crack a Wi-Fi password, create a fake network, or snoop on another device’s traffic
  • Monitor everything that happens on a network
  • More Kali Linux guides
The world is your oyster. Hack responsibly, everyone.


We appreciate you for reading our post, but we think it will be better you like our facebook fanpage and also follow us on twitter below.
Follow @Superbaze_Ent
Are you an artiste? Do you want your music to go viral and reach a large number of audience? Promote your music on FLEXYHUBS by clicking here. You can also advertise your product or brand by clicking here.
Tweet
How to Build a Portable Hacking Station with a Raspberry Pi and Kali Linux Title : How to Build a Portable Hacking Station with a Raspberry Pi and Kali Linux
Description : 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 ro...
Rating : 5
Related Posts: Network

0 Response to "How to Build a Portable Hacking Station with a Raspberry Pi and Kali Linux "

← Newer Post Older Post ⇒ Home
View mobile version
Subscribe to: Post Comments (Atom)
Powered by Blogger.

MKRdezign

Archive

Technology

Breaking News

Populars

  • “I was referring to Duck head” — Dammy Krane comes for Tekno
    “I was referring to Duck head” — Dammy Krane comes for Tekno
    Dammy Krane has made it clear that he was referring to Tekno in His recent call out. Recall the drama between Dammy and Orezi started when ...
  • How to connect Your Payoneer account to a marketplace, network or Website
    How to connect Your Payoneer account to a marketplace, network or Website
    Are you a freelancer working on  Upwork  or  Fiverr ? Or perhaps you are selling on  Lazada  or  Wish ? Payoneer has partnered with leading ...
  • REVEALED: How Monkey Pox Started In Bayelsa Community.
    Residents of Agbura community in Ogbia Local Government Area where the suspected Monkey Pox epidemic started were not bothered about the ...
  • How to earn up to 10k with wema bank affliate program
    How to earn up to 10k with wema bank affliate program
    Love to make  #10 , 000 just referring friends. Got you good news. Introducing Alat.ng powered by Wema Bank. Nigeria's first truly digit...
  • CONGRATS! Actress Regina Daniels turns a year older
    Teenage Actress, Regina Daniels, has “finally” turned 17. The actress who just keep calm, has been counting down to this day, and it’s final...
  • Tecno Spark Plus (Tecno K9) Full Phone Specifications And Features
    Tecno Spark Plus (Tecno K9) Full Phone Specifications And Features
    Tecno Spark plus, which is also called  Tecno K9 , is an upgraded version of  Tecno K7 . Though, both smartphones are in the same  Tecno spa...
  • Zambian Fans wants FIFA to order a replay of Nigeria vs Zambia match
    Some disgruntled fans of the Chipolopolo of Zambia have called on the Fédération Internationale de Football Association (FIFA) to order a ...
  • “I started growing breasts at age 7” — Busty Nigerian Lady shares Throwback Photo
    A Beautiful young Nigerian Facebook user, identified as Gloria E Okhani,has opened up about how she used to be extremely insecure about h...
  • Nollwood Actress, Oge Okoye Celebrates 37th Birthday Dinner With Friends
    Nollwood Actress, Oge Okoye Celebrates 37th Birthday Dinner With Friends
    She as been in movie industry for so long that I can’t even remember, she is a goddess and she is a lovely Easterner, she is also a Glo amba...
  •  Phyno Ft. Olamide – Augment Video: Phyno Ft. Olamide – Augment
    Phyno Ft. Olamide – Augment Video: Phyno Ft. Olamide – Augment
    Video: Phyno Ft. Olamide – Augment Barely 3 days after the official release of the audio version, Penthauze does some magic. Watch the...
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy

Labels

  • Admission
  • Education
  • Entertainment Gist
  • Games
  • Gistnaija promo
  • Interviews
  • jquery tutorials
  • Music
  • Network
  • NEWS
  • php Tutorial
  • Python
  • Sports

  • Home
  • Home

Category

  • Admission
  • Education
  • Entertainment Gist
  • Games
  • Gistnaija promo
  • Interviews
  • jquery tutorials
  • Music
  • Network
  • NEWS
  • php Tutorial
  • Python
  • Sports

Facebook

Labels

  • Admission
  • Education
  • Entertainment Gist
  • Games
  • Gistnaija promo
  • Interviews
  • jquery tutorials
  • Music
  • Network
  • NEWS
  • php Tutorial
  • Python
  • Sports

Report Abuse

Top Featured

Search This Blog

Like on Facebook

Random Posts

Flickr

Social Share

Featured Posts

Recent Posts

Recent in Sports

Recent comments

Contact Form

Name

Email *

Message *

Label

Admission Education Entertainment Gist Games Gistnaija promo Interviews jquery tutorials Music Network NEWS php Tutorial Python Sports

Events

Videos

PLACE YOUR ADS HERE

Home of Aproko Entertainment

Contributors

  • Kedeayei
  • Teygah

Advertising

Pages

  • Home

Trending Posts

  • Fair Usage Policy: Why Airtel Unlimited Data Plans Have 3 Different Prices
    Airtel recently launched her  unlimited data plan , but it left people asking a lot of questions due to incomplete informations about the pl...
  • HOW MUCH DO FREELANCE WEB DESIGNERS CHARGE IN 2017?
    Expert Market finds out how much freelance web designers charge for their services and how to get a good deal for your business. Freelance W...
  • How to Find Your Lost or Stolen Android Phone.
    How to Find Your Lost or Stolen Android Phone You’re having a night out. With dinner down the hatch, you’re walking down the street with you...
  • AdSense Disabled for Invalid Activity? See Solution and Fix!
    The most painful moment of a blogger is when AdSense disabled the Ad running on the blog and hence, blocking the blogger from making money. ...
  • Recharge Now Easier with MTNOnDemand Feature
    With just a  simple USSD code , you can now recharge your line from your bank without leaving the comfort of your home. It's necessary y...
  • Android 8.0 Oreo Operating System Now Official, Starts Rollout to Devices
    Android 8.0 now got its full name and has starts rolling out to devices. It's  Android 8.0 Oreo  and was launched to celebrate the  ecli...
  • Wayne Rooney retires from International Football
    Photo Credit: Instagram- @waynerooney Manchester United  and  England ‘s all-time leading scorer  Wayne Rooney  has announced his retirement...
  • Tecno WX4 / WX4 PRO Features, Specifications And Price
    Here is another amazing smartphone from Chinese OEM, Tecno. Added to it's W series, the phone accompanies decent specifications and feat...
  • Google Compensates Uruguayan Student With $10,000 For Revealing Security Bug
    In a bid to compensate security researchers for disclosing existing flaws and to also safeguard their system, giant tech companies like Goog...
  • HOW TO MAKE MONEY WITH COOBIS.COM: EARN €50 - €3000 BY PUBLISHING ARTICLES ON YOUR BLOG AND WEBSITES AND ALSO POSTING ON SOCIAL MEDIAS LIKE FACEBOOK, TWITTER AND MANY MORE
    Every moment is growing the market of companies that are dedicated to build a network of merchants interested in spreading their products, b...

Games

Blogs We Read

Labels

Entertainment Gist Network Education NEWS Sports Music php Tutorial jquery tutorials Interviews Python Admission Games Gistnaija promo
Copyright 2016 FLEXYHUBS INC - All Rights Reserved