Linux: wepcrack quick howto

This article presents the steps to follow in order to use wepcrack (wifi / wep crack).

Needed software

Before starting, you need the following:

  • Linux’s wireless tools (iwconfig, etc.)
  • airodump
  • aircrack

First Step

We first need to configure the wireless card to listen for all packets it can receive:

iwconfig wlan0 mode Monitor
wconfig wlan0 channel
wpriv wlan0 monitor_type 1
fconfig wlan0 up

Second step

We now need to dump packet and store them to a file. Be ware that a lot of packets are needed in order to make wep key crack possible.

airodump wlan0 wlan.pcap

Finaly…

We can now use aircrack on the previously generated file (see aircrack usage). For example, to search a 128 bits wep key use a 2 cores cpu:

aircrack -p 2 -n 128 packetsFile.cap

Questions or comments?

Join the discussion on Discord, ask a question or share your experience.

Discuss on Discord
  1. Nginx logoLinux: Nginx as a WAF and reverse proxy (for Wordpress running with Apache on cubieboard)
  2. 20250128_224935Cloud at home with minimum toil - PXE / Proxmox / Saltstack / k3s
  3. White plug computerLinux : sheevaplug as a perfect NAS - Reloaded