crescentvenus / WALB

WALB is raspberry Pi and HackRF based Wireless Attack LaunchBox.
119 stars 29 forks source link

WALB ( Wireless Attack Launch Box )

What is WALB ?

PICT

Prerequisites.

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.
RaspberryPi: https://www.raspberrypi.org/
GPS-SDR-SIM: https://github.com/osqzss/gps-sdr-sim
HackRF: https://github.com/mossmann/hackrf
WireringPi: http://wiringpi.com/download-and-install/

Additional info to control hackrf via HTTP server.

directory structure of WALB software:

/home/pi/
        /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
        scripts/
                sim_start.sh ... Script to start I/Q signal generation and kick HackRF to transmit
                ic2-disp.sh  ... Script to control LCD
                stat.sh      ... Script to check if hackrf_transfer is active
                kill_proc.sh ... Script to kill gps-sdr-sim and/or hackrf_transfer
                eth.sh       ... Script to display eth0 IP address on LCD
                wlan.sh      ... 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.

Installation

compile

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.