Scroll to top

The Pi Telemetry

Ideally the campaign is to rig up an SDR via script in python to a Raspberry Pi 4 w/ an Alfa Antenna. Quick overview nevertheless. Let’s look at things that work through radio! SCADA systems, AM/FM stereos, gps, bluetooth, wifi, wireless security systems, IoT devices, cell phones, TV’s, and the list goes on. So we look at SDR. To run simple replay attacks on other non-rolling code machines. 

We can also run a jammer. With a py script via utilizing a hackRF hardware setup. But essentially you’d have to identify the frequency and then run the script from there. Just keep in mind jamming is heavily illegal. Yet… here we are. ./jam_narrow.py 420420000. If you just want to hack the waves like some insane cryptologist. Understanding the wavelengths is pivotal. 

Now we have to look at how to transmit that data from SDR rigged into a raspberry pi. Here are a few ways to do so. Keep in mind we want to look like an LTE phone and not a drone or anything out of whack emitting strange signals. The idea is to hide in plain sight!

Socket Programming (TCP/UDP):

You can use Python or another programming language to create a socket server on your Raspberry Pi and a socket client on your laptop. This allows you to establish a network connection between the two devices and transmit data in real-time. TCP provides reliable data transmission, while UDP offers lower latency but may not guarantee delivery.

HTTP/Websockets:

Create a web server on your Raspberry Pi (using libraries like Flask or Django) and use websockets for bidirectional communication. Websockets allow you to send and receive data in real-time over an HTTP connection, making it suitable for live data transmission.

MQTT (Message Queuing Telemetry Transport):

MQTT is a lightweight messaging protocol commonly used for IoT applications. You can set up an MQTT broker on your Raspberry Pi and publish data to specific topics. Your laptop can then subscribe to these topics to receive live updates.

Bluetooth/Wi-Fi Direct:

If the devices are within close proximity, you can use Bluetooth or Wi-Fi Direct to establish a direct wireless connection. These methods are suitable for short-range communication and can be used to transmit data, including sensor readings or files, between devices.

Remote Desktop Software:

If you need to access the Raspberry Pi’s desktop environment or specific applications remotely, you can use remote desktop software such as VNC or TeamViewer. This allows you to control the Raspberry Pi from your laptop and view live data.

Cloud Services:

Upload live data from your Raspberry Pi to cloud-based services such as AWS IoT, Google Cloud IoT, or Microsoft Azure IoT Hub. You can then access and analyze the data from your laptop using the respective cloud platform’s tools and APIs.

SSH and SCP (Secure Copy):

Use SSH (Secure Shell) to securely connect to your Raspberry Pi from your laptop. You can then use SCP to transfer files or data between the devices. This method is suitable for occasional data transfers but may not be ideal for real-time streaming.

Custom Protocol or Application:

Depending on the nature of your data and requirements, you may develop a custom protocol or application to transmit live data. This approach allows you to tailor the solution to your specific needs.

The choice of method will depend on factors such as the type of data you want to send. But really I want to be able to communicate from Pi to Remote Workstation and for that selection is TCP socket, VNC or TEAMVIEWER, and SSH as the SWOT analysis on creating this campaign. Again SRTSP would be cool as well. 

Related posts