Git Product home page Git Product logo

wardriver's Introduction

Wardriver

A Wardriving framework to capture & visualize the data

This little framework is just a quick way to automate some of the most boring manual commands to type in a terminal when it comes to wireless security scanning or just wardriving for fun and learning. The aim is to automate as much as possible the information gathering sequence + the data transfer + the data ingestion and further render / representation into a dashboard in Grafana.

To run this software you can use any Linux OS with a compatible wireless device and a compatible GPS module. But I highly recomend do it in something small that you can carry or attach to with just some tape. In this case everything runs on a portable device (Raspberry Pi 4) powered by a battery.

Wardriver2 Wardriver2 Wardriver2

Parts breakdown

Data collector:

Is the wireless device + raspi + GPS that is attached to a power source and can travel autonomously. For now it just gathers data and then this data needs to be transfered to an endpoint so it ends up into a database.

Data parsers/ingestors:

Some of them are inside this repo for normalizaing the data and handling some exceptions and some of them are in the "backend" side and are just executed in the data ingestion phase. Those script are made to deal with some accuracy challenges and some special casuistics.

Observability platform

Composed by a Grafana and a MySQL or MariaDB database server. The database just stores all the data that it needs to be rendered into the Grafana dashboard.

Dependencies

  • Python3
  • Linux OS
  • gpspipe
  • aircrack-ng
  • airodump-ng

Usage

1. clone the repo
2. cd wardriver && python3 1-wardriver.py

Documentation:

For now you can check this two articles:

Database schema

Everything is created automatically but for you to know the following fields compose the database structure:

arad@wifiburner> mysql -ugeoip -ppassword -h 127.0.0.1  geoip -e "desc wifi_networks;" 

+-----------------+--------------+------+-----+---------+----------------+
| Field           | Type         | Null | Key | Default | Extra          |
+-----------------+--------------+------+-----+---------+----------------+
| id              | int(11)      | NO   | PRI | NULL    | auto_increment |
| BSSID           | varchar(255) | YES  |     | NULL    |                |
| first_time_seen | datetime     | YES  |     | NULL    |                |
| last_time_seen  | datetime     | YES  |     | NULL    |                |
| channel         | int(11)      | YES  |     | NULL    |                |
| speed           | int(11)      | YES  |     | NULL    |                |
| privacy         | varchar(255) | YES  |     | NULL    |                |
| cipher          | varchar(255) | YES  |     | NULL    |                |
| authentication  | varchar(255) | YES  |     | NULL    |                |
| power           | int(11)      | YES  |     | NULL    |                |
| beacons         | int(11)      | YES  |     | NULL    |                |
| iv              | int(11)      | YES  |     | NULL    |                |
| lan_ip          | varchar(255) | YES  |     | NULL    |                |
| id_length       | int(11)      | YES  |     | NULL    |                |
| essid           | varchar(255) | YES  |     | NULL    |                |
| wifi_key        | varchar(255) | YES  |     | NULL    |                |
| latitude        | double       | YES  |     | NULL    |                |
| longitude       | double       | YES  |     | NULL    |                |
+-----------------+--------------+------+-----+---------+----------------+

Compatibility

The scripts are being tested with Debian, Ubuntu, and Raspbian and it works well. No issues so far.

Notes

  • Be sure that your wireless device is correctly specified into 1-wardriver.py it may be different that 'wlan1'.
  • Take into consideration the location (indoor/outdoor) of the GPS device it may affect considerably the signal and precision.
  • Ensure your wireless device support monitoring mode.
  • Ensure extremelly stable power sources. Unstable voltage make Raspberryis go crazy and it produces strange behaviours.
  • You can also use the test scripts into the tests/ folder to ensure your devices are working properly.

wardriver's People

Contributors

zpol avatar

Stargazers

 avatar Anomalous_Security avatar Jorge avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.