1. Introduction
Proof of Work (PoW) is one of the most commonly used consensus mechanisms in blockchain systems [
1] and has been widely applied in large public chain-related scenarios, such as smart healthcare, smart homes, cloud computing, hardware security and Internet of Things (IoT) environments [
2]. PoW allows mining pools to obtain rewards through computational competition. However, such fierce competition also creates opportunities for malicious mining pools to launch attacks and obtain illegal revenue. Attackers typically utilize fake virtual Internet Protocol (IP) addresses, create redundant forks, and cut off miners from mining websites to obtain the mining rewards of honest mining pools [
3]. Among these attacks, Distributed Denial of Service (DDoS) attacks are one of the most frequent and harmful security threats within blockchain systems. When launching a DDoS attack, hackers send excessive network requests to a target through the blockchain network to cut it off from the mining site. Subsequently, the adversary captures the historical block rewards generated by the victim pool [
4]. In blockchain-enabled IoT and edge-oriented environments, DDoS attacks reduce the payoff of honest mining as well as the right and opportunity to continue mining for more revenue [
5], which ultimately decreases the overall benefits of blockchain incentives for node mining. Therefore, it is an urgent problem to mitigate revenue loss caused by DDoS attacks in PoW-based blockchain systems.
Significant studies have been conducted in recent years [
6,
7,
8,
9,
10] to address the risks associated with DDoS attacks in blockchain networks. These studies include machine learning (ML)-based DDoS detection methods and game-based DDoS attack modeling strategies. ML-based detection methods use advanced algorithms to analyze and classify traffic data and network request volumes in blockchain networks, aiming to identify anomalous traffic and excessive requests [
11,
12,
13]. While these methods can effectively defend against DDoS attacks, they require significant additional resources, which can degrade the performance of blockchain systems. In addition, ML-based methods fail to address the issue of mining revenue loss caused by DDoS attacks. In response, the DDoS static game method uses Nash equilibrium to derive optimal mining pool strategies, improving blockchain security and profitability [
14,
15,
16]. However, while game methods are effective in identifying equilibrium strategies, they lack the capacity to analyze strategy evolution under changing network conditions. Static games assume pools reach equilibrium instantaneously and do not provide convergence analysis that captures how systems evolve over time. Moreover, existing game-theoretic studies predominantly focus on proving equilibrium existence rather than analyzing convergence dynamics and how key parameters affect convergence speed. These limitations obscure critical insights about mining pool adaptation and blockchain security management. To address these limitations, it is necessary to model DDoS profits using a dynamic evolutionary game approach.
Our previous work [
16,
17] introduced dynamic evolutionary game approaches to DDoS analysis but had three main limitations: the model was oversimplified, convergence analysis was absent, and parameter sensitivity was not thoroughly evaluated. To overcome these limitations, we now develop a more comprehensive model that integrates variable network conditions and adaptive mining pool behaviors, using replicator dynamics and Lyapunov methods to analyze strategy evolution and convergence. To enhance robustness, we conduct sensitivity analyses on key parameters, including node count and incentive mechanisms. Simulation experiment results obtained using MATLAB verify that improved network conditions incentivize DDoS attacks and that adjusting control variables can significantly accelerate strategy convergence. These findings provide insights into how economic incentives affect blockchain security. Our work goes beyond static equilibrium analysis to capture the dynamic adaptation of mining pools under changing conditions. In particular, the main contributions of this paper are as follows:
Our work provides a dynamic evolutionary game analysis of mining pool strategy evolution under DDoS attacks and investigates convergence using replicator dynamics and Lyapunov-based stability analysis.
We model mining pool profitability under DDoS attacks as an optimal strategy problem, solved via replicator dynamics and Lyapunov analysis across varying network conditions.
We analyze the DDoS profit model’s convergence to ensure rapid strategy optimization and minimize mining pool revenue loss under varying network conditions.
Compared to static games, the DEG-based method better captures mining pool convergence under varying conditions, with experiments showing that parameter tuning in improved networks speeds convergence and strengthens security.
The rest of the paper is organized as follows:
Section 2 outlines the background of DDoS attacks in blockchain.
Section 3 presents the proposed DEG-based model. Optimal strategy solution and convergence analysis are presented in
Section 4. The experimental results and analysis are presented in
Section 5.
Section 6 discusses the limitations of the model assumptions and relevant extensions. Conclusions and future works are provided in
Section 7.
3. The Proposed DEG-Based Model
3.1. Description and Assumptions of the Blockchain System Model
The blockchain system we have established is illustrated in
Figure 1. As can be seen from
Figure 1, a malicious pool A launches DDoS attacks against a target pool via the networks to obtain illegal profits. We assume that the mining pool manager manages the revenue of the mining pool and identifies the attacking and honest mining pools by abnormal traffic. The pool manager determines which pool is launching a DDoS attack by the excessive amount of anomalous traffic. In
Figure 1, the mining pool manager determines mining pool A by monitoring abnormal traffic. Mining pool A is identified as the mining pool that launches a DDoS attack. The attack of mining pool A causes mining pool B to be disconnected from the mining site. As a consequence of the attack, mining pool A obtains a portion of pool B’s honest-mining revenue. We assume that the honest mining revenue for each pool is
R. Malicious mining pool A controls
n nodes to launch DDoS attacks against honest mining pool B through the blockchain networks. Thus, damage caused by each maliciously controlled node is
d, then the loss caused by
n nodes to the honest mining of pool B is
. As a result, mining pool A initiating the DDoS attacks earns an illicit mining reward of
. The cost of DDoS launched by mining pool A is
. The pool manager penalizes pool A with
over the network and rewards pool B with
a for honest mining. Therefore, in this scenario, pool A earns
, while pool B earns
, resulting in significant losses for the honest pool.
For further analysis, we employ the assumptions and parameter definitions summarized in
Table 2.
(1) This paper studies two equal-power mining pools, A and B, where the manager detects attackers via abnormal traffic. The focus is on determining the optimal mining strategy when one pool launches DDoS attacks against another.
(2) The honest mining reward for both pools A and B is R, where .
(3) A malicious mining pool controls n nodes to launch DDoS attacks on an honest pool, each causing damage d. The total impact and illegal gain, , depends on the network factor w (), where indicates a paralyzed network and ideal conditions.
(4) The coefficient w is a normalized composite index representing the effectiveness of DDoS attacks under current network conditions, rather than a single raw network metric. It can be estimated by combining indicators such as packet loss rate, round-trip time, and service availability.
(5) The mining pool manager gives as a penalty for attacking the mining pool and a as a reward for honest mining. The values of and a satisfy and . The cost of launching a DDoS attack is . The value of is .
(6) This model does not allow miners to migrate to other pools or to launch additional attacks on the mining pool.
These assumptions are introduced to obtain a tractable two-pool dynamic game model. In practical blockchain systems, heterogeneous hashrates, imperfect attacker identification, and miner migration may further affect strategy evolution.
3.2. The DEG Threat Model
Our model considers two mining pools and two strategies (honest mining and launching attacks). This setting avoids the exponential growth of state variables that arises with multiple pools or strategies, which often results in simulation distortion. Additionally, this model captures the essential “profit–fairness” trade-off among mining pools, and its resulting behavioral patterns are sufficient to support the core conclusions of this work. This paper analyzes revenue profiles for mining pools under various DDoS attack scenarios, differentiating between strategies of honest mining (H) and launching DDoS attacks (D) across four potential scenarios: both pools mining honestly
, pool B attacking pool A
, pool A attacking pool B
, and both pools attacking each other
. In scenario
, pool A mines honestly while pool B’s attack, controlled by
n nodes and influenced by network environment factor
w, yields illegal profit of
for pool B at the expense of pool A, offset by pool B’s attack costs
and a penalty
from the blockchain system, resulting in net revenues of
and
respectively. In
, the situation mirrors
with roles reversed, leading to similar revenue distributions. For
, both pools attack each other, canceling out illegal gains (
), and after accounting for penalties
and costs
, both pools earn
.
Figure 2 illustrates the payoff differences across four attack scenarios using a game tree structure. Based on the model, we list the rewards for mining pool A and pool B.
Table 3 shows the benefits for both pools in the four DDoS attack scenarios.
3.3. Establishment and Solution of Dynamic Equation
Figure 3 shows the complete mathematical modeling process of the proposed method. We assume the probability of honest mining is
x and of launching a DDoS attack is
, with
. The honest mining payoff is derived from
Table 3 and expressed in Equation (
1):
The payoff of a DDoS attack by a mining pool is expressed in Equation (
2):
The average mining revenue of a mining pool under DDoS attack is shown in Equation (
3):
Therefore, the replication dynamics of mining pool strategies can be formulated as Equation (
4) [
40]. Solving this equation enables us to analyze strategy evolution and identify optimal responses to DDoS attacks under different network environments. Wherein,
denotes the function of the change in strategy
x in the case of a change at time
t.
implies that the representation strategy
x is the rate of change of frequency over time of
t.
represents the average return from honest mining in the pool.
denotes the average return of the mining pool in the presence of both a DDoS attack strategy and an honest mining strategy [
46]. Equation (
4) replicates the derivation of the dynamic equations and the optimal strategy solution. See the theorem on evolutionary games in Ref. [
47].
Setting
yields the three candidate stationary points of the evolutionary game shown in Equation (
5):
By solving the replication dynamic equation in Equation (4), we obtain three candidate stationary points (). Among them, and are trivial boundary equilibria, while the interior solution requires stability validation rather than being directly regarded as a stable evolutionary state.
To judge whether
is an evolutionarily stable strategy (ESS), we first compute the derivative of
from Equation (
4):
By definition,
is the point where
. Substituting this into the expression for
yields
According to the linearization stability criterion for one-dimensional autonomous dynamical systems, an interior equilibrium
is locally asymptotically stable if the derivative of the replicator dynamics satisfies
[
48]. Since the basic assumptions of our model satisfy
and
, we have
, confirming local asymptotic stability around
.
Then we define the four payoff entries of the symmetric two-strategy game as
For a symmetric two-strategy game, an interior equilibrium can become a mixed-strategy ESS only if the discriminant condition below is satisfied [
49]:
Substituting the model payoffs into this formula and simplifying, we can derive that
Since by assumption, we have , this condition is satisfied.
Therefore, is a valid ESS only when it falls within the range .
Following the reference in [
50], we evaluate the optimal strategy
under varying network conditions and determine the corresponding network coefficient
w. On this basis, we adopt evolutionary game theory to analyze the convergence behavior of strategies and explore the parameter sensitivity of key variables, including the malicious node count
n, reward
a, and penalty
.
4. Optimal Strategy Solution and Convergence Analysis
This section analyzes stability and convergence via replicator dynamics and equilibrium analysis, combined with Lyapunov stability theory. We adopt the Lyapunov function
[
51] to analyze the stability of the interior equilibrium
and solve the optimal mining strategy
, we regard the network coefficient
w as the key influencing factor. We only calculate the sign of
for Case C, which verifies the global asymptotic stability for all initial states within the open interval
. This stability conclusion does not hold for the invariant boundary points
and
. For the boundary optimal solutions
(Case A) and
(Case B), we further evaluate their local asymptotic stability by computing the first derivative of the replicator dynamics
at the boundary equilibria. Under the prerequisites
and
, we finally derive the stable optimal strategies corresponding to Case A, Case B, and Case C based on the three stationary points
,
, and
. Furthermore, we conduct parameter sensitivity analysis to explore how the penalty coefficient
, the honest mining reward
a, and the number of malicious nodes
n affect the strategy convergence speed.
Figure 4,
Figure 5 and
Figure 6 show phase diagrams of replicator dynamics
under different networks, and parameters are detailed in
Table 4.
Case A: and .
When
, i.e.,
, the network coefficient
w satisfies
. By analyzing the first derivative
of the replication dynamic equation
, the steady state corresponds to the intersection with the horizontal axis where the slope is negative (
) [
38,
39,
52]. The phase diagram in
Figure 4 shows that the stable strategy in this case is
, indicating that under good network conditions, mining pools eventually choose mutual attacks to maximize profits.
Then, we consider how the variable parameters a, , and n affect the convergence time to the optimal strategy in repeated games among mining pools with different mining probabilities. By assumption, the range of a is . Similarly, we have () and . Under these conditions, n tends to be relatively large, while a and are relatively small. Therefore, given the same penalty and reward a, a larger number of attacking nodes n controlled by the malicious mining pool leads to faster game convergence. Conversely, with a fixed n, higher penalty , and reward a slow down the convergence of the mining pool game.
Case B: and
When
means
. In this case, the value range of
w is
. The replication dynamic phase diagram is shown in
Figure 5. From
Figure 5, we conclude that the stable strategy point with
is
. Thus, the steady-state strategy is
. Under poor network conditions, mining pools tend to mine honestly to secure optimal rewards before suffering from DDoS attacks.
Then, we analyze how the variable parameters a, , and n affect convergence to the optimal strategy in Case B. According to Case B assumptions, the number of malicious nodes n satisfies . Similarly, the reward a and penalty satisfy and . In this scenario, n tends to be relatively small, while a and are relatively large. Therefore, under the same poor network condition w, penalty , and reward a, a larger number of attacking nodes controlled by the malicious pool slows game convergence. Conversely, with fixed w and n, higher penalty and reward a accelerate convergence, reducing the time for the mining pool to reach the optimal strategy.
Case C: and
In this case, the value range of
w is as follows:
. The replication dynamic phase diagram is shown in
Figure 6. As can be seen from
Figure 6, the steady-state strategy point that makes
chosen in case C is
. Under the condition of the medium network environment, the mining pool will choose the probability of honest mining as
to obtain the best profits. When the network environment is in a relatively stable state, the mining pools will eventually choose the mixed strategy for the best profit. The pools are finally mined honestly with a probability of
.
In Case C, the variable parameters a, , and n influence both the convergence speed and the mining pool’s mixed strategy . The number of malicious nodes satisfies , indicating a moderate level of control. The penalty and reward ranges are and . Increasing a tends to increase , with both similarly affecting convergence speed. For fixed n, higher a and accelerate convergence; increasing n with fixed a and slows it. The optimal mixed strategy is given by , which decreases as n grows. At fixed n and network coefficient w, increasing a and raises and speeds convergence. The values of these parameters work together to determine convergence and strategy selection.
6. Discussion
Discussion 1: The model assumes two mining pools with equal computational power. What are the limitations of this assumption? How would hashrate heterogeneity change the equilibrium structure and convergence trajectories?
Answer: Equal hashrate is just a simplifying assumption that enables tractable analysis. But it ignores that varying cost-benefit trade-offs lead pools of different sizes to adopt distinct strategies. And it masks the strategic advantage of scale, where dominant pools can absorb attack costs that smaller pools cannot, resulting in fundamentally different equilibria. In practice, mining pools have heterogeneous computational power, which alters game structure. With unequal hashrates, the symmetric replicator dynamics become asymmetric. Specifically, the payoff matrix depends on the hashrate ratio, changing the one-dimensional dynamics into multi-dimensional dynamics. Consequently, the original equilibrium condition no longer applies. Each pool adopts a distinct optimal strategy based on its relative computational power. This heterogeneity also alters both the equilibrium location and the convergence trajectory. Pools with different hashrates may face different cost-benefit trade-offs, potentially leading to distinct optimal strategies. Analyzing this asymmetric case requires multi-dimensional dynamics beyond the current model.
Discussion 2: The model assumes perfect attacker identification. What limitations arise from this simplifying assumption? How would detection latency and false positives/negatives change the payoff matrix and equilibrium strategies?
Answer: The perfect attacker identification assumption simplifies the model for tractable baseline analysis but deviates from practical detection scenarios. Real detection systems face latency, false negatives (FNs), and false positives (FPs) that modify the model’s payoff structure and equilibrium results. If detection is delayed by time , attackers profit during this time before penalties are imposed. The effective attack gain increases from to approximately , where represents detection sensitivity. This shifts the equilibrium toward more aggressive strategies. An FN means missed attacks escape penalty , dropping the expected penalty to , where denote the false negative rate. The new equilibrium becomes , lowering to further incentivize attacks. An FP wrongly penalizes honest pools, reducing their reward to and discouraging honest mining, where denote the false positive rate. Ultimately, imperfect detection systematically shifts equilibrium toward attack-dominant strategies and reduces convergence to honest mining.
Discussion 3: The model assumes no miner migration. What are the limitations of this assumption? If miners can freely migrate between pools, would the equilibrium strategy distribution change, or only the convergence speed?
Answer: The absence of miner migration is a simplifying assumption that restricts the model’s practical fidelity. The static fixed-hashrate setup fails to capture miners’ actual hash reallocation across pools. And miner migration has two fundamentally different effects depending on its mechanism. If miners only change strategies while pool hashrates remain fixed, the equilibrium stays the same but convergence speeds up. If miners reallocate hashrate, the equilibrium fundamentally changes. When miners migrate, the hashrate distribution changes over time. The equilibrium condition becomes time dependent: . This couples strategy dynamics with hashrate dynamics, creating a two-dimensional system. The equilibrium x is no longer stationary; it drifts as evolves. In practice, modeling miner migration properly requires coupled strategy-hashrate dynamics and more sophisticated frameworks (mean-field games, differential games). This is beyond the scope of the current work but represents an essential future direction.
Discussion 4: The model treats attack cost as constant, independent of attack scale. How would a cost function affect parameter sensitivity results?
Answer: The current model assumes is fixed, representing the base overhead of launching any attack. This is appropriate when analyzing strategic pool responses rather than attack deployment economics. However, in scenarios where attack cost scales with the number of malicious nodes, a linear cost function becomes more realistic. This would change the equilibrium to . It alters parameter sensitivity, especially for n. The net effect of increasing n depends on whether the marginal attack gain exceeds the marginal attack cost k. With fixed , higher n increases attack incentives as dominates. With , the cost opposes the gain , creating a trade-off where the optimal n balances marginal gains and costs. The effects of and a remain qualitatively similar but change in magnitude due to this trade-off.
Discussion 5: The model treats network environment coefficient w as common knowledge. In reality, attackers may falsely signal poor network conditions while exploiting good networks for attacks. How does information asymmetry affect results?
Answer: Information asymmetry fundamentally undermines our baseline model. In such scenarios, mining pools form distorted beliefs about the true w and converge to a wrong equilibrium instead of the true . Meanwhile, attackers gain asymmetric deception profits, defined as . To address this, future work can incorporate incomplete information Bayesian games and signaling frameworks, in which mining pools establish probabilistic beliefs toward the true network state. And the game becomes: (1) Nature draws w; (2) Attacker sends a signal ; (3) Pools choose strategies x based on their belief .