Book Image

Penetration Testing with Raspberry PI

Book Image

Penetration Testing with Raspberry PI

Overview of this book

Table of Contents (14 chapters)
Penetration Testing with Raspberry Pi
About the Authors
About the Reviewers

Setting up a 3G USB modem with Kali Linux

You can use 3G USB modem cards with Kali Linux and connect to your Raspberry Pi over cellular for stealthy remote access. Each card is manufactured a little differently, and therefore the setup may vary based on the type of 3G card and service provider. Our recommendation is using a MiFi (short for Mobile Wi-Fi) hotspot and connecting Kali Linux through a Wi-Fi adapter; however, if you want to use a 3G USB modem, make sure you verify it works with Debian.

In our next example, we use the Huawei 3G USB modem connect card. This is a 3G GSM card that works with most frequencies around the globe.

Here are the steps to set up this card:

  1. Open up a terminal window and type in the following command:

  2. Unzip the file issuing the unzip command.

  3. Make changes in the directory you just unzipped.

  4. Make the file an executable by typing in chmod +x 3gusbm*.

  5. Run the script by typing ./3gusbmodem –interactive.

  6. The...