Universidade de Coimbro
Feature analysis of cyberattacks for improved AI-based anomaly detection in microservice-based applications
Abstract
dc:description.abstractThis thesis presents an empirical feature analysis of cyberattacks in the context of microservice-based applications, aimed at improving the reliability of AI-based anomaly detection. Rather than treating extracted network features as interchangeable classifier inputs, this work examines which features genuinely characterise malicious behaviour and which merely reflect properties of the dataset or of the attack-generation tool — a distinction with direct consequences for real-world generalisability. The analysis covers six attack scenarios from the BCCC-CIC-IDS2018 dataset: DoS Hulk, DoS GoldenEye, DoS Slowloris, Brute Force FTP, Brute Force SSH, and Botnet.For each attack, two feature selection pipelines (LCFS and MMIFS) are applied, and Random Forest and Decision Tree classifiers are trained on the resulting subsets. The most discriminative features are interpreted using SHAP, LIME, Partial Dependence Plots, and Individual Conditional Expectation plots, and validated through exploratory data analysis. Each feature is then evaluated against a single criterion: would it still discriminate malicious from benign traffic if realistic benign traffic, including the target protocol, were present? Features are accordingly classified as genuinely representative, dataset-dependent, or ambiguous.The analysis shows that a few features, such as handshake duration, generalise consistently across attacks, while others, such as the initial TCP window size, merely reflect fixed tool configurations. Header byte features prove genuinely representative for denial-of-service attacks but dataset-dependent for brute force attacks, due to the absence of legitimate SSH and FTP traffic in the benign class. In Brute Force FTP, several apparently discriminative features, including inter-arrival time statistics, are shown to be extraction artefacts rather than genuine behaviour.These results provide a feature-by-feature account of why specific features discriminate for each attack and which can be expected to generalise beyond this dataset, offering a concrete basis for feature selection in anomaly-based intrusion detection for real-world microservice environments.
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Filipe, José Pedro Correia
- Advisors dc:contributor.advisor
-
- Campos, João Rodrigues de
- Figueiredo, Sérgio
Subjects
dc:subject × 10Rights
dc:rights- Statement dc:rights
-
- embargoedAccess
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Dc Identifier Tid
- 204414407