Category: Applications

Using an RTL-SDR, RF Fingerprinting and Deep Learning to Authenticate RF Devices

Every device that transmits radio waves has a unique and identifiable RF fingerprint which occurs due to the very slightly variations in the hardware manufacturing process. This means that devices using identical transmitters of the same make and model can still be differentiated from one another.

Nihal Pasham has been using this knowledge as a way to securely identify IoT sensors and other RF devices like car keyfobs. The idea is that these unique RF fingerprints are immune to authentication spoofing which could be used to create a fake transmitter with fake data. He suggests that RF fingerprinting could be used as an additional authentication check for low cost IoT devices with only basic security.

In order to recognize the minute differences in the RF fingerprints of different devices Nihal notes that a good pattern detection algorithm is required, and that a deep learning neural network fits the bill. Using neural network software Tensorflow, and an RTL-SDR for signal acquisition, he was able to train a proof of concept neural model that was able to classify two test transmitters with 97% accuracy.

Training a Deep Learning Neural Network with an RTL-SDR for RF Fingerprinting
Training a Deep Learning Neural Network with an RTL-SDR for RF Fingerprinting

In the past we've seen similar experiments by Oona Räisänen who used an RTL-SDR to fingerprint several hand held radios heard on the air via small variances in the power and frequencies of each radio's CTCSS tone. Using simple clustering techniques she was able to determine exactly who was transmitting based upon the unique CTCSS.

In a somewhat similar fashion, Disney Research has also been working on a RF fingerprinting technique that uses an RTL-SDR based wrist watch to identify what particular electronic devices the wearer is touching.

LimeRFE WSPR Tests

The LimeRFE is a power amplifier and filter bank solution designed for the low cost TX capable LimeSDR software defined radios. It has multiple bands from HF all the way up to 3.5 GHz, and is capable of putting out about 2W on the HF bands. Currently LimeRFE is crowdfunding over on CrowdSupply with a cost of US$599 or alternatively there is now a cheaper unit for US$449 without support for the cellular bands. The campaign is active for 4 more days from the time of this post, and after that the price is due to rise by another US$100.

The team at LimeMicro sent a unit to Daniel Estévez (EA4GPZ) for testing, and he has recently posted about his results and thoughts when using the LimeRFE for WSPR transmission with a 15m long wire antenna. Daniel connected his LimeRFE to his LimeSDR and used WSJT-X piped into SDRAngel via Pulseaudio to transmit WSPR on the 10m band. He notes that for lower bands, the LimeRFE will still need additional low pass filtering to attenuate harmonics. SDRAngel cannot yet control the LimeRFE so he also created a simple Python script for this purpose.

Unfortunately Daniel's unit only achieved 25dBm instead of the advertised 33dB, but in LimeMicro's post they note that they believe that this is due to shipping damage. However, even with only 0.3W power, Daniel's transmissions from Madrid were able to be picked up in the Canary Islands, Netherlands and Northern England.

WSPR Range with a LimeRFE (reduced 0.3W output)
WSPR Range with a LimeRFE (reduced 0.3W output)

Updated Meteor M-N2-2 Tutorial and Decoder Now Available

Thank you to Happysat for submitting the following information about the updated LRPT decoder for Meteor M-N2-2. He has also provided a link to his very useful Meteor Satellite reception tutorial.

Today the official LRPT-Decoder V42 ready for release :)

Before we did use a older internal debug version from 2014, because this one was still in development.

This version 42 of LRPTDecoder will work with both Meteor M-N2 and Meteor M-N2-2.

Example ini configuration files for other modes are attached in the archive.

http://happysat.nl/LRPT_Decoder_v42.rar

Howto overhere http://happysat.nl/Setup_Meteor/Setup.html

Author of LRPT_Decoder is Oleg ROBONUKA.

The new Meteor M-N2-2 Decoder + Sample Image
The new Meteor M-N2-2 Decoder + Sample Image

Developing Your Own SDR Applications With Python

[Max-Felix Müller] wanted to develop his own SDR application with the goal of learning python and a bit about signals processing. To accomplish this goal he’s using [pyrtlsdr] a library which wraps many of the functions from the [rtlsdr-dev] library into a Pythonic set of functions that you can use to develop SDR applications for an RTL based SDR in python. Over on Hackaday.io Max-Felix has been writing about his Python RTL-SDR experiments and has been uploading sample code for anyone to take a look at and learn from. 

Using the library is pretty simple as it handles the basics of setting up the frequency and PPM settings as well as gain and proceeds to tunnel samples into your application. Max-Felix’s examples take us from the very first steps of setting up the dongle and gathering samples, to plotting the spectrum and creating a waterfall. This generally entails the use of another python library known as [matplotlib] and [numpy], which together you can use to create your own FFT.

It is nearly limitless what you can do with a little bit of Python and a few libraries given enough development time and you don’t need to be a software developing master to get started. You may be interested in taking a look at [PLSDR] which we covered in a previous article where [P. Lutus] developed his own SDR application completely in Python. It’s open-source so feel free to take a look and learn more about how you can implement amazing things with just a little bit of code.

SignalsEverywhere: Satcom Antennas for L-Band Reception via RTL-SDR + Podcast on the MiTee CubeSat Project

On this episode of SignalsEverywhere on YouTube Corrosive shows off several antennas that can be used for Inmarsat and Iridium satcom reception. His video shows off a commercial Inmarsat branded satlink antenna which is designed to be used on moving ships, a grid dish antenna, a custom QFH iridium antenna made from a repurposed Vaisala radiosonde, a commercial Iridium patch, an older Outernet/Othernet Iridium patch and a custom Iridium patch that Corrosive built himself.

Satcom Antennas for L-Band Reception via RTL SDR

A few days prior Corrosive also released a new episode of his podcast. In this episode he interviewed Derek a student from The University of Michigan who is working on the MiTee CubeSat. The MiTee cubesat is a small experimental satellite that will explore the use of miniaturized electrodynamic tethers for satellite propulsion.

Dronesense: A LimeSDR Based Drone Detector and Jammer

Over on the LimeSDR CrowdSupply blog, Ogün Levent has submitted a short article about his "Dronesense" project. Dronsense is a spectrum-scanning and jamming system based on the LimeSDR. The LimeSDR is a US$299 12-bit TX/RX capable SDR that can tune between 100 kHz – 3.8 GHz, with a maximum bandwidth of up to 61.44 MHz.

Drone defense is a problem that is plaguing airports, cities, sensitive buildings and the military. These days anyone with a low cost off the shelf drone can cause havoc. Solutions so far have included net guns, drone deployed nets, wideband jammers, GPS spoofers, traditional and passive radar systems, visual camera detection, propeller noise detection, microwave lasers and SDR based point and shoot drone jamming guns like the IXI Dronekiller.

Both the expensive made for military IXI Dronekiller SDR gun, and the LimeSDR Dronesense work in a similar way. They begin by initially using their scanning feature to detect and find potential drone signals. If a drone signal is detected, it will emit a jamming signal on that particular frequency, resulting in the drone entering a fail-safe mode and either returning to base or immediately landing. Specifically targeting the drone's frequency should help make the jammers compliant with radio regulations as they won't jam other legitimate users at the same time. We note that this method might not stop drones using custom RF communications, or fully autonomous drones.

Dronesense: Drone Detection and Jammer Mounted on another Drone, running on a LimeSDR.
Dronesense: Drone Detection and Jammer Mounted on another Drone, running on a LimeSDR.

However, unlike the IXI Dronekiller gun, Dronesense requires no pointing and aiming of a gun like device. Instead it appears to be mounted on another drone, with an omnidirectional jamming antenna. It runs with a GNU Radio based flowgraph which decides if a detected signal is from a drone, and if so activates the jammer. Unfortunately the software and further details don't appear to be available due to non-disclosure agreements.

DroneSense Second Jamming Test (Software Defined Aerial Platform)

SDR-Makerspace Talk: Evaluation of SDR boards and toolchains

The Software Defined Radio Academy YouTube channel recently uploaded an interesting talk by Alex Csete (creator of the popular GQRX and GPredict applications), and Sheila Christiansen. Their presentation discusses their work with the European Space Agency (ESA), Libre Space Foundation and how they are running SDR Makerspace's that are helping students create and track cubesats. During the talk Alex and Sheila also describe various SDR hardware, and how they test them for their purposes.

SDR Makerspace (https://sdrmaker.space) is a collaboration between the European Space Agency and Libre Space Foundation, with the objective of bringing innovative open-source SDR technologies to space communications.

Space is a complex environment. Attempting to incorporate SDRs into complex subsystems of space missions without sufficient understanding of the technology can add unnecessary risks and uncertainties to the mission. SDR Makerspace aims to bring open-source SDR technology to the space industry, focusing on the practical aspects of satellite communications, so as to reduce such risks.

Makers, open-source hackers, SDR enthusiasts, and researchers are collaborating on SDR hardware and software activities, focusing on rapid prototyping and development of reusable, open-source SDR components for future CubeSat missions.

The collaboration consists of many activities, which are organized into three main elements: development of reusable GNU Radio components, research and development in cutting edge technologies like AI/ML, and testing of SDR hardware and software.

Current activities are presented with a focus on the testing of the hardware and software. An overview of the investigation into the characteristics, such as, performance under realistic conditions, damage by radiation to essential parts, functionality of FPGA toolchains, the SDR-system’s complexity, and accessibility to the open-source community will also be covered.

Alex Csete, OZ9AEC: SDR-Makerspace: Evaluation of SDR boards and toolchains

A Demonstration of RSPDuo Diversity Being used to Cancel Local Interference

SDRPlay have recently published a video demonstrating how the new RSPduo diversity feature in SDRUno can be used to cancel local interference.  The SDRplay RSPDuo is a 14-bit dual tuner software defined radio capable of tuning between 1 kHz - 2 GHz. It's defining feature is that it has two receivers in one radio, which should allow for interesting phase coherent applications such as diversity. The RSPDuo's diversity feature allows us to either combine two antenna signals together for an up to 3 dB increase, or for removal of an unwanted noise source via subtraction of signals.

In the video they show a broadcast AM signal that has it's SNR reduced by being on top of a local electrical noise source. The use a Bonito Mega-dipole on tuner 1, and a Bonito Mini-whip on tuner 2. The Mini-whip appears to receive the local interference stronger, so can be subtracted away from the Mega-dipole's signal with the diversity function. The result is improved SNR, and the noise is almost entirely cancelled.

There are 2 very practical applications for diversity software. The first is MRC (Maximum Ratio Combination) Diversity which, in order to be effective, needs two antennas presenting the same signal with some degree of diversity. Then there is this second impressive application which is becoming more and more useful due to the growing number of domestic sources of interference.

This is possible in an RSPduo, due to the coherent nature of the combined tuner streams being presented to the computer for processing.

Using Diversity in SDRplay's SDRuno to Cancel Local Interference