arXiv:2610.09825cs.CROct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.09825

Hybrid Hierarchical Runtime Verification for Edge-IoT Security: Combining MonPoly and RTLola

Nikolaos Kekatos, Marinelio Chintri, Panagiotis Katsaros, Alexios Lekidis, Tom Nianios, Ioannis Seitoglou, Anastasios Temperekidis, Stylianos Basagiannis

Nikolaos Kekatos (⊗)1^{(\otimes)1} D◯\textcircled{D}, Marinelio Chintri 2^{2} D◯\textcircled{D}, Panagiotis Katsaros 3^{3} D◯\textcircled{D}, Alexios Lekidis 4^{4} D◯\textcircled{D}, Tom Nianios 1^{1} D◯\textcircled{D}, Ioannis Seitoglou 2^{2} D◯\textcircled{D}, Anastasios Temperekidis 1^{1} D◯\textcircled{D}, and Stylianos Basagiannis 2^{2} D◯\textcircled{D}

1^{1}Clone Systems, Larnaca, Cyprus,

{nkekatos,tnianios,atemperekidis}@clone-systems.com 2^{2}International Hellenic University, Serres, Greece, {basagiannis,marchint,ioaseito}@ihu.gr 3^{3}Aristotle University of Thessaloniki, Greece, katsaros@csd.auth.gr 4^{4}University of Thessaly, Larissa, Greece, alekidis@uth.gr

(✉) Corresponding author.

Abstract. Security monitoring of edge-IoT fleets faces three structural challenges. (i) A per-node monitor is cheap but cannot see attacks that coordinate across devices. (ii) A cloud monitor sees the full fleet but pays for that view in bandwidth. (iii) Even at the cloud, a monitor built on a single RV engine can be fooled by an attacker who compromises a device, raises one malicious request, and then goes silent: once the events stop, an event-triggered monitor has nothing left to evaluate. We propose a three-layer hierarchical runtime-verification framework that addresses all three. The edge layer classifies events as they happen, the gateway layer aggregates short windows of per-device behaviour, and the cloud layer runs two complementary RV engines. MonPoly handles first-order temporal correlation over the merged alert stream: coordinated overflow (which genuinely quantifies across devices) plus per-device multi-vector APT, escalation, and persistent-campaign patterns. RTLola handles a time-triggered silent-node property that an event-triggered engine cannot detect within a bounded delay under fleet silence. We evaluate the framework on a 15-actor Docker testbed covering eight attack profiles plus a silent-bypass scenario. In the controlled labelled testbed, every device-attributable incident the framework raises names an attacker-labelled device, and the RTLola tier catches silent-bypass attempts the event-triggered tier misses. Per-event monitoring stays in the microsecond range at the edge and gateway, with low end-to-end alert-to-incident latency at the cloud.

Keywords: Hierarchical runtime verification · Edge-IoT security · Hybrid MFOTL/stream RV · MonPoly · RTLola · Silent-bypass detection · Coordinated APT

∗^{*} This is a preprint of an article published in Availability, Reliability and Security (ARES 2026), EU Projects Symposium Workshops, Springer LNCS. The final authenticated version is available online at https://doi.org/10.1007/978-3-032-37218-5_14.

N. Kekatos et al.

1 Introduction

Security-critical decisions in edge-IoT deployments are pushed ever closer to the device [9], but doing everything at the edge has a structural cost in visibility. A per-node monitor sees only its own device, so an attack that coordinates across devices [24] is invisible to it. Pushing every event to a central cloud monitor restores the fleet-wide view, but pays for it in bandwidth and detection latency. And even a well-resourced cloud monitor built on a single RV engine keeps one blind spot: silence. An attacker who compromises the on-device monitor, issues a single malicious request, and then goes quiet leaves an event-triggered monitor [8] with nothing left to evaluate.

Each of these choices fixes one weakness only to expose another, so neither a single tier nor a single engine suffices. To cover all three at once, this paper proposes a three-layer hierarchical runtime-verification framework built on formal RV methods [18,14] that assigns each tier the checks it can afford and reserves for the cloud the checks no lower tier can express. The edge layer (L1) is a per-event canonicaliser that classifies buffer overflows, time spoofing, fuzzing, and safe transactions. The gateway layer (L2) aggregates short windows per device, covering repeated overflows, spam and pulsing DoS, and immediate fuzz or time-anomaly alerts. The cloud layer (L3) is where the paper makes its central design choice: rather than pick one RV engine, we run two side by side. The first RV engine is MonPoly [6]; its expressive first-order temporal specification language handles four past-time correlation properties over the merged alert stream. One of them, coordinated overflow, genuinely quantifies across devices and is provably inexpressible at any single-device tier (Theorem 1); the other three (multi-vector APT, escalation, persistent campaign) are per-device patterns ( ∀d\forall d) that we consolidate at the cloud by choice. The second is RTLola [15], which handles a single time-triggered property, silent-node anomaly, whose verdict must be emitted at a fixed deadline rather than on input. When fed the merged multi-device stream, an event-triggered engine like MonPoly stalls only under total fleet silence – exactly the silent-bypass case – which RTLola's time-triggered semantics bounds natively. The result is that fast, deterministic decisions stay at the edge; per-device temporal aggregation stays at the gateway; cross-device correlation and absence-of-event detection live at the cloud.

We evaluate the framework on a 15-actor Docker testbed spanning eight attack profiles (normal, overflow, time-spoof, spam/DoS, low-and-slow overflow, fuzz, pulsing DoS, mixed APT). Single-node attacks are caught by the edge and gateway tiers; multi-vector APT, persistent campaigns, and silent-bypass require the hybrid cloud tier.

Why three layers. Edge-only stream-based RV [15,11,21] offers rich per-trace semantics but cannot correlate behaviour across N devices. A gateway tier that counts events over short windows brings repeated overflow and spam into reach. But it still misses attacks that mix different vectors across different devices in one window. That is exactly the pattern multi-vector APT and coordinated campaigns follow, as in ICS incidents like the 2015 Ukrainian power-grid attack [24]. MonPoly's specification language [6] supplies the quantifiers this class of property needs, but running it on every raw packet from N devices is too costly in bandwidth and compute. That is why correlation sits at the cloud tier.

Hierarchical CPS-RV literature [5,20] establishes the decomposition pattern; we refine it on four axes. First, we prove a layer non-collapse theorem (Theorem 1, Section 3.3): under the single-device gateway abstraction we adopt, no per-device rule can decide a property that quantifies over two distinct devices, so detecting a coordinated cross-device attack is provably impossible below the cloud under that abstraction. The cloud tier therefore fills a gap the lower tiers cannot, by construction, fill.

Second, we identify a gap less often discussed: event-triggered monitors like MonPoly report a missing event only once a later-timestamped event arrives, with no bound on detection latency. Time-triggered stream monitors like RTLola, by contrast, emit a verdict at the deadline regardless of input but express cross-device joins less naturally. Running both engines side by side covers both gaps without pushing either outside the properties it handles well. Third, we contribute an executable artefact that turns the per-tier specifications into an end-to-end audit trail, tracing every cloud incident back to the gateway alerts and edge events that produced it. Fourth, we report measured per-event monitoring cost at each tier and end-to-end alert-to-incident latency at the cloud (Section 5.5), making these deployment choices quantifiable.

Cost asymmetry and adversary model. The framework forces an attacker to pay coordination cost across at least three devices, while the defender pays only a bounded per-event canonicaliser at the edge (mean ∼57μs\sim57\mu s) and a sliding-window update at the gateway (mean ∼710μs\sim710\mu s, Section 5.5), with constant-size witness sets per alert. On our workload the gateway-to-cloud alert stream is roughly 7×7\times smaller than the edge input; we do not claim a larger reduction, as that would assume a raw-packet upstream our testbed does not measure. End-to-end cloud latency stays around 1.7s, with the silent-node detector adding a fixed five-second window.

We assume an adversary who compromises one or more edge monitors and knows the framework’s thresholds and the cloud property catalogue. “Success” for the adversary means causing exfiltration or disruption without raising any cloud-level MonPoly or RTLola incident. Supply-chain compromise of the edge or gateway binaries (assumed handled by attestation), gateway-timestamp tampering, and direct interference with the edge sidecar are out of scope.

Contributions. The paper makes four contributions. We give a three-layer formal specification with thirteen properties (P1.1–P1.4 at the edge, P2.1–P2.4 at the gateway, and P3.1–P3.5 at the cloud) that together cover eight attack classes plus a silent-bypass scenario. We describe a hybrid reference architecture in which the cloud tier runs four MonPoly processes alongside one RTLola time-triggered process. We instantiate the architecture on a 15-actor Docker testbed, and we evaluate it by reporting per-property incident counts, per-tier monitoring cost, alert-to-incident latency, and a replay of real IoT-23 data.

N. Kekatos et al.

Table 1. The eight attack profiles emulated by the testbed (A1–A8) plus the silent-bypass scenario (AS1), with the detecting tier/property. AS1 is not a separate node: it arises as a behaviour of existing attackers.

IDProfileParametersDetected by
A1Normal traffic[10,30] B[10, 30]\ \mathrm{B}, interval U(0.1,4.0) sU(0.1, 4.0)\ \mathrm{s}(baseline)
A2Buffer overflow[35,60] B[35, 60]\ \mathrm{B}; 80%80\% vulnerable_sendL1 / P1.1
A3Time spoofturn offset ±300/600 s\pm 300/600\ \mathrm{s}L1 / P1.2; L2 / P2.3
A4Spam DoSinterval U(0.005,0.05) sU(0.005, 0.05)\ \mathrm{s}, safe_sendL2 / P2.2
A5Low-and-slow ovfl31–32 B payloads, 10%10\% rateL1 / P1.1; L2 / P2.1
A6Fuzzmalformed content*L1 / P1.3; L2 / P2.4
A7Pulsing DoS20-event bursts every 20–30 sL2 / P2.2
A8Mixed APT40% mix of overflow / spoofL3 / P3.1, P3.2
AS1Silent bypassoverflow then silence (≥5 s\geq 5\ \mathrm{s})L3 / P3.5
  • Fuzz payloads are non-printable or structurally invalid.

References (28)