Professional Documents
Culture Documents
com/hacking-wifi-raspberry-pi/
Level Up Your Raspberry Pi Skills: Free PDF with Must-Know Linux Commands!
HOW-TO TUTORIALS
As I often write on this blog, the Raspberry Pi is the perfect device for
hacking and pen testing.
In this tutorial, I’ll show you the step-by-step procedure on how to hack a
wireless network from your Raspberry Pi.
1 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
By the way,
Level Up if youRaspberry
Your are interested in Raspberry
Pi Skills: Pi and
Free PDF with security,
Must-Know there
Linux are a
Commands!
few chapters dedicated to this in my book “Master your Raspberry Pi in 30
Claim Your Cheat Sheet!
days”. It’s a 30-day challenge, from beginner to expert, where you’ll learn
about Raspberry Pi but also about Linux in general and practice many other
topics (like security, programming, system administration, etc.). I highly
recommend checking it out.
Disclaimer
Hacking a wireless network you don’t own is a crime in many countries
It’s illegal, and you can go to jail for this.
This tutorial is here for an educational purpose only.
Try this on your network if you want, to learn how hackers work and then
protect yourself.
But don’t use these techniques on other networks without the owner
permission.
2 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
you Up
Level want to Raspberry
Your use an SD Pi
card youFree
Skills: can, I did
PDF a Must-Know
with benchmarkLinux
of the most
Commands!
popular SD cards here.
Claim Your Cheat Sheet!
That’s it, once your hardware is ready we can move to the software part.
The package we’ll use is often available in the default repositories, so you
can just install it.
For example, on Raspberry Pi OS:
sudo apt install aircrack-ng
Are you a bit lost in the Linux command line? Check this article first for the
most important commands to remember and a free downloadable cheat
sheet so you can have the commands at your fingertips.
3 of 23 06/08/2023, 09:55
Etc …
So, it’s the perfect Linux distribution for this tutorial, that’s why I’m using it.
You may have seen it in action in the Mr. Robot series, here is a short
overview of the possibilities I posted on my YouTube channel:
If you want more details, you can read my full installation guide here.
Download
Level Up YourKali Linux
Raspberry Pi Skills: Free PDF with Must-Know Linux Commands!
Scroll to the ARM section, find the Raspberry Pi versions, and click on the
link corresponding to your model.
You can either download it directly (the small icon), or use Torrent.
In this case, you’ll need a Torrent download tool.
If you don’t have one, Deluge is available for any operating system: click
here.
Open the torrent file with the tool to start the download.
Once done, the image is available on your computer (it depends on your
Torrent tool but probably in the Downloads folder).
5 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Follow this
Level Upprocedure to get
Your Raspberry Pistarted:
Skills: Free PDF with Must-Know Linux Commands!
First boot
For your first try, I recommend connecting your Raspberry Pi with an
Ethernet cable.
That way you can follow this tutorial from your computer, it’ll be more
convenient.
I know that in real pen testing or hacking that’s not the case but to learn
you can start like that.
6 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Open
Level Upa Your
terminal from the
Raspberry mainFree
Pi Skills: menu.
PDF with Must-Know Linux Commands!
Enter this command to check the network:
Claim Your Cheat Sheet!
ping raspberrytips.com
Your IP address is on the second line from the result (more details
here)
If you don’t have it yet, you can install Putty from this link.
Enter the Raspberry Pi IP address and click connect.
No idea what SSH is or how to use it? Read this guide first: Use
SSH To Remote Control Your Raspberry Pi: A complete guide
Configuration
The Kali Linux configuration doesn’t require many things, as everything is
already available on boot.
But I recommend to at least update your system with:
7 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Level
aptUpupdate
Your Raspberry Pi Skills: Free PDF with Must-Know Linux Commands!
reboot
This may take between 30 min and 1 hour, if you use an old Raspberry Pi
model and a slow connection.
Be patient
8 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
TurnUp
Level your wireless
Your cardPiinSkills:
Raspberry monitorFree mode
PDF with Must-Know Linux Commands!
Scan all Wi-Fi networks nearby
Claim Your Cheat Sheet!
Listen to a specific target to get needed packets (handshakes)
Brute force handshakes data to find the password
If you are using Kali Linux, everything is already installed on first boot
On other systems, you have to install it manually.
Here is the link to the official website if you need help to install it.
On your first try, you’ll get errors about process interfering with the
monitor mode.
You have to kill them before moving forward.
Airmon-ng offers a command to kill them all easily:
airmon-ng check kill
9 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
airmon-ng
10 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Level Up Your Raspberry Pi Skills: Free PDF with Must-Know Linux Commands!
Just below the Wi-Fi networks list, you can see the stations detected and to
which network they are connected.
To collect data about a target, we need some active stations.
11 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Level Up Your Raspberry Pi Skills: Free PDF with Must-Know Linux Commands!
Replace XX by the BSSID mac address and X by the channel number.
Claim Your Cheat Sheet!
airodump is the filename where you’ll collect data, we’ll use it later.
You’ll get a filtered list like this:
Here I have one wireless network and 3 devices connected, it’s perfect
Now you need to wait until one device reconnects to the Wi-Fi network.
As it’s your network, you can disconnect and reconnect your smartphone
and see what happens.
12 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
A handshake sample
Level Up Your is like
Raspberry Pi an encrypted
Skills: Free PDF password.
with Must-Know Linux Commands!
You can’t decrypt a password hash, but you can encrypt words to see if the
Claim Your Cheat Sheet!
result is the same encrypted hash.
In the next steps we’ll try to find a password by doing this.
AirCrack NG Website
Crack Station
Other links on Reddit
Beware, some are big. On Raspberry Pi you don’t have unlimited disk space.
It all depends on the size of your SD card.
Then you need to extract them, depending on the extension, with gzip,
unzip or unrar.
Sometimes, you can also generate your dictionary (I think that John The
Ripper offers this feature).
Depending on the SSID name, you can probably guess what type of
password is set by default (each ISP/router has its default format).
Most of the time, people don’t change the default password.
13 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
You now have to use this command to start cracking the Wi-Fi
password:
aircrack-ng airodump-01.cap -w password
14 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Level Up Your Raspberry Pi Skills: Free PDF with Must-Know Linux Commands!
If you are looking for exclusive tutorials, I post a new course each month,
available for premium members only. Join the community to get access to
all of them right now!
Conclusion
That’s it, you now know how to crack a Wi-Fi password and how to
protect yourself from hackers.
15 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Having
LevelaUp
strong
Your password
Raspberry with 20 characters
Pi Skills: or more
Free PDF with is theLinux
Must-Know bestCommands!
security tip
I can give you.
Claim Your Cheat Sheet!
If it’s hard to remember, try to use a non-obvious phrase like:
LookingForAWiFiConnection : 25 characters
MyWiFiPasswordIsSoStrong! : 25 characters including a special one
etc …
Once they got the .cap file from your Wi-Fi, hackers can crack it with
super computers for weeks or months if you are a big company that
interests them.
In a company like this, try to change the Wi-Fi password frequently or to
use enterprise features like Active Directory login and password.
To learn more about Kali Linux, you can read my tutorial here with an
introduction to many tools you”l find on it, or even read this book about
security testing:
Basic Security
Testing With Kali
Linux
16 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Level Up Your Raspberry Pi Skills: Free PDF with Must-Know Linux Commands!
Your email address Download it now
Claim Your Cheat Sheet!
Additional Resources
VIP Community
If you just want to hang out with me and other Raspberry Pi fans,
you can also join the community. I share exclusive tutorials and
behind-the-scenes content there. Premium members can also
visit the website without ads.
More details here.
17 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
YouUp
Level can alsoRaspberry
Your find all my recommendations
Pi Skills: for tools and
Free PDF with Must-Know Linux Commands!
hardware on this page.
Claim Your Cheat Sheet!
This tutorial doesn't work anymore? Report the issue here, so that I can update it!
Patrick Fromaget
PREVIOUS NEXT
Similar Posts
18 of 23 06/08/2023, 09:55
8 Comments
Patrick,
I’ve tried this several times now and even went so far as to re-installing Kali
[Linux]. I get the same error at the same place:
airodump-ng wlan0mon – bssid XX:XX:XX:XX:XX – channel X – write airodump
I get the following error after substituting my bssid and channel number
“airodump-ng –help” for help.
I’m thinking, that Aircrack-ng has changed since you posted this tutorial. Any help
would be appreciated.
This type of software really interests me in identifying any security holes in my
home network.
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Hi Paul,
I have tested it recently, without noticing any issue with this tutorial.
Please share with us the solution/cause if you resolve this problem.
Sean says:
February 16, 2021 at 12:22 pm
Had the same problem. If you notice in the help file, the commands are with
(two) hyphens “–”
–channel
–write
–bbssid
I never get the “wlan0mon” interface. Using the Pi 400, the internal wifi doesn’t
seem to work, so I am using an Edimax USB wifi dongle, but it never shows up
20 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
MOSESBRODIN says:
April 29, 2021 at 7:38 am
I have read some just right stuff here. Certainly value bookmarking for revisiting. I
surprise how much attempt you place to make this type of excellent informative
website.
I really appreciate this post. I¡¦ve been looking all over for this! Thank goodness I
found it on Bing. You have made my day! Thank you again
redected says:
July 9, 2022 at 8:52 am
works for me
Welcome
21 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Level Up Your Raspberry Pi Skills: Free PDF with Must-Know Linux Commands!
About page
Grab your free PDF file with all the commands you need to know on Raspberry Pi!
Free Download
22 of 23 06/08/2023, 09:55
How To Hack Wi-Fi on a Raspberry Pi with Kali Linux – RaspberryTips https://raspberrytips.com/hacking-wifi-raspberry-pi/
Join
Level Up Your Raspberry Pi Skills: now!
Free PDF with Must-Know Linux Commands!
Share Your Passion with the World: Write for Us! Contact Affiliate Program
This site is owned and operated by Patrick Fromaget. RaspberryTips.com is a participant in the Amazon
Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to
earn advertising fees by advertising and linking to Amazon.com. This site also participates in other affiliate
programs and is compensated for referring traffic and business to these companies.
23 of 23 06/08/2023, 09:55