arXiv:2610.11640cs.CROct 2026

Manuscript Offprint

arXiv:2610.11640

Host Attack Graph for Botnet Propagation

Andrei Neagu, Mara-Cristina Sterian, Paul Irofti

Andrei Neagu*, Mara-Cristina Sterian*, and Paul Irofti†

Department of Computer Science, Faculty of Mathematics and Computer Science, and Interdisciplinary School for Doctoral Studies, University of Bucharest, Romania andrei@neagu.email, mara-cristina.sterian@unibuc.ro, paul@irofti.net

*These authors contributed equally to this work. †Corresponding author.

Abstract. Botnets represent the backbone of most modern cybersecurity attacks through which botmasters deploy distributed denial of service and advanced persistent threats against legitimate computer networks. In this paper we introduce the Host Attack Graph model and propose two botnet propagation strategies which we study across network topologies, target selection, and attack strategies together with their effectiveness in time. While strategy and botnet size are important for propagation, our study and simulations show that network topology and target selection should not be easily discarded. Implementation and benchmarks are available at https://codeberg.org/AndreiN/HAGP.

Keywords: Botnets · Computer Networks · Cybersecurity

1 Introduction

Botnets are computer networks comprised of compromised machines (or bots) and rely on the ability of the attacker (or botmaster) to coordinate the victims [10] to employ various types of attacks such as distributed denial of service (DDoS) [2,8], data exfiltration [13,18], phishing and spamming [9,22], advanced persistent threats [3], but also bot network expansion (or propagation) [19,21]. Recent takedowns showed networks as large as 19 million bots 1^{1} with the DDoS defence market estimated to reach 7.3 billion USD in 2027 2^{2}.

Botmasters control botnets through either a centralised command and control (C2) server, a decentralised topology in which commands are relayed across adjacent nodes, or a hybrid of both. A given botnet is described through its structural features such as propagation, registration of newly compromised bots (or rallying), establishing (alternative) communication channels and evading detection [4]. Attackers issue commands and collect harvested data through one or more C2 servers, through which they coordinate the bots. Being crucial to the botnet and the attack, the C2 server is carefully concealed and protected by the malicious actor. After the initial infection, the newly acquired bot attempts

1^{1} https://www.bloomberg.com/news/articles/2024-05-29/

fbi-takes-down-massive-global-army-of-zombie-computer-devices

2^{2} https://www.marketsandmarkets.com/Market-Reports/ddos-protection-mitigation-market-111952874.html

Andrei Neagu, Mara-Cristina Sterian, Paul Irofti

to contact the C2 server, typically via an embedded domain name, or one of its peers to announce its presence and receive further instructions. This process is typically referred to as call-to-home or rallying.

Botnet capabilities are influenced by a series of factors such as the network structure, bandwidth, robustness and communication structure. Nodes occupying different structural positions and contribute unequally to the spread of an infection. A central, highly connected host can serve as an influential attack vector, as opposed to a peripheral host. This structural heterogeneity is formalised through centrality measures, such as degree, closeness, betweenness, and eigenvector centrality. A node's relative importance can be computed according to a node's connectivity, proximity to other nodes, or influence within the graph. Therefore, finding these high-scoring nodes represents a very important step in characterizing malware propagation behaviour and designing targeted defensive strategies.

Our contributions in this paper are: 1) botnet attack modelling: we introduce Host Attack Graph (HAG), a novel method of computing root compromise probabilities, along with the Susceptible, Infected, Protected (SIP) model for the network evolution across time and two new strategies for target selection and propagation; 2) a study and Spearman analysis across different graph topologies, node centralities and propagation strategies where we introduce for comparison purposes a new ideal strategy for root greedy propagation and a baseline random choice algorithm; besides multiple scenarios across varied parameter choices and randomization, our study and simulations also include a Spearman analysis across centralities; 3) we make available the source code and datasets used to compare botnet propagation algorithms including probability computations, centrality and scenario generation.

Outline. The rest of the paper is structured as follows. In Section 2 we introduce the state of the art, followed by our host attack graph, network and propagation models in Section 3 and the experiments from Section 4. We conclude and provide future directions in Section 5.