- About this Journal ·
- Abstracting and Indexing ·
- Advance Access ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Discrete Dynamics in Nature and Society

Volume 2012 (2012), Article ID 264874, 16 pages

http://dx.doi.org/10.1155/2012/264874

## A Stochastic Dynamic Model of Computer Viruses

School of Information Engineering, Guangdong Medical College, Dongguan 523808, China

Received 8 June 2012; Accepted 16 July 2012

Academic Editor: Bimal Kumar Mishra

Copyright © 2012 Chunming Zhang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

A stochastic computer virus spread model is proposed and its dynamic behavior is fully investigated. Specifically, we prove the existence and uniqueness of positive solutions, and the stability of the virus-free equilibrium and viral equilibrium by constructing Lyapunov functions and applying Ito's formula. Some numerical simulations are finally given to illustrate our main results.

#### 1. Introduction

A generalized computer virus, including the narrowly defined virus and the worm, is a kind of computer program that can replicate itself and spread from one computer to another. Viruses mainly attack the file system and worms use system vulnerability to search and attack computers. As hardware and software technology developed and computer networks became widespread, computer virus has come to be one major threat to our daily life. Consequently, in order to deal with the threat, the trial on better understanding the computer virus propagation dynamics is an important matter. Similar to the biological virus, there are two ways to study this problem: microscopic and macroscopic. Following a macroscopic approach, since [1, 2] took the first step towards modeling the spread behavior of computer virus, much effort has been done in the area of developing a mathematical model for the computer virus propagation [3–13]. These models provide a reasonable qualitative understanding of the conditions under which viruses spread much faster than others.

In [13], the authors investigated a differential model by making the following assumptions.() The total population of computers is divided into four groups: susceptible, exposed, infected, and recovered computers. Let , and denote the numbers of susceptible, exposed, infected, and recovered computers, respectively. denotes the total number of computers.() New computers are attached to the computer network with rate .() Computers are disconnected to the computer network with constant rate .() computers become computers with rate , where denotes the averaged number of neighbor nodes (with various states) that are directly connected; is the transition rate from to . computers become computers with rate .() computers become computers with constant rate ; computers become computers with constant rate ; computers become computers with constant rate .

According to the above assumptions, the following model (see Figure 1) is derived:

Notably, the first three equations in (1.1) do not depend on the fourth equation, since . Therefore, the forth equation can be omitted and the model (1.1) can be rewritten as

In [13], authors have proved the virus-free equilibrium is globally asymptotically stable if , and the viral equilibrium is globally asymptotically stable if , where

However, in the real world, systems are inevitably affected by environmental noise. Hence the deterministic approach has some limitations in mathematically modeling the transmission of an infectious disease, and it is quite difficult to predict the future dynamics of the system accurately. This happens due to the fact that deterministic models do not incorporate the effect of a fluctuating environment. Stochastic differential equation models play a significant role in various branches of applied sciences, including infectious dynamics, as they provide some additional degree of realism compared to their deterministic counterpart. In this paper, we introduce a noise into (1.2) and we transform the deterministic problem into a corresponding stochastic problem.

In this paper, we introduce randomness into the model by replacing the parameters and by , and , where , and are mutual independent standard Brownian motions with , and , and intensity of white noise and , respectively. Then the stochastic system is

The organization of this paper is as follows. In Section 2, we prove the existence and the uniqueness of the nonnegative solution of (1.3). In Section 3, if , we show that the solution is oscillating around the virus-free equilibrium of (1.3). Section 4 focuses on the persistence of the virus. By choosing appropriate Lyapunov function, we show that there is a stationary distribution for (1.3) and that it is persistent if . Some numerical simulations are performed in Section 5. In Section 6, a brief conclusion is given.

Throughout this paper, consider the -dimensional stochastic differential equation with the initial value . denotes -dimensional standard Brownian motion defined on the above probability space. Define the differential operator associated with (1.4) by If acts on a function , then where .

By Ito’s formula, if , then for (1.4), assume that for all . So is a solution of (1.4), called the trivial solution or equilibrium position.

#### 2. Existence and Uniqueness of the Nonnegative Solution

To investigate the dynamical behavior of a population model, the first concern is whether the solution is positive or not and whether it has the global existence or not. Hence, in this section, we mainly use the Lyapunov analysis method to show that the solution of system (1.3) is positive and global.

Theorem 2.1. * Let , then the system (1.2) admits a unique solution on , and this solution remains in with probability 1.*

* Proof. *Since the coefficients of the equation are locally Lipschitz continuous, for any given initial value there is a unique local solution on , where is the explosion time [2, 13]. To show this solution is global, we need to show that a. s. Let be sufficiently large so that every component of lies within the interval . For each integer , define the stopping time,
where throughout this paper we set (as usual denotes the empty set). Clearly, is increasing as . Set , whence a. s. If we can show that a. s., then and a. s. for all . In other words, to complete the proof we need to show that a. s. For if this statement is false, then there is a pair of constants and such that
Hence, there is an integer such that
Define a -function for by
The nonnegativity of this function can be seen from , for all . Using Ito’s formula we get
where
By choosing , then
Therefore,
Setting for , then by (2.3), we know that . Note that for every , there is at least one of , , and that equals either or . Then
where is the indicator function of . Let lead to the contradiction that . So is necessary. The proof of Theorem 2.1 is completed.

#### 3. Stability of Virus-Free Equilibrium

It is clear that is the virus-free equilibrium of system (1.3), which has been mentioned above, and is globally stable if , which means that the virus will die out after some period of time. Since there is no virus-free equilibrium of system (1.3), in this section, we show that the solution is oscillating in a small neighborhood of if the white noise is small.

Theorem 3.1. * If and , then the solution of system (1.3) with initial value has the property
**
where is positive constants, defined as in the proof.*

*Proof. *For simplicity, let , system (1.3) can be written as
Let
then is positive constants to be determined later. By Ito’s formula, we compute

Choosing , then we get
Integrating this from 0 to and taking the expectation, we have
Hence,

*Remark 3.2. *Theorem 3.1 shows that the solution of system (1.3) would oscillate around the virus-free equilibrium of system (1.1) if some conditions are satisfied, and the intensity of fluctuation is proportional to , which is the intensity of the white noise . In a biological interpretation, if the stochastic effect on is small, the solution of system (1.3) will be close to the virus-free equilibrium of system (1.1) most of the time.

#### 4. Permanence

When studying epidemic dynamical systems, we are interested in when the computer viruses will persist in network. For a deterministic model, this is usually solved by showing that the viral equilibrium is a global attractor or is globally asymptotically stable. But, for system (1.3), there is no viral equilibrium. In this section, we show that there is a stationary distribution, which reveals that the computer viruses will persist.

Lemma 4.1 (see [14, 15]). *Assumption : there exists a bounded domain with regular boundary , having the following properties.*()* In the domain and some neighborhood thereof, the smallest eigenvalue of the diffusion matrix is bounded away from zero.*()* If , the mean time at which a path issuing from reaches the set is finite, and for every compact subset . If holds, then the Markov process has a stationary distribution . Let be a function integrable with respect to the measure . Then
*

Lemma 4.2 (see [14, 15]). *Let be a regular temporally homogeneous Markov process in . If is recurrent relative to some bounded domain , then it is recurrent relative to any nonempty domain in .*

Theorem 4.3. *If, and , then, for any initial value , there is a stationary distribution for system (1.3), and it has an ergodic property, where are defined as in the proof, is the viral equilibrium of system.*

*Proof. *When , there is an viral equilibrium of system (1.3). Then
Define
where , are positive constants to be determined later. Then is positive definite. By Ito’s formula, we compute
where
Let and , for all

Choosing , then

Choosing , then

Then the ellipsoid
lies entirely in . We can take to be a neighborhood of the ellipsoid with , so, for , ( is a positive constant), which implies that condition in Lemma 4.1 is satisfied. Hence, the solution is recurrent in the domain , which, together with Lemma 4.2, implies that is recurrent in any bounded domain . Besides, for all , there is an
such that for all which implies that condition is also satisfied. Therefore, the stochastic system (1.3) has a stationary distribution and it is ergodic. This completes the proof.

#### 5. Numerical Simulations

In this section, we have performed some numerical simulations to show the geometric impression of our results. To demonstrate the global stability of infection-free solution of system (1.3) we take following set parameter values: , , , , , ,, , . In this case, we have . In Figures 2(a), 2(b), and 2(c), we have displayed, respectively, the susceptible, infected and recovered computer of system (1.4) with initial conditions: and .

To demonstrate the permanence of system (1.4), we take the following set parameter values: , , , , , , , , , . In this case, we have . In Figures 3(a), 3(b), and 3(c), we have displayed, respectively, the susceptible and infected population of system (1.4) with initial conditions: and .

#### 6. Conclusion

In this paper, a stochastic computer virus spread model has been proposed and analyzed. First, we prove the existence and uniqueness of positive solutions. Then, by constructing Lyapunov functions and applying Ito’s formula, the stability of the virus-free equilibrium and viral equilibrium is studied.

#### Acknowledgments

This paper is supported by the National Natural Science Foundation of China (no. 61170320), the Natural Science Foundation of Guangdong Province (no. S2011040002981) and the Scientific Research Foundation of Guangdong Medical College (no. KY1048).

#### References

- J. O. Kephart and S. R. White, “Directed-graph epidemiological models of computer viruses,” in
*Proceedings of the IEEE Computer Society Symposium on Research in Security and Privacy*, pp. 343–359, May 1991. View at Scopus - J. O. Kephart, S. R. White, and D. M. Chess, “Computers and epidemiology,”
*IEEE Spectrum*, vol. 30, no. 5, pp. 20–26, 1993. - L. Billings, W. M. Spears, and I. B. Schwartz, “A unified prediction of computer virus spread in connected networks,”
*Physics Letters A*, vol. 297, no. 3-4, pp. 261–266, 2002. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - X. Han and Q. Tan, “Dynamical behavior of computer virus on Internet,”
*Applied Mathematics and Computation*, vol. 217, no. 6, pp. 2520–2526, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - B. K. Mishra and N. Jha, “Fixed period of temporary immunity after run of anti-malicious software on computer nodes,”
*Applied Mathematics and Computation*, vol. 190, no. 2, pp. 1207–1212, 2007. View at Publisher · View at Google Scholar · View at Scopus - B. K. Mishra and D. Saini, “Mathematical models on computer viruses,”
*Applied Mathematics and Computation*, vol. 187, no. 2, pp. 929–936, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - B. K. Mishra and S. K. Pandey, “Dynamic model of worms with vertical transmission in computer network,”
*Applied Mathematics and Computation*, vol. 217, no. 21, pp. 8438–8446, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - J. R. C. Piqueira and V. O. Araujo, “A modified epidemiological model for computer viruses,”
*Applied Mathematics and Computation*, vol. 213, no. 2, pp. 355–360, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - J. R. C. Piqueira, A. A. de Vasconcelos, C. E. C. J. Gabriel, and V. O. Araujo, “Dynamic models for computer viruses,”
*Computers and Security*, vol. 27, no. 7-8, pp. 355–359, 2008. View at Publisher · View at Google Scholar · View at Scopus - J. Ren, X. Yang, L.-X. Yang, Y. Xu, and F. Yang, “A delayed computer virus propagation model and its dynamics,”
*Chaos, Solitons & Fractals*, vol. 45, no. 1, pp. 74–79, 2012. View at Publisher · View at Google Scholar - J. Ren, X. Yang, Q. Zhu, L.-X. Yang, and C. Zhang, “A novel computer virus model and its dynamics,”
*Nonlinear Analysis: Real World Applications*, vol. 13, no. 1, pp. 376–384, 2012. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - J. C. Wierman and D. J. Marchette, “Modeling computer virus prevalence with a susceptible-infected-susceptible model with reintroduction,”
*Computational Statistics & Data Analysis*, vol. 45, no. 1, pp. 3–23, 2004. View at Publisher · View at Google Scholar - H. Yuan and G. Chen, “Network virus-epidemic model with the point-to-group information propagation,”
*Applied Mathematics and Computation*, vol. 206, no. 1, pp. 357–367, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - R. Z. Hasminskii,
*Stochastic Stability of Differential Equations*, vol. 7, Sijthoff and Noordhoff, Groningen, The Netherlands, 1980. - C. Ji, D. Jiang, Q. Yang, and N. Shi, “Dynamics of a multigroup SIR epidemic model with stochastic perturbation,”
*Automatica*, vol. 48, no. 1, pp. 121–131, 2012. View at Publisher · View at Google Scholar