Queen's University at Kingston
A Testing Framework for Evaluating Behavioural Correctness in Robotic Systems Using Clustering as an Oracle
Abstract
dc:description.abstractThe integration of robotic systems is rapidly expanding across a wide range of in- dustries, but this growth is accompanied by an increase in security risks. The large attack surface of robotic and AI-driven autonomous systems makes them particularly attractive targets for malicious actors. Their inherent complexity and the wide ar- ray of entry points leave them vulnerable to various forms of attack. Fuzz testing, a technique widely employed in software security, has proven effective in identifying vulnerabilities by generating random inputs to uncover weaknesses. However, ap- plying fuzz testing to robotic systems presents two significant challenges: the lack of a reliable oracle to evaluate test outcomes and the difficulty of detecting failures related to behavioral correctness, as traditional fuzzing focuses on memory safety and software bugs. In this work, we propose a novel testing framework for robotic systems aimed at addressing these limitations. Our central research question is whether feature vectors representing a robotic system’s communication graph and messages can enable clus- tering to serve as a reliable oracle for assessing behavioural correctness. The frame- work involves recording experiment data, modeling communication as ROS graphs, extracting feature vectors from graphs and message data, and performing clustering to identify patterns. Using agglomerative hierarchical clustering on the generated ROS bags and system graphs, we evaluate the effectiveness of this approach in dis- tinguishing between normal and malicious experiment runs. The results demonstrate high accuracy, with clustering models identifying mali- cious experiments with over 92% accuracy. However, metrics such as Area Under the Curve (AUC) suggest significant rates of false positives, limiting the model’s ability to reliably differentiate between true and false anomalies. Interestingly, clustering based solely on structural features yielded lower accuracy but improved AUC values, high- lighting its potential for better differentiation between malicious and non-malicious behaviors. This framework contributes to advancing the behavioral analysis of robotic systems, offering a new perspective on leveraging graph-based clustering for robust security testing.
Degree
thesis:*- Department dc:contributor.department
- Computing
- Grantor
- Queen's University at Kingston
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Chowdhury, Md Ishmam Labib
- Advisor dc:contributor.supervisor
-
- Dean, Thomas
Subjects
dc:subject × 4Rights
dc:rights- Statement dc:rights
-
- Attribution 4.0 International
- Licence dc:rights.uri
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1974/34441