Inspiration
Farms, mines and energy sites often have no broadband, so their IoT sensors report through satellite and 5G links. Those links get slow, lossy and sometimes drop out. I wanted to know what that does to a security monitoring system, and whether AI can still protect those devices without drowning operators in false alarms.
What it does
CyberShield is a security operations platform for IoT devices on satellite and 5G links.
- It collects sensor telemetry over MQTT (TLS) and checks every reading with 21 explainable rules mapped to MITRE ATT&CK: floods, unknown devices, spoofing, out-of-range values, connection storms, malformed data.
- Link-aware detection: a probe measures each link on its own. When a satellite link comes back after an outage, the buffered readings arrive in a burst. CyberShield knows this is backlog and not an attack, so it cuts false alarms by 98.8% without missing real floods.
- AI anomaly detection: learned detectors (autoencoder and others) find tampering that stays inside normal ranges, which the rules cannot see.
- AI analyst: an LLM assistant (DeepSeek) explains alerts in plain language and suggests next steps, with a human approving any quarantine.
- 3D dashboard: a live 3D view of devices, satellites and ground stations, with incidents handled through the NIST response phases.
How we built it
- Backend: Python, FastAPI, Eclipse Mosquitto (MQTT over TLS), SQLite/PostgreSQL
- Frontend: React, Vite, Three.js
- Hardware: an ESP32 with a DHT11 sensor sending real readings over TLS
- AI: a 4-8-2-8-4 autoencoder, scikit-learn detectors (LOF, Isolation Forest, one-class SVM), DeepSeek API for the analyst
- Testing: I wrote a packet-level emulator for satellite-like and 5G-like links (delay, loss, burst loss, outages) and ran five experiments with repeated runs
Challenges we ran into
- My first link-aware version let some attacks hide during outages. The experiment exposed this, and I fixed it so only data that arrives after the link recovers is excused.
- AI detectors raised many false alarms when devices moved or seasons changed. Re-normalising the data daily cut those alarms by 63–93%.
- I had no real satellite terminal, so I built and validated an emulator instead and was careful to call the links "emulated".
Accomplishments that we're proud of
- False alarms after link outages dropped from 2.5 to 0.03 per device-hour.
- A failover with a smart timeout cut the service gap after outages from 19–130 s to 2–3 s with no lost data.
- The system handled 1000 simulated devices without losing a reading.
- A real ESP32 device delivered 126 of 126 readings over TLS.
What we learned
On satellite links, the main security problem is not lost data. It is timing: delayed data arriving all at once looks like an attack. I also learned to report negative results honestly. Some attacks (low-and-slow floods, stuck sensors) are still not detected.
What's next for CyberShield
- Test with a real LEO satellite terminal and real 5G
- Detect stuck sensors and slow, distributed attacks
- Deploy it on Huawei Cloud
Links
Built With
- arduino
- deepseek
- dht11
- docker
- esp32
- fastapi
- mosquitto
- mqtt
- numpy
- postgresql
- python
- react
- scikit-learn
- sqlite
- three.js
- tls
- vite