Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

WALB ( Wireless Attack Launch Box )

What is WALB ?

  • WALB is a Raspberry Pi2/Pi3 and HackRF based lunch box sized portable RF signal generator.
  • The intended purpose of the WALB development is to test or demonstrate the security issue of wireless devices and location based applications.
  • By preparing a I/Q binary data, it is possible to generate any signal in the frequency range available to HackRF.
  • For GPS and ADS-B, real time signal generator module is included in WALB.
  • It uses HackRF as a SDR unit with enhanced GPS-SDR-SIM for GPS signal generation.
  • It has a 8x2 LCD and a rotary encoder with two color LED and a push switch for the operation of WALB.
  • Since WALB works with battery powered, you can use it any where you like.
  • Adding new simulation scenario or signal generation, it can be achieved by SSH login and simply edit the menu items using your favorite text editor.
  • By preparing the binary I / Q signal file of 8 bit signed, you can generate arbitrary RF signals.
  • To do so, you simply need to edit and add TEXT menu items specifying the filename of I/Q file, frequency, and sample rate.
  • If you prepare an external program to generate the I / Q signal in real time,you can also add the program and/or script in the menu.
  • You can set or chose GPS spoofing scenario by predefined location and/or date & time.



You need to install GPS-SDR-SIM,HackRF host tools, and WireringPi on RaspberryPi.
Rapsberry Pi3 is highly recomended for better performance of the real time signal generation.
It requires apache2 and php5 if you wish to use web based UI.

The installation instruction links are as follows.

Additional info to control hackrf via HTTP server.

  • You have to set udev rules.
(1)Add  /etc/udev/rules.d/52-hackrf.rules as follows.
	ATTR{idVendor}=="1d50", ATTR{idProduct}=="604b", SYMLINK+="hackrf-jawbreaker-%k", MODE="660", GROUP="plugdev"
	ATTR{idVendor}=="1d50", ATTR{idProduct}=="6089", SYMLINK+="hackrf-one-%k", MODE="660", GROUP="plugdev"
	ATTR{idVendor}=="1fc9", ATTR{idProduct}=="000c", SYMLINK+="hackrf-dfu-%k", MODE="660", GROUP="plugdev"
(2) Refrect udev rules.
	$sudo udevadm control --reload-rules
(3) Add www-data user into plugdev.
	$sudo usermod -aG plugdev www-data
(4) Restart Apache2
	$sudo systemctl restart apache2

directory structure of WALB software:

        /IQ-files    ... binary I/Q files to pass hackRF or text files used for genaration of I/Q file by 
                         dedicated real time signal generation program such as enhanced GPS-SDR-SIM, or ADS-B_gen
        /bin/gps-sdr-sim ... enhanced GPS-SDR-SIM binary file and  ephemeris file(s).
        replay2      ... Main startup program of the WALB
        menu2.txt    ... Main menu items displayed on LCD
        level2.txt   ... Sub menu-1: transmit power setteing
        date2.txt    ... Sub menu-2: date&time setting for GPS time spoofing
       ... Script to start I/Q signal generation and kick HackRF to transmit
        ... Script to control LCD
            ... Script to check if hackrf_transfer is active
       ... Script to kill gps-sdr-sim and/or hackrf_transfer
             ... Script to display eth0 IP address on LCD
            ... Script to display wlan0 IP address on LCD
	/python/		   ... Python port file from replay2.c

/var/www/html/webui/    ... Sctipt files to set GPS-SDR-SIM location via Web UI. 
	LatLon.php	... Web UI
	LatLon.ini.php	...  
	LatLon.tmpl.php	... Template file.
	LatLon.js	... 
	start2.php	... Start/Stop GPS signal generation
	kill_proc.php	... Kill process of hackrf_transfer, gps-sdr-sim and smooth.php for terminate signal generation.
	smooth2.php	... Script for location interpolation between previos position and latest clicked position.



gcc replay2.c -I/usr/local/include -L/usr/local/lib -lwiringPi -o replay2
(You may need to adjust -I/Lxxxxx for the location of wireringPi)

Usage demo links.

* Real time GPS signal generation by WALB. (Length: 2 minutes)

* GPS time spoofing demo intended to test GPS week number rollover issue. (Length: 140 seconds)

* ADS-B replay attack demo.( Length: 2 minites)


WALB is raspberry Pi and HackRF based Wireless Attack LaunchBox.



No releases published


No packages published