Browse Tag: raspberry pi 3

How to Hack a Router with RouterSploit on the Raspberry Pi

A majority of people do no update their routers or other IOT (Internet of Things) devices on their network, this is where RouterSploit comes in. RouterSploit will search a device for multiple known exploits and vulnerability and if any are given will give you access to these devices. RouterSploit will also check these device credentials and attempt to find if the device is using the default username and password. Updating your device firmware and changing passwords are the easiest and best way to protect your system from hackers, yet many people do not do these steps. also many older IOT devices like IP Cameras or printers might not even be supported anymore and these devices may have vulnerabilities that will never be patched and can compromise your whole network.

RouterSploit is a python script which will scan devices for multiple exploits and vulnerabilities and mainly focuses on embedded devices like IP cameras, routers and printers. You just need to set the target IP address and run the script and RouterSploit will do the rest. You can only check devices that are on your network, meaning you need to be connected to the same network as the device you are trying to hack. You can scan many routers, printers, IP cameras and any other devices that are on your network.

Using the Raspberry Pi to run RouterSploit makes it easy to check networks on the go. You can bring your Raspberry Pi over your friends house and connect into their network and check their network for any vulnerabilities. The Raspberry Pi is so cheap and easy to work with which makes it a great pen-testing tool to have. I will show you how to install RouterSploit on the Raspberry Pi and how to use the basic features of RouterSploit.


To install RouterSploit on the Raspberry Pi


You will need the following:


We’ll be installing the latest version of RouterSploit, which at the time of writing this article was 3.3. I will assume you are connecting to your Raspberry Pi over SSH. If you are working directly on the Raspberry Pi simply open up a terminal window and run the commands from there. I tested this using a Raspberry Pi 3 running Stretch but this should work for older versions as well. I also had the GUI running on my Raspberry Pi which may include some packages pre-installed. For example the lite version of Stretch will not have ‘git‘ installed and you will have to install ‘git‘ before running the ‘git‘ command. Continue Reading

How to Build a Raspberry Pi TorrentBox

If you already use your Raspberry Pi as a server then you’ll want to add some torrent capabilities to it. Even if you are not using your Raspberry Pi as a server you can turn your Raspberry Pi into a torrent box using a very popular torrent program called Transmission. You may have heard of Transmission before, it comes pre-installed on many popular Debian based Linux distro’s.

Transmission is usually a standalone program you can use to manage your torrents but today I will be showing your how to install Transmission on your Raspberry Pi and run and manage your torrents from your browser. This is beneficial because you can download torrents from anywhere in your house and connect your Raspberry Pi to a Network Attached Storage and store your files there. If you have a VPN at home you can even connect to your network and tell your Raspberry Pi TorrentBox what to download.

I currently have my Raspberry Pi running a network wide adblocker, Kodi, and a Raspberry Pi VPN and found that it can handle running a torrent client like Transmission with ease. Transmission really doesn’t take up to much process power and the Raspberry Pi runs the web GUI with ease.


To install a torrent client onto our Raspberry Pi and turn our Raspberry Pi into a TorrentBox


You will need the following:


I will assume you are running Raspbian on your Raspberry Pi. You can also follow this tutorial for any Debian based Linux distro. I have Rasbian Jessie Lite installed on my Raspberry Pi and will be connecting to my Pi over SSH to install Transmission.

Continue Reading

How to Crack WPA2 WiFi Networks using the Raspberry Pi

Cracking WPA and WPA 2 networks is still very difficult and solely dependent on using a brute force attack with a good dictonary. Depending on the word-list that you use will improve the success rate of cracking WPA2 WiFi networks. In this tutorial I will be showing you how to grab the 4-Way handshake from a WPA2 WiFi network and how to do an offline brute-force cracking attempt at find the password for the WiFi network. The Raspberry Pi 3 can check around 500 keys per second which is not really fast when you have a word-list with over 10 millions passwords to check.

The Raspberry Pi 3 can check around 1.8 million passwords an hour which again it doesn’t gurantee that it will be able to find the correct password for a WPA2 WiFi network. The best use of the Raspberry Pi in hacking WiFi networks is that you can use it to collect a 4-Way handshake and then transfer the handshake for cracking to a more powerful computer. The reason the Raspberry Pi is good for a scenrio like this is because of its mobility. You can easilly attach a battery to your Pi and put it in a backback and walk around collecting handshakes to crack.

Today’s tutorial will show you how to capture a 4-Way Handshake and then use our Raspberry Pi 3 to crack the password. We will be using the aircrack-ng suite to collect the handshake and then to crack the password. You will need a good word-list for cracking. There are many word-lists out there. One of the biggest word-lists I have seen is the CrackStation Wordlist which has over 1.5 Billion passwords that have been put together from many data breaches like Linked In and MySpace. Let’s get started.


To capture a 4-Way Handshake from a WPA2 WiFi network and crack the password using a brute-force method


You will need the following:


I will be running a freshly installed version of Raspbian Jessie on my Raspberry Pi. You can use Rasbian Jessie Lite on your Raspberry Pi since we will just needing the terminal and I will be using SSH to run all my commands. Go ahead and connect to your Raspberry Pi and lets begin by installing the aircrack-ng suite on our Raspberry Pi. Run the following command to install the dependencies for the aircrack-ng suite: Continue Reading

How to Setup a Raspberry Pi Plex Server

In this tutorial I will be showing how to turn your Raspberry Pi into a Plex Media Server. Plex is a Client/Software media player which organizes all your TV Shows, Movies, and Music and allows you play them on any of your devices. The Plex Server will store all your media and will transmit the media to your client, which can be your Phone, TV, Tablet, XBox, Chromecast or even your Raspberry Pi running RasPlex, the possibilities are endless since the Plex Client is available for almost every device. You can also setup your Raspberry Pi Plex Server to allow you to take your media anywhere by setting it up to be available outside of your network.

The Plex Media Server will also trans-code your media on the fly so that you can play any media file on any device, even if the client device doesn’t support the media file. This is why I recommend loading the Plex Server on the Raspberry Pi 3, it will work on the Raspberry Pi 2 as well. The Raspberry Pi 3 will work the best since it has the fastest processor, I would not recommend running the Plex Server on the original Raspberry Pi.


To install the Plex Media Server on our Raspberry Pi 3


You will need the following:


I will be installing the Raspberry Pi Plex Server remotely to my Raspberry Pi over SSH. I will be running my Raspberry Pi as a server without a monitor which will allow me to control it from any other computer over SSH. I will assume you know how to SSH into your Raspberry Pi server.

Install the Raspberry Pi Plex Server

SSH into your Raspberry Pi and run the apt-get update and upgrade commands to get our Raspberry Pi software up to date before we start installing our Plex Server. Run the following commands: Continue Reading

3 Must Have Raspberry Pi 3 Accessories

The Raspberry Pi 3 has been released for a while now and there are many accessories that you can purchase for it: camera’s, wifi adapters, case’s, LCD screens. Today I want to list the 3 must have Raspberry Pi 3 accessories that I think every user needs. I will be discussing my favorite Raspberry Pi 3 case, Add-On WiFi adapter and my favorite Raspberry Pi 3 camera.

Raspberry Pi 3 Case

Official Raspberry Pi 3 Case

Might as well start the list off with the Official Raspberry Pi 3 case. This case is the official case from the Raspberry Pi Foundation and comes with a removable top lid and side panels. The removable top lid will give you easy access to the camera and display ports. The official Raspberry Pi case comes in multiple colors and the one I have pictured is a White/Red combination which really pops out and has a modern feel to it. Since this was designed by the Raspberry Pi Foundation your Pi will fit perfectly in the bottom and will be a snug fit. Unlike some of other cases which screw the Pi down, this one just pops into the plastic inserts.

The one downside is the ventilation isn’t the best. This case doesn’t include any heat-sinks and you might want to invest in some heat-sinks to put over the two processors on the board to help dissipate some of the heat that is generated when using the Pi. If you are just using your Raspberry Pi as a small server or not doing any crazy computing on it, which will use a lot of power and generate more heat, then I think you will be okay with the heat. If you are worried about ventilation you can pop off the removable side panels to get the air flowing inside of the case.

Another complaint about this case is that it does not have key-slots on the bottom of the case for wall-mounting. If you don’t plan on hanging the Raspberry Pi on the wall then this really isn’t an issue. You can also just use some Velcro and it will hang on the wall with no issues. This is what I ended up doing for my Raspberry Pi server and it works with no issues.

Overall, I think if you are looking for a cheap case and like the White/Red combination then this is a decent Raspberry Pi case. It may not be the coolest case on the block but it gets the job done and will protect your project from getting damaged.

Click here for more information about the Official Raspberry Pi 3 Case

Raspberry Pi 3 Extended WiFi Adapter

Alfa Wifi Adapter

I know what you are thinking, the Raspberry Pi 3 comes with an onboard WiFi adapter, why would I need another one? The answer is because it sucks, or I should say the range is not the best. The onboard Wifi adapter on the Raspberry Pi 3 works great for when your Raspberry Pi is close to your network router but if you plan on putting your Raspberry Pi 3 on the other side of your house you may need to get a WiFi adapter.

The Alpha AWUS036H WiFi adapter is one of the most popular choices for pen-testing and connecting to your WIFi at home. It has great range and can pick up signals up to a block away without much loss. It also includes settings for increasing the power of the WiFi signal to connect to networks further away.

When you purchase from Amazon there are a few choices that you can buy. Some of them come with a holder and flex cable which are not necessary. I bought the model that comes with the 5dBi and 7dBi antennas. The 7dBi antenna is a directional antenna meaning it can get better signals depending on which way it’s facing. The reviews for the 9dBi antenna are not the best, so I personally wouldn’t recommend it. The only other downfall with the Alfa AWUS036H is it is not compatible is 802.11 N signals, which may be an issue if a network is setup for only 802.11N

If you are looking for a WiFi adapter that works perfectly on the Raspberry Pi and has great reviews then you can’t go wrong with the Alfa AWUS036H WiFi adapter

Click here for more information about the Alfa AWUS036H WiFi Adapter

Raspberry Pi 3 Camera Module

Pixy Camera Module

The Pixy camera module has been getting very popular lately and there has been many write-ups about it. It has a button you can push to “teach” it objects which you can program your projects to either follow the object or identify it. It includes libraries for the Arduino and Raspberry Pi. The Pixy camera includes mounting hardware to attach Pixy to your robot creation. The firmware, software and hardware are open source and constantly updated.

There are many mounting options. One of them is this which has a servo for pan/tilt. I think this camera is very neat and the resolution is okay for a basic robot. I would use this camera module for more advanced projects which include project tracking or avoidance especially since it includes libraries for the Arduino and Raspberry Pi. Definitely check this camera out if you are making any type of robot project.

Click here for more information about the Pixy Raspberry Pi 3 Camera Module