Browse Category: Raspberry Pi

How to Check your PiVPN logs on your Raspberry Pi

If you are running your PiVPN on your Raspberry Pi it is most likely exposed to the internet so that you can use your VPN away from your house. You will definitely want to make sure your Raspberry Pi is up to date with the latest security updates as well as checking your logs periodically to see if anyone has attempted to gain access to your system or worse, to see if anyone has accessed your system.

Objective

To use VNC to access our Raspberry Pi Remotely

Material

You will need the following:

Instructions

I will assume you are running Raspbian on your Raspberry Pi and have already installed PiVPN using the tutorial here. You are most likely running your Raspberry Pi headless if this is your PiVPN server so you will need to SSH into your Raspberry Pi. If you are not running your Raspberry Pi headless you can still run the same commands below in your terminal. Continue Reading

How to use VNC to Remote Desktop to the Raspberry Pi

VNC stands for Virtual Network Computing and it allows us to remote into our Raspberry Pi and view a graphic interface of our desktop environment over the network. You can use your mouse and keyboard over the network and have full remote access to the Raspberry Pi over your network. You can even forward your VNC connection over your router or VPN and access your Raspberry Pi from anywhere in the world. We will be using a program called ‘RealVNC‘ to access our Raspberry Pi from any computer on the network. Our Raspberry Pi will act as the server and the computer running RealVNC will be the client.

When you connect to your Raspberry Pi using the VNC software you will get a Remote Desktop view that opens in a new Window and you can minimize and maximize it. You can also set up your Raspberry Pi without a monitor and use the Remote Desktop connection as your monitor. Installing the VNC on your Raspberry Pi is very easy and doesn’t require much configuration since Raspbian sets up VNC pretty easy right out of the box.

Objective

To use VNC to access our Raspberry Pi Remotely

Material

You will need the following:

Instructions

I will assume you are running Raspbian on your Raspberry Pi. I have tested this procedure with a Raspberry Pi running Stretch, but it should work for older and new builds. If there are any issues just leave a comment below.

You’ll need access to your Raspberry Pi to run some commands. You can also run these commands over SSH if you have enabled SSH in case you Raspberry Pi is headless and running without a monitor. You can enable SSH by following the tutorial here.

Continue Reading

How to Enable SSH on a Headless Raspberry Pi 3

With recent releases of Raspbian (Jessie+) the SSH is disabled by default. The Raspberry Pi foundation has done this to improve security on the many Raspberry Pi’s out there. Leaving SSH enabled by default allows hackers to target your Raspberry Pi and gain access to you system and network if your Raspberry Pi is being run as a web server or connected to the internet. Enabling SSH will allow you to remotely connect to your Raspberry Pi. You will not see the full desktop, only a command line. Using SSH to remotely connect to your Raspberry Pi will allow you to perform updates or install software from another computer on your network.

Objective

To enable SSH on a Raspberry Pi running Raspbian

Material

You will need the following:

Instructions

I will assume you are running Raspbian on your Raspberry Pi. Since we will be running a headless Raspberry Pi, which means no monitor will be connected, we will need to edit the /boot/ folder of our Raspberry Pi SD card. After you burn the Raspberry Pi image onto your SD card open the /boot/ folder on the image and create a file called ssh. You do not need to edit the file or add any content to the file. As long as the ssh file is in the /boot/ partition of the Raspberry Pi you are good to go. 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.

Objective

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

Material

You will need the following:

Instructions

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.

Objective

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

Material

You will need the following:

Instructions

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 Install Wifite on the Raspberry Pi

Today I will be introducing you to a python script software that make WiFi hacking a piece of cake. The program is called Wifite and it aim’s at being an all-in-one WiFi hacking tool that uses the set it and forget philosophy. Wifite is just a python script that automates other tools WiFi tools like: aircrack-ng, reaver, cowpatty, and pyrit. Cowpatty and Pyrit are not required to run Wifite but aircrack-ng and reaver are needed to perform WPS attacks as well as WPA cracking and attacks. Wifite allows you to crack WEP, WPA/2 and WPS enabled networks with just a few commands and will do all the dirty work for you.

The main features Wifite is that it will automatically try to crack or hack selected SSID’s using different methods like Pixie Dust attacks or attempting to crack WPA2 passwords with the word-list you provide. Remember that the cracker is only as strong as the word-list you provide.

I will be installing Wifite on a clean install of Raspbian Jessie Lite, you can use the GUI version if you like but I will be running all the commands from an SSH connection. I will assume you have Raspbian running on your Raspberry Pi but the tutorial should work for any Debian based Linux Distro.

Objective

To install Wifite on a Raspberry Pi 3 running Raspbian Jessie

Material

You will need the following:

Instructions

I will be installing Wifite on a clean version of Raspbian on my Raspberry Pi 3. We will first need to install the aircrack-ng suite onto our Raspberry Pi 3 so let’s begin by installing the libraries that are needed to get aircrack-ng to work on the Raspberry Pi. Type in the following command: Continue Reading