Next Article in Journal
Tradeoff Between Speed and Memory Requirements for Decoding of Prefix-Free Codes
Previous Article in Journal
Multimodal Temporal Fusion for Next POI Recommendation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Mathematical Analysis of Malware Spread in Digital Systems Using Atangana–Baleanu–Caputo Fractional Dynamics

by
Tharmalingam Gunasekar
1,*,
Rajendran Swetha
1,
Shanmugam Manikandan
1,
Sally Almanasra
2,* and
Suad AlRamouni
2
1
Department of Mathematics, Vel Tech Rangarajan Dr. Sagunthala R & D Institute of Science and Technology, Chennai 600062, India
2
College of Computer and Information Sciences, Prince Sultan University, Riyadh 11586, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Algorithms 2026, 19(1), 4; https://doi.org/10.3390/a19010004
Submission received: 30 October 2025 / Revised: 26 November 2025 / Accepted: 16 December 2025 / Published: 20 December 2025

Abstract

This study explores the spread of malware within a digital framework by introducing a unique fractional-order model that employs the Atangana–Baleanu–Caputo (ABC) derivative. As cyber threats grow increasingly sophisticated and widespread, traditional models using classical differential equations often prove inadequate, particularly in capturing long-term memory effects and historical dependencies inherent in real-world systems. To address these challenges, the proposed approach utilizes the non-local characteristics of fractional calculus, offering a more comprehensive framework for understanding malware behavior. The model includes the derivation of the basic reproduction number, 0 , to evaluate conditions for malware persistence or elimination, sensitivity analysis and examines equilibrium states to assess overall system stability. Theoretical analysis ensures the existence and uniqueness of solutions through fixed-point techniques. Through numerical simulations, the theoretical results are validated, emphasizing the significant impact of antidotal and recovery measures in controlling malware spread. These findings provide essential guidance for enhancing the protection and robustness of sophisticated cyber-physical and humanoid infrastructures.

1. Introduction

The proliferation of digital technologies across sectors has led to an unprecedented reliance on computer systems for communication, data storage, finance, and critical infrastructure management. As a result, cybersecurity threats, particularly those involving computer viruses have become a growing concern. Much like biological pathogens, computer viruses depend on host environments such as files, applications, or operating systems to replicate and spread. While early forms of malware were relatively simple and posed limited risk, the rapid advancement of digital connectivity and software complexity has led to the emergence of highly adaptive and damaging threats, including trojans, worms, ransomware, and advanced persistent threats (APTs). These malicious programs can result in severe financial losses, data breaches, operational disruptions, and reputational damage for individuals, institutions, and governments.
Mathematical modeling plays a central role in contemporary research because it provides a bridge between real-world phenomena and their mathematical representation, allowing systematic analysis of complex systems [1]. Its flexibility has enabled researchers to address current scientific challenges and to make informed predictions about future developments [2]. Applications of mathematical modeling span a wide range of disciplines, including engineering, biological sciences, and computer networks. In cybersecurity, for example, mathematical models originally designed for epidemiological studies have been effectively adapted to examine the spread of worms and malware in digital environments [3,4]. Recent studies further highlight that such models can capture dynamic interactions between malicious attacks and defensive mechanisms, such as antivirus deployment, within network systems [5]. Consequently, understanding viral behavior in wireless sensor networks has become important for evaluating system stability and improving cybersecurity strategies [6]. Advances in dynamical system theory and numerical simulation techniques continue to support developments across engineering and scientific disciplines [7]. Within this context, fractional-order calculus has received significant attention for its ability to generalize classical models and incorporate memory or hereditary effects [8]. These fractional operators allow a more accurate description of physical, biological, and engineering processes that cannot be fully captured using integer-order derivatives [9]. Fractional derivatives have therefore become valuable tools in modeling phenomena such as viscoelastic behavior, biological processes, chemical reactions, and frequency-dependent damping in engineering systems [10,11]. Understanding the mechanisms behind malware propagation and developing effective containment strategies are critical in mitigating such risks. However, conventional mathematical models typically based on classical differential equations often fall short in capturing the memory effects and long term dependencies characteristic of malware behavior in real-world systems. To address these limitations, fractional calculus has emerged as a robust modeling tool, offering greater flexibility through the use of nonlocal operators that account for historical states of the system. The study by Yang et al. analyzed the impact of patch forwarding on the prevalence of computer viruses. Their findings highlight that the ability of patches to rapidly disseminate across computer networks and become effective immediately upon installation significantly enhances their potential to mitigate virus outbreaks [12]. A theoretical evaluation of patch forwarding was conducted, leading to the development of a malware epidemic model that accounts for its influence.
In 2017, Achuba examined the transmission of computer viruses by modifying the traditional SIRA model. His research provided insights into virus behavior within a network with antivirus software. The proposed model extended the conventional susceptible-infected-recovered-antidotal (SIRA) framework to a liable-latent-infected-recovered-antidotal (SLIRA) model [13].
Singh et al. (2018) explored computer virus propagation using fractional derivatives. Given the critical role of computer viruses in cybersecurity, understanding their spread and development is essential. The authors formulated and analyzed a fractional epidemiological model to investigate these aspects [14]. Similarly, Ali et al. (2018) developed a nonlinear model to study virus prevalence, employing the EPA scheme with a Padé approximation to convert the nonlinear system into an optimization problem [15].
In 2019, Kyurkchiev et al. proposed differential models to study virus propagation [16]. Around the same time, Alweimine et al. explored the influence of local routing protocol algorithms on virus transmission, assessing the robustness of various routing techniques [17].
Arif et al. (2020) conducted numerical simulations to compare stochastic and deterministic models of virus spread [18]. Upadhyay et al. (2020) focused on targeted cyberattacks, developing a model with two distinct classes: an attacking group and a targeted network. Their analysis examined equilibrium points and stability concerning the basic reproduction number [19]. Hoang et al. (2021) introduced a fractional-order model for virus transmission using the Caputo derivative and Lyapunov function, ensuring the positivity and boundedness of the solutions [20]. Shahini et al. (2022) applied a collocation method with Legendre–Gauss–Radau points to address an optimal control problem within a nonlinear delay differential equation framework [21].
More recently, Avcı et al. (2023) investigated the role of memory effects in virus population dynamics, utilizing a fractional derivative operator to analyze the influence of fractal size and fractional order [22]. Their research incorporated numerical simulations to explore the effects of different fractional operators on viral spread. To investigate the dynamics of malware propagation, it is essential to analyze how infections spread across computer networks, considering modes of transmission, host interactions, and system vulnerabilities. Such an approach allows for assessing the effectiveness of countermeasures and predicting long-term outcomes. For further reference, see relevant studies on malware modeling and cybersecurity dynamics [23,24,25].
This study examines the role of quarantine and recovery in controlling virus outbreaks. Isolating infected files and deploying antivirus measures contribute to mitigating the spread of malicious software. However, identifying compromised files remains challenging due to latent infections, potentially limiting the effectiveness of quarantine strategies. The structure of this paper is outlined as follows. Section 2 introduces the fundamental definitions for the subsequent analysis. Section 3 presents the development of the fractional-order virus transmission model, explaining its architecture and the relationships between different components. In Section 4, the equilibrium states of the system are explored, along with the derivation of the basic reproduction number and sensitivity analysis, which provides insights into the conditions that determine whether a virus dies out or persists. Section 5 focuses on establishing the existence of solutions, thereby confirming the mathematical soundness of the proposed model. Section 6 outlines the numerical method adopted to simulate the system’s dynamics. Section 7 displays and interprets the simulation results, emphasizing the role of model parameters and evaluating the impact of various intervention strategies. Lastly, Section 8 concludes the study by summarizing key findings, drawing final observations, and proposing directions for future research.

2. Preliminaries

This section presents the essential background on the Atangana–Baleanu–Caputo (ABC) fractional derivative, which forms the foundation for its application in the later sections.
Definition 1
([26]). Let ρ [ 0 , 1 ] and consider a function f H 1 ( a , b ) with b > a . The ABC fractional derivative of f is defined by
D t ρ 0 ABC f ( t ) = M ( ρ ) 1 ρ a t f ( y ) E ρ ρ ( t y ) ρ 1 ρ d y ,
where M ( ρ ) is a normalization function that satisfies M ( 0 ) = M ( 1 ) = 1 .
Definition 2
([27]). On the interval ρ [ 0 , 1 ] , consider the function f H 1 ( a , b ) , b > a , which is not necessarily differentiable. The Atangana–Baleanu fractional derivative in the Riemann–Liouville sense is defined as:
D t ρ 0 ABR f ( t ) = M ( ρ ) 1 ρ d d t a t f ( y ) E ρ ρ ( t y ) ρ 1 ρ d y .
Definition 3
([27]). The Atangana–Baleanu (AB) fractional integral of order ρ is defined by
I t ρ 0 AB f ( t ) = 1 ρ ( ρ ) f ( t ) + ρ ( ρ ) τ ( ρ ) a t ( t y ) ρ 1 f ( y ) d y .
In the special cases where ρ = 0 or ρ = 1 , this operator coincides with the original function and the standard integral, respectively.

3. Model Formulation

We define the state variables of the model as follows. Let S ( t ) denote the number of susceptible computers at time t, referring to those that are neither infected nor protected. Let A ( t ) be the number of antidotal computers at time t, including both recently updated and previously patched devices. The variable E ( t ) represents the number of exposed computers at time t, referring to those that have come into contact with the malware and are at risk of infection. Let I ( t ) denote the number of infected computers at time t that require disinfection. Let Q ( t ) be the number of quarantined computers at time t, isolated to prevent further malware transmission. The variable R ( t ) captures the number of recovered computers at time t that have regained temporary immunity. The total number of computers in the network at any given time t is denoted by N ( t ) .
The total population of the system is divided into six compartments: Susceptible (S), Antidotal (A), Exposed (E), Infected (I), Quarantined (Q), and Recovered (R). At any time t, these compartments satisfy the relation:
S ( t ) + A ( t ) + E ( t ) + I ( t ) + Q ( t ) + R ( t ) = N ( t ) .
In the SAEIQRS framework, a portion of the susceptible individuals, S ( t ) , gain protection and move into the antidotal state, A ( t ) . Meanwhile, others shift into the exposed state, E ( t ) , where the infection is present but not yet active. Individuals in the exposed state may transition to the infected class, I ( t ) as the infection advances. The progression from infection depends on their level of antidotal resistance with sufficient immunity to recover and move to the recovered state, R ( t ) . In contrast, others may relapse and return to the exposed state, E ( t ) , emphasizing the potential for reinfection.
Infected humanoids may either remain in the infected class I ( t ) while contagious or be restored to the recovered class R ( t ) after receiving updates or antivirus protection. Alternatively, some infected humanoids are moved into the quarantine class Q ( t ) , where they remain until they recover and transition to R ( t ) . However, in the cyber world, immunity is temporary, meaning recovered humanoids eventually revert to the susceptible class S ( t ) , making them vulnerable to reinfection.
To describe the evolution of the system over time, we consider the following set of differential equations,
d S d t = B ϖ S ξ S I α S + χ R , d A d t = α S ϖ A ϕ 2 A ϕ 1 A I , d E d t = ξ S I ϖ E τ E + ϕ 1 A I , d I d t = τ E ( ϖ + ζ ) I ϵ 1 I ϵ 2 I , d Q d t = ϵ 2 I ( ϖ + ζ ) Q δ Q , d R d t = ϵ 1 I + δ Q ϖ R + ϕ 2 A χ R .
These equations describe the flow between compartments, capturing the dynamics of the system as individuals transition from one state to another.
To construct the ABC–fractional version of the system, the standard first-order time derivative on the left-hand side of the governing equations is replaced by the ABC–fractional operator, as introduced earlier. This adjustment results in a generalized formulation, yielding an ABC–fractional model that describes the dynamics of the computer network more accurately.
Initially, new computers introduced into the network are assumed to be virus-free and are classified as susceptible. These susceptible systems can adopt antivirus measures, either outdated or updated, at a rate α . Susceptible and antidotal computers may come into contact with infected systems, becoming exposed at rates ξ and ϕ 1 , respectively. Antidotal computers that have been updated recover and move to the recovered state at a rate ϕ 2 . All computers, regardless of their infection status, experience a natural failure rate denoted by ϖ . After an incubation period, exposed computers progress to the infected state at a rate τ . Infected systems can either recover at rate ϵ 1 or be transferred to quarantine at rate ϵ 2 . Quarantined computers regain their functionality and move to the recovered state at rate δ . However, the immunity of recovered systems is temporary, and these units can return to the susceptible class at rate χ .
The parameter B denotes the rate of introduction of new devices to the network. The natural failure rate ϖ applies to all systems regardless of infection status. The rate ζ captures the rate of device breakdown caused by the infection itself. The parameter ξ describes the rate at which the virus spreads from infected to susceptible units, leading to their transition from S to E. The parameter α governs the movement of susceptible units into the antidotal state, where α = 0 means no antivirus protection is applied. The rate ϕ 1 characterizes the transition of antidotal units that have not been updated to the exposed state after contact with infected units. The parameter ϕ 2 governs recovery of antidotal units that have been updated, allowing their movement from A to R. The rate τ describes the progression from exposed to infected status. The parameters ϵ 1 and ϵ 2 govern the recovery of infected units ( I R ) and their placement into quarantine ( I Q ), respectively. The rate δ applies to the recovery of quarantined units ( Q R ), while χ governs the loss of immunity, allowing recovered units to return to the susceptible class ( R S ).
D t ρ 0 ABC S ( t ) = B ϖ S ξ S I α S + χ R , D t ρ 0 ABC A ( t ) = α S ϖ A ϕ 2 A ϕ 1 A I , D t ρ 0 ABC E ( t ) = ξ S I ϖ E τ E + ϕ 1 A I , D t ρ 0 ABC I ( t ) = τ E ( ϖ + ζ ) I ϵ 1 I ϵ 2 I , D t ρ 0 ABC Q ( t ) = ϵ 2 I ( ϖ + ζ ) Q δ Q , D t ρ 0 ABC R ( t ) = ϵ 1 I + δ Q ϖ R + ϕ 2 A χ R .
where the initial conditions are,
S ( 0 ) = S 0 , A ( 0 ) = A 0 , E ( 0 ) = E 0 , I ( 0 ) = I 0 , Q ( 0 ) = Q 0 , R ( 0 ) = R 0 .

4. Equilibrium Analysis and 0

In this section, we analyze the equilibrium states of the SAEIQRS model governed by system (2), with particular attention to both the virus-free and endemic scenarios. The basic reproduction number, 0 , is derived to evaluate the conditions under which the infection may spread or die out. An equilibrium point represents a steady-state solution where all compartments remain constant over time. We set the right-hand sides of the differential equations in system (2) to zero to identify these points and solve the resulting algebraic equations.
d S d t = d A d t = d E d t = d I d t = d Q d t = d R d t = 0
in Equation (2). This gives the system of equations,
B ϖ S ξ S I α S + χ R = 0 α S ϖ A ϕ 1 A I = 0 ξ S I ϖ E τ E ϕ 1 A I = 0 τ E ϖ I ϵ 1 I ϵ 2 I = 0 ϵ 2 I ϖ Q δ Q = 0 ϵ 1 I + δ Q + ϕ 2 A ϖ R χ R = 0

4.1. Virus-Free Equilibrium

At the disease-free state, all infected compartments vanish, yielding the virus-free equilibrium point,
P 0 = ( S 0 , A 0 , E 0 = 0 , I 0 = 0 , Q 0 = 0 , R 0 ) .
The expressions for the susceptible, asymptomatic, and recovered compartments at this state are,
S 0 = B ( ϖ + χ ) ( ϖ + ϕ 2 ) ( ϖ + χ ) ( ϖ + α ) α χ ( ϖ + ϕ 2 ) , A 0 = B α ( ϖ + χ ) ( ϖ + χ ) ( ϖ + α ) ( ϖ + ϕ 2 ) α χ ( ϖ + ϕ 2 ) , R 0 = B α ϕ 2 ( ϖ + χ ) ( ϖ + α ) ( ϖ + ϕ 2 ) α χ ( ϖ + ϕ 2 ) .
In this state, the disease has been eradicated from the system, and only the susceptible, asymptomatic, and recovered compartments maintain their respective steady levels.

4.2. Basic Reproduction Number

The basic reproduction number, denoted by 0 , quantifies the expected number of secondary infections produced by a single infectious individual in an entirely susceptible population. We apply the next-generation matrix approach to calculate 0 . Given that the model involves three infectious-related compartments-exposed (E), infected (I), and quarantined (Q)-our analysis focuses on the relevant subsystem extracted from system (2)
d E d t = ξ S I ϖ E τ E ϕ 1 A I , d I d t = τ E ϖ I ϵ 1 I ϵ 2 I , d Q d t = ϵ 2 I ϖ Q δ Q .
Defining the vector X = ( E , I , Q ) , the system can be expressed as,
d X d t = f ( X ) v ( X ) ,
where,
f ( X ) = ξ S + ϕ 1 A 0 0 τ 0 0 0 ϵ 2 0 and v ( X ) = ϖ + τ 0 0 τ ϖ + ϵ 1 + ϵ 2 0 0 ϵ 2 ϖ + δ .
The basic reproduction number 0 is then calculated as,
0 = τ ( ξ S + ϕ 1 A ) ( ϖ + τ ) ( ϖ + ϵ 1 + ϵ 2 ) .

4.3. Sensitivity Analysis of the Basic Reproduction Number

To determine which epidemiological parameters exert the strongest influence on the transmission potential of the disease, a sensitivity analysis of the basic reproduction number R 0 is carried out. Using the expression
R 0 = τ ( ξ S + ϕ 1 A ) ( ϖ + τ ) ( ϖ + ϵ 1 + ϵ 2 ) ,
we compute the normalized forward sensitivity index for each parameter. The index is defined as
Υ p R 0 = R 0 p · p R 0 ,
where p denotes any parameter appearing in the expression of R 0 . This formulation quantifies the relative change in R 0 resulting from a proportional change in the parameter p, thereby indicating whether an increase in a particular parameter enhances or suppresses the transmission potential. In Figure 1, parameters with positive sensitivity indices contribute to increasing the reproduction number, while those with negative indices act to reduce it. This analysis highlights the key biological processes that play a dominant role in shaping the dynamics of infection and assists in identifying the most effective targets for intervention strategies.

4.4. Endemic Equilibrium Point

When the disease persists in the population, we have I 0 . The endemic equilibrium (EEP) of the system is denoted as,
P e = ( S , A , E , I , Q , R )
S = B + χ R ϖ + ξ I + α
A = α S ϖ + ϕ 2 + ϕ 1 I
E = I ( ξ S + ϕ 1 A ) ϖ + τ
Q = ϵ 1 I ϖ + ζ + δ
R = ϵ 2 I + δ Q + ϕ 2 A ϖ + χ
Similarly, we get
I = τ ( ξ S + ϕ 1 A ) ( ϖ + τ ) ( ϖ + ζ + ϵ 1 + ϵ 2 ) τ ( ξ S + ϕ 1 A )
Hence, the Endemic Equilibrium satisfies,
P e = ( S , A , E , I , Q , R ) = ( B + χ R ϖ + ξ I + α , α S ϖ + ϕ 2 + ϕ 1 I , I ( ξ S + ϕ 1 A ) ϖ + τ , τ ( ξ S + ϕ 1 A ) ( ϖ + τ ) ( ϖ + ζ + ϵ 1 + ϵ 2 ) τ ( ξ S + ϕ 1 A ) , ϵ 1 I ϖ + ζ + δ , ϵ 2 I + δ Q + ϕ 2 A ϖ + χ ) .

5. Existence of Solution

This section establishes the existence of solutions for the computer virus transmission model governed by the ABC-fractional derivative using fixed-point theory.
Definition 4.
Let ϕ be a function defined on time and ρ ( 0 , 1 ) . The Atangana–Baleanu (AB) fractional integral of order ρ is defined by,
I t ρ 0 AB ϕ ( t ) = t 1 ( ρ ) ϕ ( t ) + t 2 ( ρ ) 0 t ( t ϑ ) ρ 1 ϕ ( ϑ ) d ϑ ,
where the coefficients t 1 ( ρ ) and t 2 ( ρ ) are given as,
t 1 ( ρ ) = 1 ρ B ( ρ ) , t 2 ( ρ ) = ρ B ( ρ ) τ ( ρ ) .
Consider the Banach space F ( j ) of all continuous functions on the interval τ = [ 0 , b ] . Define the product space,
Q = F ( j ) × F ( j ) × F ( j ) × F ( j ) × F ( j ) × F ( j ) ,
by using the norm,
( S , A , E , I , Q , R ) = S + A + E + I + Q + R ,
where,
S = sup t τ | S ( t ) | , A = sup t τ | A ( t ) | , E = sup t τ | E ( t ) | ,
I = sup t τ | I ( t ) | , Q = sup t τ | Q ( t ) | , R = sup t τ | R ( t ) | .
Applying the fractional integral operator to system (2) results in the following integral equations,
S ( t ) S ( 0 ) = I t ρ 0 AB B ϖ S ξ S I α S + χ R , A ( t ) A ( 0 ) = I t ρ 0 AB α S ϖ A ϕ 2 A ϕ 1 A I , E ( t ) E ( 0 ) = I t ρ 0 AB ξ S I ϖ E τ E + ϕ 1 A I , I ( t ) I ( 0 ) = I t ρ 0 AB τ E ( ϖ + ζ ) I ϵ 1 I ϵ 2 I , Q ( t ) Q ( 0 ) = I t ρ 0 AB ϵ 2 I ( ϖ + ζ ) Q δ Q , R ( t ) R ( 0 ) = I t ρ 0 AB ϵ 1 I + δ Q ϖ R + ϕ 2 A χ R .
Using the definition (8), the above can be rewritten as,
S ( t ) S ( 0 ) = t 1 ( ρ ) ζ ( t , S ( t ) ) + t 2 ( ρ ) 0 I ρ ζ ( t , S ( t ) ) , A ( t ) A ( 0 ) = t 1 ( ρ ) K 2 ( t , A ( t ) ) + t 2 ( ρ ) 0 I ρ K 2 ( t , A ( t ) ) , E ( t ) E ( 0 ) = t 1 ( ρ ) K 3 ( t , E ( t ) ) + t 2 ( ρ ) 0 I ρ K 3 ( t , E ( t ) ) , I ( t ) I ( 0 ) = t 1 ( ρ ) K 4 ( t , I ( t ) ) + t 2 ( ρ ) 0 I ρ K 4 ( t , I ( t ) ) , Q ( t ) Q ( 0 ) = t 1 ( ρ ) K 5 ( t , Q ( t ) ) + t 2 ( ρ ) 0 I ρ K 5 ( t , Q ( t ) ) , R ( t ) R ( 0 ) = t 1 ( ρ ) K 6 ( t , R ( t ) ) + t 2 ( ρ ) 0 I ρ K 6 ( t , R ( t ) ) ,
where the functions K i , i = 1 , , 6 , are defined as,
K 1 ( t , S ) = B ϖ S ξ S I α S + χ R , K 2 ( t , A ) = α S ϖ A ϕ 2 A ϕ 1 A I , K 3 ( t , E ) = ξ S I ϖ E τ E + ϕ 1 A I , K 4 ( t , I ) = τ E ( ϖ + ζ ) I ϵ 1 I ϵ 2 I , K 5 ( t , Q ) = ϵ 2 I ( ϖ + ζ ) Q δ Q , K 6 ( t , R ) = ϵ 1 I + δ Q ϖ R + ϕ 2 A χ R .
Each K i satisfies the Lipschitz condition provided that S , A , E , I , Q , R remain bounded.
For instance, for two functions S ( t ) and S ( t ) , the following estimate holds,
K 1 ( t , S ) K 1 ( t , S ) δ 1 S S ,
where δ 1 is a positive constant depending on parameters and variables. Similarly, the other K i satisfy,
K i ( t , X ) K i ( t , X )   δ i X X , i = 2 , , 6 ,
with suitable constants δ i . Defining iterative sequences,
S n ( t ) = t 1 ( ρ ) K 1 ( t , S n 1 ( t ) ) + t 2 ( ρ ) 0 I ρ K 1 ( t , S n 1 ( t ) ) , A n ( t ) = t 1 ( ρ ) K 2 ( t , A n 1 ( t ) ) + t 2 ( ρ ) 0 I ρ K 2 ( t , A n 1 ( t ) ) , E n ( t ) = t 1 ( ρ ) K 3 ( t , E n 1 ( t ) ) + t 2 ( ρ ) 0 I ρ K 3 ( t , E n 1 ( t ) ) , I n ( t ) = t 1 ( ρ ) K 4 ( t , I n 1 ( t ) ) + t 2 ( ρ ) 0 I ρ K 4 ( t , I n 1 ( t ) ) , Q n ( t ) = t 1 ( ρ ) K 5 ( t , Q n 1 ( t ) ) + t 2 ( ρ ) 0 I ρ K 5 ( t , Q n 1 ( t ) ) , R n ( t ) = t 1 ( ρ ) K 6 ( t , R n 1 ( t ) ) + t 2 ( ρ ) 0 I ρ K 6 ( t , R n 1 ( t ) ) ,
starting from initial data S 0 ( t ) = S ( 0 ) , , R 0 ( t ) = R ( 0 ) , the differences satisfy,
ψ S n ( t ) = S n ( t ) S n 1 ( t ) , ψ A n ( t ) = A n ( t ) A n 1 ( t ) , ψ E n ( t ) = E n ( t ) E n 1 ( t ) , ψ I n ( t ) = I n ( t ) I n 1 ( t ) , ψ Q n ( t ) = Q n ( t ) Q n 1 ( t ) , ψ R n ( t ) = R n ( t ) R n 1 ( t ) .
By applying the Lipschitz conditions and fractional integral properties, one obtains the inequalities,
ψ S n ( t ) t 1 ( ρ ) δ 1 ψ S n 1 ( t ) + t 2 ( ρ ) δ 10 I ρ ψ S n 1 ( t ) , ψ A n ( t ) t 1 ( ρ ) δ 2 ψ A n 1 ( t ) + t 2 ( ρ ) δ 20 I ρ ψ A n 1 ( t ) , ψ R n ( t ) t 1 ( ρ ) δ 6 ψ R n 1 ( t ) + t 2 ( ρ ) δ 60 I ρ ψ R n 1 ( t ) .
Theorem 1.
If the following condition is met for each i = 1 , 2 , , 6 ,
t 1 ( ρ ) δ i + t 2 ( ρ ) ρ t ρ δ i 1 ,
then for t [ 0 , 1 ] , there exists a unique solution to the fractional epidemic system (2).
Proof. 
Since the functions S ( t ) , A ( t ) , E ( t ) , I ( t ) , Q ( t ) , R ( t ) are bounded and the functions K i satisfy the Lipschitz condition, applying the recursive inequality (13) yields geometric convergence of the successive approximations. Specifically,
ψ S n ( t ) 0 , ψ A n ( t ) 0 , , ψ R n ( t ) 0 as n ,
which implies the sequences { S n } , { A n } , , { R n } are Cauchy and hence converge uniformly in C ( τ ) . By passing to the limit in (11), the limit functions satisfy system (2), guaranteeing existence and uniqueness of the solution. □

6. Numerical Scheme

Toufik and Atangana [26] developed a highly efficient numerical scheme for solving fractional differential equations with non-singular, non-local kernels. Their approach delivers superior accuracy and rapid convergence, effectively overcoming the limitations of traditional methods such as Euler and Adams–Bashforth when dealing with complex fractional dynamics.
Consider the general nonlinear ABC fractional differential equation,
D t ρ 0 ABC ϕ ( t ) = f t , ϕ ( t ) , ϕ ( 0 ) = ϕ 0 .
Using fractional integral theory, this can be equivalently expressed as,
ϕ ( t ) ϕ ( 0 ) = 1 ρ ( ρ ) f t , ϕ ( t ) + ρ ( ρ ) τ ( ρ ) 0 t f y , ϕ ( y ) ( t y ) ρ 1 d y .
At the discrete grid points t = t κ + 1 for κ = 0 , 1 , 2 , , the above equation takes the form,
ϕ ( t κ + 1 ) ϕ ( 0 ) = 1 ρ ( ρ ) f t κ , ϕ ( t κ ) + ρ ( ρ ) τ ( ρ ) 0 t κ + 1 f y , ϕ ( y ) ( t κ + 1 y ) ρ 1 d y .
On each subinterval [ t l , t l + 1 ] , the function f ( y , ϕ ( y ) ) is approximated by the linear interpolant,
f ( y , ϕ ( y ) ) Υ l ( y ) = y t l 1 h f ( t l , ϕ l ) y t l h f ( t l 1 , ϕ l 1 ) ,
where h = t l t l 1 . Substituting this into (17) and performing the integration yields,
ϕ κ + 1 = 1 ρ ( ρ ) f ( t κ , ϕ κ ) + ρ ( ρ ) τ ( ρ ) l = 0 κ [ f ( t l , ϕ l ) h t l t l + 1 ( y t l 1 ) ( t κ + 1 y ) ρ 1 d y f ( t l 1 , ϕ l 1 ) h t l t l + 1 ( y t l ) ( t κ + 1 y ) ρ 1 d y ] + ϕ 0 .
Define the integrals,
Υ ρ , l , 1 = t l t l + 1 ( y t l 1 ) ( t κ + 1 y ) ρ 1 d y ,
Υ ρ , l , 2 = t l t l + 1 ( y t l ) ( t κ + 1 y ) ρ 1 d y .
Closed-form solutions for these integrals are given by,
Υ ρ , l , 1 = h ρ + 1 ( κ l + 1 ) ρ ( κ l + ρ + 2 ) ( κ l ) ρ ( κ l + 2 + 2 ρ ) ρ ( ρ + 1 ) ,
Υ ρ , l , 2 = h ρ + 1 ( κ l + 1 ) ρ + 1 ( κ l ) ρ ( κ l + 1 + ρ ) ρ ( ρ + 1 ) .
By substituting these results into (18), we obtain the fully discrete scheme,
ϕ κ + 1 = 1 ρ ( ρ ) f ( t κ , ϕ κ ) + ρ ( ρ ) l = 0 κ [ h ρ τ ( ρ + 2 ) f ( t l , ϕ l ) ( κ l + 1 ) ρ ( κ l + ρ + 2 ) ( κ l ) ρ ( κ l + 2 + 2 ρ )
h ρ τ ( ρ + 2 ) f ( t l 1 , ϕ l 1 ) ( κ l + 1 ) ρ + 1 ( κ l ) ρ ( κ l + 1 + ρ ) ] + ϕ 0 .
Applying the scheme (23) to each compartment X { S , A , E , I , Q , R } in system (2), governed by,
D t ρ 0 ABC X ( t ) = f X ( t , X ( t ) ) ,
leads to the update formula,
X κ + 1 = 1 ρ ( ρ ) f X ( t κ , X κ ) + ρ ( ρ ) l = 0 κ h ρ τ ( ρ + 2 ) f X ( t l , X l ) Z κ , l ( 1 ) f X ( t l 1 , X l 1 ) Z κ , l ( 2 ) + X 0 ,
where,
Z κ , l ( 1 ) = ( κ l + 1 ) ρ ( κ l + ρ + 2 ) ( κ l ) ρ ( κ l + 2 + 2 ρ ) , Z κ , l ( 2 ) = ( κ l + 1 ) ρ + 1 ( κ l ) ρ ( κ l + 1 + ρ ) ,
and the functions for each compartment are,
f S = B ϖ S ξ S I α S + χ R , f A = α S ϖ A ϕ 2 A ϕ 1 A I , f E = ξ S I ϖ E τ E + ϕ 1 A I , f I = τ E ( ϖ + ζ ) I ϵ 1 I ϵ 2 I , f Q = ϵ 2 I ( ϖ + ζ ) Q δ Q , f R = ϵ 1 I + δ Q ϖ R + ϕ 2 A χ R .

7. Numerical Analysis

Extensive numerical simulations were conducted to explore the transmission dynamics of the computer virus using the ABC fractional-order model. The system of differential equations was solved using a Runge–Kutta method to gain preliminary insights into the system’s behavior before considering the complexities introduced by fractional calculus. The initial conditions were set to represent a largely susceptible network as follows: S ( 0 ) = 20 , A ( 0 ) = 10 , E ( 0 ) = 0 , I ( 0 ) = 1 , Q ( 0 ) = 0 , R ( 0 ) = 0 . Model-stimulated parameters, informed by realistic network and infection dynamics, were assigned as: B = 20 , ϖ = 0.01 , ξ = 0.02 , χ = 0.03 , ϕ 1 = 0.1 , ϕ 2 = 0.02 , τ = 0.07 , ϵ 1 = 0.003 , ϵ 2 = 0.2 , and δ = 0.001 . The simulations were run over an adequate time span to capture the complete progression of the virus spread, including infection peaks and subsequent recovery phases. The results, displayed across several figures, provide detailed insights into the evolution of the system across different states of vulnerability and protection within the network. Figure 2 represents the population of susceptible computers and devices at risk of infection. Initially, their numbers declined due to exposure to infected systems and the implementation of antivirus defenses. Transmission coefficients and cybersecurity measures in place influence the rate of decline. Figure 3 highlights the antidotal computers, referring to systems that have received antivirus updates. The graph demonstrates how security patches mitigate infection risks and enhance network resilience.
Figure 4 illustrates the exposed computer devices that have encountered infected systems but are not yet compromised. Latency factors and the network interaction frequency govern the transition from exposure to infection. Figure 5 portrays the infected computers, emphasizing the virus’s progression without timely security updates. The peak infection levels indicate the outbreak’s severity and the effectiveness of containment strategies. Figure 6 depicts quarantined computers, which are isolated to prevent further viral transmission. A growing number in this category reflects the success of containment efforts in reducing the spread. Figure 7 showcases the recovered computers, which have undergone disinfection or received security updates. Due to the temporary nature of immunity, some systems may revert to the susceptible state, thereby sustaining the risk of reinfection. The 3D numerical simulations in Figure 8, Figure 9, Figure 10, Figure 11, Figure 12 and Figure 13 show how time and the fractional-order parameter influence the behavior of all compartments in the computer virus model. Figure 8 describes the surface plot for the susceptible class, showing a gradual decrease as time progresses, due to the systems losing susceptibility because of exposure and infection. Figure 9 describes the surface plot for the antidotal (patched) class, showing that initially, the surface rises before leveling off. This reflects the buildup of patched systems, which stabilizes once the rates of patching and transition are equal. Figure 10 describes the exposed class, where the surface plot takes the form of a hump-shaped surface. This shows that systems linger in an incubation-like stage before going into an infected status. The width of the hump changes with the fractional parameter, reflecting memory effects on the length of time systems stay exposed. Figure 11 shows the infected class as a function of time and fractional-order parameter as a large peak. The fractional order influences the peak’s width and height, where lower orders produce wider, smoother peaks (outbreaks), and higher orders produce narrower spikes. Figure 12 shows the quarantined class in the form of a delayed ridge that increases after the peak of infected classes has risen. It is representative of a natural delay between the point at which an infection is detected and isolation occurs. Finally, Figure 13 describes the recovery class as a surface that steadily rises and eventually approaches a plateau. It characterizes the gradual stabilization of the system as the infected or quarantined machines get back to a safe status. These 3D plots taken together thus illustrate how the timing and fractional-order memory affect the process of malware transmission across all compartments. The findings from this computational study validate the proposed model, demonstrating how key factors such as antivirus interventions, quarantine measures, and recovery mechanisms influence virus transmission dynamics in computer networks. By analyzing these trends, cybersecurity strategies can be refined to enhance protection against digital threats and improve overall system security.

8. Conclusions

In this study, we formulate and analyze a mathematical model describing computer viruses’ spread across connected digital systems. This work presents a comprehensive analysis of computer virus propagation using an Atangana–Baleanu–Caputo fractional-order framework, which effectively captures the memory-dependent nature of digital infections. By integrating six distinct components into the SAEIQRS model, the study reflects the nuanced dynamics of virus spread and antivirus responses within a cyber-physical environment. The derivation of the basic reproduction number, 0 , allows for assessing infection thresholds. At the same time, analysis of sensitivity and the equilibrium states provides insight into the potential long-term behavior of the system. Rigorous mathematical analysis is employed to establish the existence and uniqueness of the model solutions. A suitable numerical scheme is implemented to validate the theoretical findings, highlighting the significant impact of antidotal updates, quarantine strategies, and reinfection risks. Although this work is exploratory in nature, it demonstrates the potential of fractional-order models to capture memory-driven effects that classical approaches often overlook. The study highlights how such models provide a stronger mathematical foundation for analyzing and mitigating malware spread in digital networks. Future research incorporating empirical data and advanced fractional dynamics will further validate and enhance their applicability in IoT and AI-driven environments.

Author Contributions

Conceptualization, T.G. and R.S.; methodology, R.S.; software, S.M.; validation, T.G., R.S. and S.A. (Sally Almanasra); data curation, T.G. and R.S.; writing-original draft preparation, R.S.; writing-review and editing, T.G., R.S., S.A. (Sally Almanasra) and S.A. (Suad AlRamouni); visualization, T.G., R.S., S.A. (Sally Almanasra) and S.A. (Suad AlRamouni); supervision, T.G.; project administration, R.S., S.A. (Sally Almanasra) and S.A. (Suad AlRamouni); funding acquisition, S.A. (Sally Almanasra) and S.A. (Suad AlRamouni). All authors have read and agreed to the published version of the manuscript.

Funding

This research does not receive any external funding.

Data Availability Statement

The original contributions presented in the study are included in the article; further inquiries can be directed to the corresponding author.

Acknowledgments

The authors Sally Almanasra and Suad AlRamouni would like to thank Prince Sultan University for paying the publication fees for this work.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Dym, C. Principles of Mathematical Modeling; Elsevier: Amsterdam, The Netherlands, 2004. [Google Scholar]
  2. Strielkowski, W.; Vlasov, A.; Selivanov, K.; Muraviev, K.; Shakhnov, V. Prospects and challenges of machine learning and data-driven methods for the predictive analysis of power systems: A review. Energies 2023, 16, 4025. [Google Scholar] [CrossRef] [Scilit]
  3. Nwokoye, C.H.; Madhusudanan, V. Epidemic models of malicious-code propagation and control in wireless sensor networks: An in-depth review. Wirel. Pers. Commun. 2022, 125, 1827–1856. [Google Scholar] [CrossRef] [Scilit]
  4. Swetha, R.; Gunasekar, T.; Kumar, K.; Sakthivel, K. Mathematical Modeling of Cancer Dynamics Stability Analysis of Post Therapy Protection. Appl. Appl. Math. Int. J. (AAM) 2025, 20, 10. [Google Scholar]
  5. Ferdous, J.; Islam, R.; Mahboubi, A.; Islam, M.Z. A review of state-of-the-art malware attack trends and defense mechanisms. IEEE Access 2023, 11, 121118–121141. [Google Scholar] [CrossRef] [Scilit]
  6. Yu, J.-Y.; Lee, E.; Oh, S.-R.; Seo, Y.-D.; Kim, Y.-G. A survey on security requirements for WSNs: Focusing on the characteristics related to security. IEEE Access 2020, 8, 45304–45324. [Google Scholar] [CrossRef] [Scilit]
  7. van den Bosch, P.P.; van der Klauw, A.C. Modeling, Identification and Simulation of Dynamical Systems; CRC Press: Boca Raton, FL, USA, 2020. [Google Scholar]
  8. Patnaik, S.; Hollkamp, J.P.; Semperlotti, F. Applications of variable-order fractional operators: A review. Proc. R. Soc. A 2020, 476, 20190498. [Google Scholar] [CrossRef] [Scilit]
  9. Acay, B.; Inc, M.; Mustapha, U.T.; Yusuf, A. Fractional dynamics and analysis for a Lassa fever infectious ailment with Caputo operator. Chaos Solitons Fractals 2021, 153, 111605. [Google Scholar] [CrossRef] [Scilit]
  10. Baleanu, D.; Karaca, Y.; Vazquez, L.; Macías-Díaz, J.E. Advanced fractional calculus, differential equations and neural networks: Analysis, modeling and numerical computations. Phys. Scr. 2023, 98, 110201. [Google Scholar] [CrossRef] [Scilit]
  11. Chen, W.; Sun, H.; Li, X. Fractional Derivative Modeling in Mechanics and Engineering; Springer Nature: Singapore, 2022. [Google Scholar]
  12. Yang, L.X.; Yang, X.; Wu, Y. The impact of patch forwarding on the prevalence of computer virus: A theoretical assessment approach. Appl. Math. Model. 2017, 43, 110–125. [Google Scholar] [CrossRef] [Scilit]
  13. Achuba, P.M.; Oluwade, B. Propagation of computer virus via a modified SIRA model. Ilorin J. Comput. Sci. Inf. Technol. 2017, 2, 95–107. [Google Scholar]
  14. Singh, J.; Kumar, D.; Hammouch, Z.; Atangana, A. A fractional epidemiological model for computer viruses about a new fractional derivative. Appl. Math. Comput. 2018, 316, 504–515. [Google Scholar] [CrossRef] [Scilit]
  15. Ali, J.; Saeed, M.; Rafiq, M.; Iqbal, S. Numerical treatment of nonlinear model of virus propagation in computer networks: An innovative evolutionary Padé approximation scheme. Adv. Differ. Equ. 2018, 2018, 1–18. [Google Scholar] [CrossRef] [Scilit]
  16. Kyurkchiev, N.; Kyurkchiev, V.; Iliev, A.; Rahnev, A. Some nonstandard differential models with applications to population dynamics and computer virus propagation. Dyn. Syst. Appl. 2019, 28, 757–788. [Google Scholar]
  17. Alweimine, A.O.B.; Bamaarouf, O.; Rachadi, A.; Ez-Zahraouy, H. Local routing protocols performance for computer virus elimination in complex networks. Phys. A 2019, 536, 120984. [Google Scholar] [CrossRef] [Scilit]
  18. Arif, M.S.; Raza, A.; Rafiq, M.; Bibi, M.; Abbasi, J.N.; Nazeer, A.; Javed, U. Numerical simulations for stochastic computer virus propagation model. Comput. Mater. Contin. 2020, 62, 61–77. [Google Scholar] [CrossRef] [Scilit]
  19. Upadhyay, R.K.; Singh, P. Modeling and control of computer virus attacks on a targeted network. Phys. A 2020, 538, 122617. [Google Scholar] [CrossRef] [Scilit]
  20. Hoang, M.T. Lyapunov functions for investigating stability properties of a fractional-order computer virus propagation model. Qual. Theory Dyn. Syst. 2021, 20, 74. [Google Scholar] [CrossRef] [Scilit]
  21. Shahini, M.; Ebrahimzadeh, A.; Khanduzi, R. A spectral collocation method for computer virus spread case of delayed optimal control problem. Bull. Iran. Math. Soc. 2022, 48, 507–535. [Google Scholar] [CrossRef] [Scilit]
  22. Avcı, İ.; Hussain, A.; Kanwal, T. Investigating the impact of memory effects on computer virus population dynamics: A fractal–fractional approach with numerical analysis. Chaos Solitons Fractals 2023, 174, 113845. [Google Scholar] [CrossRef] [Scilit]
  23. Gunasekar, T.; Manikandan, S.; Govindan, V.; D, P.; Ahmad, J.; Emam, W.; Al-Shbeil, I. Symmetry analyses of epidemiological model for monkeypox virus with Atangana–Baleanu fractional derivative. Symmetry 2023, 15, 1605. [Google Scholar] [CrossRef] [Scilit]
  24. Gunasekar, T.; Manikandan, S.; Suba, M.; Akgül, A. A fractal-fractional mathematical model for COVID-19 and tuberculosis using Atangana–Baleanu derivative. Math. Comput. Model. Dyn. Syst. 2024, 30, 857–881. [Google Scholar] [CrossRef] [Scilit]
  25. Gunasekar, T.; Manikandan, S.; Haque, S.; Suba, M.; Mlaiki, N. Fractal-fractional mathematical modelling of monkeypox disease and analysis of its Ulam–Hyers stability. Bound. Value Probl. 2025, 1, 20. [Google Scholar] [CrossRef] [Scilit]
  26. Toufik, M.; Atangana, A. New numerical approximation of fractional derivative with non-local and nonsingular kernel: Application to chaotic models. Eur. Phys. J. Plus 2017, 132, 444. [Google Scholar] [CrossRef] [Scilit]
  27. Peter, O.J.; Shaikh, A.S.; Ibrahim, M.O.; Nisar, K.S.; Baleanu, D.; Khan, I.; Abioye, A.I. Analysis and dynamics of fractional order mathematical model of COVID-19 in Nigeria using Atangana–Baleanu operator. Comput. Mater. Contin. 2021, 66, 1823–1848. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Sensitivity Analysis of the Threshold Parameter.
Figure 1. Sensitivity Analysis of the Threshold Parameter.
Algorithms 19 00004 g001
Figure 2. Susceptible Computer Virus.
Figure 2. Susceptible Computer Virus.
Algorithms 19 00004 g002
Figure 3. Antidotal Computer Virus.
Figure 3. Antidotal Computer Virus.
Algorithms 19 00004 g003
Figure 4. Exposed Computer Virus.
Figure 4. Exposed Computer Virus.
Algorithms 19 00004 g004
Figure 5. Infected Computer Virus.
Figure 5. Infected Computer Virus.
Algorithms 19 00004 g005
Figure 6. Quarantined Computer Virus.
Figure 6. Quarantined Computer Virus.
Algorithms 19 00004 g006
Figure 7. Recovered Computer Virus.
Figure 7. Recovered Computer Virus.
Algorithms 19 00004 g007
Figure 8. 3-D Plots Susceptible Computer Virus.
Figure 8. 3-D Plots Susceptible Computer Virus.
Algorithms 19 00004 g008
Figure 9. 3-D Plots Antidotal Computer Virus.
Figure 9. 3-D Plots Antidotal Computer Virus.
Algorithms 19 00004 g009
Figure 10. 3-D Plots Exposed Computer Virus.
Figure 10. 3-D Plots Exposed Computer Virus.
Algorithms 19 00004 g010
Figure 11. 3-D Plots Infected Computer Virus.
Figure 11. 3-D Plots Infected Computer Virus.
Algorithms 19 00004 g011
Figure 12. 3-D Plots Quarantined Computer Virus.
Figure 12. 3-D Plots Quarantined Computer Virus.
Algorithms 19 00004 g012
Figure 13. 3-D Plots Recovered Computer Virus.
Figure 13. 3-D Plots Recovered Computer Virus.
Algorithms 19 00004 g013
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Gunasekar, T.; Swetha, R.; Manikandan, S.; Almanasra, S.; AlRamouni, S. Mathematical Analysis of Malware Spread in Digital Systems Using Atangana–Baleanu–Caputo Fractional Dynamics. Algorithms 2026, 19, 4. https://doi.org/10.3390/a19010004

AMA Style

Gunasekar T, Swetha R, Manikandan S, Almanasra S, AlRamouni S. Mathematical Analysis of Malware Spread in Digital Systems Using Atangana–Baleanu–Caputo Fractional Dynamics. Algorithms. 2026; 19(1):4. https://doi.org/10.3390/a19010004

Chicago/Turabian Style

Gunasekar, Tharmalingam, Rajendran Swetha, Shanmugam Manikandan, Sally Almanasra, and Suad AlRamouni. 2026. "Mathematical Analysis of Malware Spread in Digital Systems Using Atangana–Baleanu–Caputo Fractional Dynamics" Algorithms 19, no. 1: 4. https://doi.org/10.3390/a19010004

APA Style

Gunasekar, T., Swetha, R., Manikandan, S., Almanasra, S., & AlRamouni, S. (2026). Mathematical Analysis of Malware Spread in Digital Systems Using Atangana–Baleanu–Caputo Fractional Dynamics. Algorithms, 19(1), 4. https://doi.org/10.3390/a19010004

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop