Skip to content

FH Technikum Wien

Detecting Integrity Manipulation by Authenticated IoT Sensor Nodes at a Resource-Constrained Edge Gateway

MIO-3 Master's Project / planned Master's thesis direction

FH Technikum Wien · MSc Internet of Things & Intelligent Systems

Current research scope: October 2026

This scope has not received final formal approval as a Master's thesis topic.

Research problem

This project studies sensor-data integrity at the application and payload layer of an authenticated MQTT sensor system. It asks whether a resource-constrained edge gateway can flag suspicious semantic changes in sensor values when a message comes from a legitimate, authenticated and authorised device. It does not study bypassing MQTT authentication, and it does not treat ordinary environmental variation as an attack.

Research objective

The plan is to build a reproducible testbed and compare one statistical baseline with two lightweight detection methods on the same Raspberry Pi 5. Each method will be evaluated separately on controlled, manipulated sensor streams.

Threat model

The research design assumes TLS, MQTT client authentication and topic ACLs; this describes the intended experimental conditions, not a completed deployment. The threat is a legitimate sensor node that has been compromised or otherwise sends manipulated but syntactically valid measurements. Transport and access security are outside the experimental attack scope. Testbed validation is required before manipulation experiments.

Research questions

Current research scope · October 2026

RQ1
How can legitimate sensor behaviour be represented using causal temporal and physical-consistency features to support the detection of manipulated sensor values?
RQ2
How do lightweight anomaly-detection methods compare with a statistical baseline in terms of precision, recall, F1-score, false-alarm rate, and detection delay across different forms and levels of sensor-data manipulation?
RQ3
What trade-offs arise between detection quality (F1-score, false-alarm rate, detection delay) and edge-resource consumption (inference latency, CPU usage, memory usage) on a resource-constrained IoT gateway?

System architecture

System architecture of the isolated Secure Edge AI IoT research testbed with ESP32-S3 sensor node, controlled attack injection and Raspberry Pi 5 edge security gateway.
Open original-size diagram

ASAIR AM2302 → ESP32-S3-DevKitC-1 → Wi-Fi / authenticated MQTT → controlled manipulation layer in the isolated testbed → Raspberry Pi 5 → preprocessing and causal temporal and physical-consistency features → one independently selected detector → anomaly score / security decision → experiment logging.

Experimental procedure

Local ESP32-S3 and AM2302 measurements will first establish legitimate behaviour. Labelled manipulations will then be introduced at different magnitudes, rates or durations. The statistical baseline, Isolation Forest and One-Class SVM will run separately and be compared using the same detection and resource metrics.

Research methodology from problem and research questions through normal-behaviour modelling, controlled attack injection, independent detection methods, edge deployment and evaluation; RQ1 maps to modelling, RQ2 to detection, RQ3 to edge resources.
Open original-size diagram

Detection methods

  • Modified Z-score (statistical baseline)
  • Isolation Forest
  • One-Class SVM

The modified Z-score baseline, Isolation Forest and One-Class SVM will be compared as independent detectors. They will not vote together and will not form an ensemble.

Controlled manipulations

Attack subtlety is an experimental variable. Magnitude, rate or duration will range from obvious to subtle. All manipulation experiments will take place only inside the isolated research testbed.

  • Spike / false-data injection
  • Persistent bias
  • Gradual drift
  • Stuck / frozen values
  • Replay (optional)

Experimental platform

Core hardware

  • Raspberry Pi 5
  • ESP32-S3-DevKitC-1
  • ASAIR AM2302

An Arduino Nano 33 BLE Sense Rev2 may be used as an unmanipulated reference sensor for cross-sensor consistency. It is not required for the core experiment.

Software / protocols

  • Linux / Raspberry Pi OS
  • Wi-Fi / authenticated MQTT
  • Python · pandas / NumPy · scikit-learn

Data

The core dataset will be collected locally with the ESP32-S3 and AM2302. An additional historical dataset may be used, but it will not replace the security labels from controlled experiments.

  • Preferred: authorised historical FH environmental or weather data, if access is granted
  • Public fallback: AIRWISE
  • Ground-truth security labels exist only for deliberately injected manipulations
  • Environmental anomalies are not automatically cybersecurity attacks

Evaluation

Each method will be evaluated separately. The analysis will relate detection quality to resource consumption on the edge gateway.

Detection

  • Precision
  • Recall
  • F1-score
  • False-alarm rate
  • Detection delay

Edge resources

  • Inference latency
  • CPU usage
  • Memory usage

Scope and safety

  • Manipulation experiments will take place only in an isolated research testbed.
  • Attacks against FH production infrastructure are out of scope.
  • This is not a general-purpose IoT intrusion-detection project.
  • An anomaly or security alert indicates suspicious behaviour, not proof of malicious intent.
  • Wi-Fi, TLS and MQTT access controls are assumed and will not be attacked.

Current status

Defined / available

  • October 2026 research scope defined
  • Raspberry Pi 5, ESP32-S3 and ASAIR AM2302 available
  • System architecture and experimental procedure drafted

Next steps

  • Formal scope alignment and FH data-access decision
  • Testbed setup and local data collection
  • Feature definition and separate detector experiments
  • Detection and resource measurements on Raspberry Pi 5