Combating Advanced Persistent Threats through Artificial Intelligence: An Algorithmic Approach

List of Authors

  1. Pedro Brandao
Article Authors & roles Authors Peer review record Peer review Metrics
Cite

Abstract

This essay highlights the importance of leveraging Artificial Intelligence (AI) tools to combat Advanced Persistent Threats (APTs). Central to this study is the theoretical framework describing the design and evaluation of algorithms that analyze extensive datasets of security-related consultation items. Algorithms for aggregating such datasets are also developed, along with a detailed methodology to ensure adequate statistical significance. To test the research hypothesis, the designed algorithms were used to analyze a large dataset containing detailed information on APT campaigns. APT campaigns involve a series of distinct attacks aimed at gaining control over computational assets. These campaigns are significant cybersecurity threats because they are difficult to detect and are part of a lucrative black market worth hundreds of billions of dollars. Refined tools for launching and managing APT campaigns are supplied to criminal organizations and state actors through Growth Hacking, Inbound Marketing, and other B2B services. Networks of controlled computational assets infiltrated by sell-side ad networks are extensively exploited by these tools. Improved algorithms have been developed to coordinate content consumption and carry out hacking and phishing attacks. Data are stored in a unique, bottom-up event model that describes the lifecycle of APT campaigns and accounts for the limited knowledge of their participants. In the spirit of open science, scripts for collection, deduplication, labeling, and feature engineering, along with dataset splits, data dictionaries, and other materials, have been shared alongside the results of this study. The developed algorithms were used to train and evaluate predictive models for the lifecycle stages of APT campaigns and the decision to engage with them. By providing new domain knowledge and insights, this study encourages researchers to co-create domain-specific machine-learning algorithms with practitioners focusing on countermeasures and emphasizes the need for a new multidisciplinary field merging “Growth Hacking, Inbound Marketing, and Early-Stage Venture Cyber Security VC Strategies” 1.

Corresponding author
Pedro Brandao
0000-0001-6351-6272
Grant information

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No [774431, 952215]( Foundations of Trustworthy AI - Integrating Reasoning, Learning and Optimization-TAILOR.

Copyright
© 2025 Pedro Brandao (Corresponding Author) Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

First version published
Latest version published
Revised

Amendment

This revised version clarifies the narrative, strengthens the methodological core, and situates the contribution within the most recent scholarship. We have standardised UK English usage and harmonised figure and table captions; all modifications prompted by Reviewer 1 remain in red, and additions addressing Reviewer 2 are in green for transparency.
Conceptually, the article now frames APT detection as a streaming, graph-contextual problem. A dedicated “Threat Model & Terminology” section fixes definitions and assumptions. Methodologically, we provide full pipeline pseudocode and sub-module descriptions (stream_reason, cluster, explain), explicit hyperparameter settings with rationale, and a latency-constrained training and optimization protocol (chronological splits, Bayesian tuning, early stopping). We add a formal problem statement, complexity and memory analysis, and a half-life calibration for exponential decays to relate parameters to operational behaviour. New figures depict the end-to-end architecture and the train–validate–test regime under throughput and latency targets.
Empirically, we specify a reproducible evaluation protocol and report deployment-relevant metrics: PR-AUC, ROC-AUC, TPR@FPR = 1%, Time-to-Detection, and Alerts per Day per 1,000 hosts, with uncertainty estimated via stratified bootstrap. A comparative table and critical discussion position the approach alongside sequence/intent models, explainable IDS, CTI-driven knowledge graphs, and reinforcement-learning defences.
The literature review has been expanded to incorporate more than twenty-five peer-reviewed studies from 2020–2025, and references have been consolidated into a single IEEE-style list with renumbered in-text citations. Finally, we outline ablation and sensitivity studies (window size, decay, clustering parameters, alert thresholds) and robustness checks (label noise, timestamp jitter) to guide future empirical work.
We hope these revisions improve clarity, reproducibility, and practical relevance.

Comments

Authors & roles

Pedro Brandao

Computer Sciences, Instituto Superior de Tecnologias Avancadas de Lisboa, Campus Académico do Lumiar, Alameda das Linhas de Torres nº179, Lisbon, 1750-142, Portugal

Roles
Corresponding Author, Conceptualization, Formal Analysis, Investigation, Methodology, Project Administration, Supervision, Writing – Original Draft Preparation, Writing – Review & Editing
0000-0001-6351-6272

Downloads over the last 12 months:

Cited by

via Crossref

View citing articles