Skip to content

Using Kali on Raspberry Pi 4 for basic aircrack tools

Notifications You must be signed in to change notification settings

JithLord/PirCrack4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Website: https://jithlord.github.io/PirCrack4/

Issues? Email Me: [email protected]

Checkout my other projects on the website

PirCrack4

Setting the Raspberry Pi to monitor mode using the internal network adapter. Requires Kali OS with the nexmon patch available here https://www.offensive-security.com/kali-linux-arm-images/ and download the version Kali Linux RaspberryPi 2 (v1.2), 3 and 4 (64-Bit). There are some issues with Raspberry Pi 4B 8GB version!

Why this repository?

Lack of proper documentation for the use of aircrack-ng tools on the Raspberry Pi 4's internal network adapter. Documentation for the use of external network adapters are also available on the official website for aircrack-ng.

IMPORTANT

I am not responsible to any damage that is caused by misusing the commands or any damage to your device (This will probably never happen). Ultimately, there might be legal ramifications to doing any of this depending upon where you live, so you should check your local relevant legislation. Explicitly you might be acting illicitly by recording information without first informing the user interfacing with the organization, adequately allowing them a chance to stop the event that they aren't content with. I'm not experienced enough in its legalities to offer you appropriate guidance in that regard however. If you are doubtful, I recommend you don't do it.

Preferable to use an external network adapter which supports MONITOR MODE. This can help you to hear nearby devices in the 5GHz bandwith too. Find the name of the wireless adapter by using the iwconfig command. Use the name of the (wirelessAdapter) in place of wlan0mon below

Update the package lists for Upgrades and fetch new versions of packages using

  sudo apt-get update && sudo apt-get ugprade

Install aircrack-ng tools if not installed using

  sudo apt-get install -y aircrack-ng

To run the script: Clone the repository and use

  chmod +x script.sh
  ./script.sh

or run the commands:

To check for connected wireless extensions

  iwconfig

If you plan to use the internal wireless adapter then you should find an option called wlan0.

  airmon-ng start wlan0

Don't worry about the error 'command failed: unknown error 524'. wlan0mon should appear at the bottom when you type iwconfig

Kill processes using

  airmon-ng check kill

To hear nearby devices (Final Step)

  airodump-ng wlan0mon