Universal Radio Hacker: investigate wireless protocols like a boss
Project description
Universal Radio Hacker
Tests Linux/OSX | Tests Windows | Test Coverage | Latest Release |
---|---|---|---|
The Universal Radio Hacker (URH) is a software for investigating unknown wireless protocols. Features include
- hardware interfaces for common Software Defined Radios
- easy demodulation of signals
- assigning participants to keep overview of your data
- customizable decodings to crack even sophisticated encodings like CC1101 data whitening
- assign labels to reveal the logic of the protocol
- fuzzing component to find security leaks
- modulation support to inject the data back into the system
- simulation environment to perform stateful attacks
To get started, download the official userguide (PDF), watch the demonstration videos (YouTube) or check out the wiki for more information and supported devices. Scroll down this page to learn how to install URH on your system.
If you find URH useful, please consider giving this repository a :star: or even donate via PayPal. We appreciate your support!
Installation
Universal Radio Hacker can be installed via pip or using the package manager of your distribution (if included). Below you find more specific installation instructions for:
Windows
On Windows, URH can be installed with it's MSI Installer. No further dependencies are required.
If you get an error about missing api-ms-win-crt-runtime-l1-1-0.dll
, run Windows Update or directly install KB2999226.
Linux
Via Package Manager
For the following linux distributions you can install URH using your package manager.
Distribution | Install with |
---|---|
Arch Linux | yaourt -S urh |
Gentoo / Pentoo | emerge -av urh |
Fedora 25+ | dnf install urh |
openSUSE | zypper install urh |
Generic way with pip (Ubuntu/Debian)
URH you can also be installed with pip using pip3 install urh
.
In case you are running Ubuntu or Debian read on for more specific instructions.
In order to use native device backends, make sure you install the -dev package for your desired SDRs, that is libairspy-dev
, libhackrf-dev
, librtlsdr-dev
, libuhd-dev
.
If your device does not have a -dev
package, e.g. LimeSDR, you need to manually create a symlink to the .so
, like this:
sudo ln -s /usr/lib/x86_64-linux-gnu/libLimeSuite.so.17.02.2 /usr/lib/x86_64-linux-gnu/libLimeSuite.so
before installing URH, using:
sudo apt-get update
sudo apt-get install python3-numpy python3-psutil python3-zmq python3-pyqt5 g++ libpython3-dev python3-pip
sudo pip3 install urh
Docker Image
If you use docker you can also run the official URH docker image available here.
Mac OS X
- Install Python 3 for Mac OS X. If you experience issues with preinstalled Python, make sure you update to a recent version using the given link.
- (Optional) Install desired native libs e.g.
brew install librtlsdr
for corresponding native device support. - In a terminal, type:
pip3 install urh
. - Type
urh
in a terminal to get it started.
Update your installation
Updating with Pip
If you installed URH via pip you can keep it up to date with pip3 install --upgrade urh
, or, if this should not work python3 -m pip install --upgrade urh
.
Updating with MSI
If you experience issues after updating URH using the .msi
installer on Windows, please perform a full uninstallation. That is, uninstall URH via Windows and after that remove the installation folder (something like C:\Program Files\Universal Radio Hacker
). Now, install the new version using the recent .msi
.
Running from source
If you like to live on bleeding edge, you can run URH from source.
Without installation
To execute the Universal Radio Hacker without installation, just run:
git clone https://github.com/jopohl/urh/
cd urh/src/urh
./main.py
Note, before first usage the C++ extensions will be built.
Installing from source
To install from source you need to have python-setuptools
installed. You can get it e.g. with pip install setuptools
.
Once the setuptools are installed use:
git clone https://github.com/jopohl/urh/
cd urh
python setup.py install
And start the application by typing urh
in a terminal.
External decodings
See wiki for a list of external decodings provided by our community! Thanks for that!
Screenshots
Get the data out of raw signals
Keep an overview even on complex protocols
Record and send signals
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file urh-2.2.1.tar.gz
.
File metadata
- Download URL: urh-2.2.1.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d545a1ce2d817f6cd2aadb24789271937612fd4d57700e227d38c1e9c99c7ac |
|
MD5 | c13008cdac0b1af87d0a3b8f26c413f1 |
|
BLAKE2b-256 | 33dd8fcdf14fe509dc38bd471ad695de9dd8f40418142a9c836005d93b34aecd |
File details
Details for the file urh-2.2.1-cp36-cp36m-win32.whl
.
File metadata
- Download URL: urh-2.2.1-cp36-cp36m-win32.whl
- Upload date:
- Size: 8.9 MB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee027f3b517c1b0e14ac858ad817285ef0649b1f1f9699768d591192714f4d13 |
|
MD5 | 47399da907f41604eae06334107e2a05 |
|
BLAKE2b-256 | 79644445cd3c76a4952eca96260345b49f592ece3335229e53f9f3d9fef98e74 |
File details
Details for the file urh-2.2.1-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: urh-2.2.1-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 10.6 MB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe1e97462375eb2fe635c0ef9f8b1e3ff44faabffc5620a0671e086dc511efb4 |
|
MD5 | 782a1da1acb34b5ff9f3f9e32eee80a1 |
|
BLAKE2b-256 | 1203f539f66846f92c5c54c544b0a6fa7ec89d076acb7ab70498f19a6261d2a6 |
File details
Details for the file urh-2.2.1-cp35-cp35m-win32.whl
.
File metadata
- Download URL: urh-2.2.1-cp35-cp35m-win32.whl
- Upload date:
- Size: 8.9 MB
- Tags: CPython 3.5m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19186151181f2caae89d0bd94fba6b3f0f5051f1693864eeca2083e6e91bd451 |
|
MD5 | 1c88caef9188f5acac66084fb3b59c74 |
|
BLAKE2b-256 | 6eef1a0d798f8c8eba1db989cca5a3eacd707a4241c17308e90a8a5f49c84777 |