- About this Journal ·
- Abstracting and Indexing ·
- 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

Abstract and Applied Analysis

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

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

## Stability and Hopf Bifurcation in a Computer Virus Model with Multistate Antivirus

^{1}State Key Laboratory of Power Transmission Equipment and System Security, College of Computer Science, Chongqing University, Chongqings 400044, China^{2}College of Software and Engineering, Chongqing University of Posts and Telecommunications, Chongqing 400065, China

Received 9 January 2012; Accepted 6 February 2012

Academic Editor: Muhammad Aslam Noor

Copyright © 2012 Tao Dong 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

By considering that people may immunize their computers with countermeasures in susceptible state, exposed state and using anti-virus software may take a period of time, a computer virus model with time delay based on an SEIR model is proposed. We regard time delay as bifurcating parameter to study the dynamical behaviors which include local asymptotical stability and local Hopf bifurcation. By analyzing the associated characteristic equation, Hopf bifurcation occurs when time delay passes through a sequence of critical value. The linerized model and stability of the bifurcating periodic solutions are also derived by applying the normal form theory and the center manifold theorem. Finally, an illustrative example is also given to support the theoretical results.

#### 1. Introduction

As globalization and development of communication networks have made computers more and more present in our daily life, the threat of computer viruses also becomes an increasingly important issue of concern. In 2003, a virus, called worm king, rapidly spread and attacked the global world, which results the network of the internet to be seriously congested and server to be paralyzed [1]. In 2010, the report of pestilence about computer virus in China revealed that more than 90% computers in China are infected computer virus.

Computer viruses are small programs developed to damage the computer systems erasing data, stealing information. Their action throughout a network can be studied by using classical epidemiological models for disease propagation [2–6]. In [7–9], based on SIR classical epidemic model, Mark had proposed the dynamical models for the computer virus propagation, which provided estimations for temporal evolutions of infected nodes depending on network parameters [10–12]. In [13], Richard and Mark propose a modified propagation model named SEIR (susceptible-exposed-infected-recover) model to simulate virus propagation. In [14], on this basis of the SIR model, Yao et al. proposed a SIDQV model with time delay which add a quarantine state to clean the virus. However, both above models assume the viruses are cleaned in the infective state. In fact, in addition to clean viruses in state I, people may immunize their computers with countermeasures in state S and state E in the real world. Moreover there may be a time lag when the node uses antivirus software to clean the virus.

In this paper, in order to overcome the above-mentioned limitation, we present a new computer virus model with time delay which is depending on the SEIR model [15]; time delay can be considered the period of the node uses antivirus software to clean the virus. This model provides an opportunity for us to study the behaviors of virus propagation in the presence of antivirus countermeasures, which are very important and desirable for understanding of the virus spread patterns, as well as for management and control of the spread. The remainder of this paper is organized as follows. In Section 2, the stability of trivial solutions and the existence of Hopf bifurcation are discussed. In Section 3, a formula for determining the direction of Hopf bifurcation and the stability of bifurcating periodic solutions will be given by using the normal form and center manifold theorem introduced by Hassard et al. in [16]. In Section 4, numerical simulations aimed at justifying the theoretical analysis will be reported.

#### 2. Mathematical Model Formulation

Our model is based on the traditional SEIR model [7–9, 15, 17]. The SEIR model has four states: susceptible, exposed (infected but not yet infectious), infectious, and recovered. Our assumptions on the dynamical model are as follows.(1)In the real world, in addition cleaning viruses in state I, people may immunize their computers with countermeasures in state S and state E (after virus being cleaned), which may result in new state transition paths in comparison with SIR model:S-R: using countermeasure of real-time immunization,E-R: using real-time immunization after virus codes cleaning.(2)In state S, when people install the antivirus software on their computer, we assume that their computer can be immunized at a unit time.(3)In state E, since the computer is infected by the virus, the antivirus software may use a period to search the document and clean the viruses.(4)Denote the period of time of killing viruses when users find that their computers are infected by viruses.(5)While the computer is installed the antivirus software, it will not be quarantine or replacement. On the basis of the above hypotheses (1)–(5), the dynamical model can be formulated by the following equations: where describes the impact of implementing real-time immunization, describes the impact of cleaning the virus and immunizing the nodes, and describes the impact of quarantine or replacement. is the transition rate from to , and is the recovery rate from to . is the time delay that the node usees antivirus software to clean the virus. is the transition rate from to .

#### 3. Local Stability of the Equilibrium and Existence of Hopf Bifurcation

We may see that the first three equations in (2.1) are independent of the fourth equation, and therefore, the fourth equation can be omitted without loss of generality. Hence, model (2.1) can be rewritten as For the convenience of description, we define the basic reproduction number of the infection as Clearly, we have the following results with respect to the stable state of system (3.1). Here, the proof is omitted (see [17] for the details).

Theorem 3.1. *If , system (3.1) has only the disease-free equilibrium and is globally asymptotically stable. If , becomes unstable and there exists a unique positive equilibrium , where . Furthermore, for any , is asymptotically stable if and unstable if .*

To investigate the qualitative properties of the positive equilibrium with , it is necessary to make the following assumption:

(H1) .

Under hypothesis (H1), the Jacobian matrix of the system (3.1) about is given by where .

We can obtain the following characteristic equation: where If is a root of (3.4), then Separating the real and imaginary parts of (3.6), we have Adding up the squares of (3.7) yields Letting , then (3.8) becomes Letting , then we have the following results (see [18–22] for details) about the distributions of the positive roots of (3.9).

Lemma 3.2 (see [18–22]). *
(i) If , then (3.9) has at least one positive root.**
(ii) If and , then (3.9) has no positive root.**
(iii) If and , then (3.9) has positive roots if and only if and .*

Suppose (3.9) has positive roots; without loss of generality, we assume that it has three positive roots defined by , . By (3.7), we have Thus, denoting where ; , then is a pair of purely imaginary roots of (3.4) with . Define Note that when , (3.4) becomes In addition, Routh-Hurwitz criterion [13] implies that, if the following condition holds, then all roots of (3.13) have negative real parts.

(H2) .

Till now, we can employ a result from Ruan and Wei [23] to analyze (3.4), which is, for the convenience of the reader, stated as follows.

Lemma 3.3 (see [23]). *Consider the exponential polynomial
**
where () and () are constants. As vary, the sum of the order of the zeros of on the open right half plane can change only if a zero appears on or crosses the imaginary axis.*

Using Lemmas 3.2 and 3.3 we can easily obtain the following results on the distribution of roots of the transcendental (3.4).

Lemma 3.4. *(2.1) If and , then all roots with positive real parts of (3.4) have the same sum as those of the polynomial (3.13) for all .**(3.1) If either or and , , then all roots with positive real parts of (3.4) have the same sum as those of the polynomial (3.13) for .*

Lemma 3.5. *If , then the following transversality condition holds:
*

*Proof. *Differentiating (3.4) with respect to yields
For the sake of simplicity, denoting and by respectively, then
Then we get
Then, if , we have , we complete proof.

Thus from Lemmas 3.2, 3.3, 3.4, and 3.5, and we have the following.

Theorem 3.6. *Suppose that (H1) and (H2) hold, then the following results hold.*(1)*The positive equilibrium of (3.1) is asymptotically stable, if and ;*(2)*if either or and , , system (3.1) is asymptotically stable for and system (3.1) undergoes a Hopf bifurcation at the origin when .*

#### 4. Direction of the Hopf Bifurcation

In this section, we derive explicit formulae for computing the direction of the Hopf bifurcation and the stability of bifurcation periodic solution at critical values by using the normal form theory and center manifold reduction.

Letting , and dropping the bars for simplification of notation, system (3.1) is transformed into an FDE as with where Using the Riesz representation theorem, there exists a function of bounded variation for , such that In fact, we can choose where is Dirac delta function.

In the next, for , we define Then system (4.2) can be rewritten as where .

The adjoint operator of is defined by where is the transpose of the matrix .

For and , we define where . We know that is an eigenvalue of , so is also an eigenvalue of . We can get From the above discussion, it is easy to know that Hence we obtain Suppose that the eigenvector of is Then the following relationship is obtained: Hence we obtain Let One can obtain

Hence we obtain

In the remainder of this section, by using the same notations as in Hassard et al. [16], we first compute the coordinates for describing the center manifold at . Leting be the solution of (4.1) with , we define On the center manifold we have where

In fact, and are local coordinate for in the direction of and . Note that, if is, we will deal with real solutions only. Since Rewrite (4.23) as where From (4.1) and (4.24), we have Let where Expanding the above series and comparing the corresponding coefficients, we obtain Since , we have Thus, we can obtain So It follows from (4.24) and (4.25) that where Since , we have Comparing the coefficients of the above equation with those in (4.27), we have In what follows, we focus on the computation of and . For the expression of , we have Comparing the coefficients of the above equation, we can obtain that Substituting (4.39) into (4.27) and (4.38) into (4.27), respectively, we get So In the sequel, we will determine and . Form the definition of in (4.8), we have From (4.6) and (4.38)-(4.39), we have Substituting (4.41) and (4.44) into (4.42) and noticing that we can obtain which leads to It follows that Based on the above analysis, we can see each in (4.37) is determined by parameters and delays in (3.1). Thus, we can compute the following quantities:

Theorem 4.1. *In (4.50), the following results hold.*(1)*The sign of determines the directions of the Hopf bifurcation: if then the Hopf bifurcation is forward (backward) and the bifurcating periodic solutions exist for .*(2)*The sign of determines the stability of the bifurcating periodic solutions: the bifurcating periodic solutions are stable (unstable) if .*(3)*The sign of determines the period of the bifurcating periodic solutions: the period increases (decreases) if .*

#### 5. Numerical Examples

In this section, some numerical results of system (3.1) are presented to justify the Previous theorem above. As an example, considering the following parameters: , then , and . According to the Lemma 3.2, (3.9) has one positive real root . Correspondingly, by (3.13), we obtain . First, we choose , the corresponding wave form and phase plots are shown in Figure 1; it is easy to see from Figure 1 that system (3.1) is asymptotically stable. Finally, we choose the corresponding wave form and phase plots are shown in Figure 2; it is easy to see that Figure 2 undergoes a Hopf bifurcation.

#### 6. Conclusions

In this paper, considering that in addition to cleaning viruses in state I, people may immunize their computers with countermeasures in state and state , and since using antivirus software will take a period of time, we have constructed a computer virus model with time delay depending on the SEIR model. The theoretical analyses for the computer virus models are given. Furthermore, we have proved that when time cross through the critical value, the system exist a Hopf bifurcation. Finally, simulation clarifies our results.

#### Acknowledgments

This work was supported in part by the National Natural Science Foundation of China under Grant 60973114 and Grant 61170249, in part by the Research Fund of Preferential Development Domain for the Doctoral Program of Ministry of Education of China under Grant 20110191130005, in part by the Natural Science Foundation project of CQCSTC under Grant 2009BA2024, in part by Changjiang Scholars, and in part by the State Key Laboratory of Power Transmission Equipment & System Security and New Technology, Chongqing University, under Grant 2007DA10512711206.

#### References

- J. E. Sawyer, M. C. Kernan, D. E. Conlon, and H. Garland, “Responses to the Michelangelo computer virus threat: the role of information sources and risk homeostasis theory,”
*Journal of Applied Social Psychology*, vol. 29, no. 1, pp. 23–51, 1999. View at Google Scholar - B. K. Mishra and D. K. Saini, “SEIRS epidemic model with delay for transmission of malicious objects in computer network,”
*Applied Mathematics and Computation*, vol. 188, no. 2, pp. 1476–1482, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - 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 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 - E. Gelenbe, “Dealing with software viruses: a biological paradigm,”
*Information Security Technical Report*, vol. 12, no. 4, pp. 242–250, 2007. View at Publisher · View at Google Scholar - E. Gelenbe, “Keeping viruses under control,” in
*Proceedings of the 20th International Symposium Computer and Information Sciences (ISCIS '05)*, vol. 3733 of*Lecture Notes in Computer Science*, Springer, 2005. - W. O. Kermack and A. G. McKendrick, “Contributions of mathematical theory to epidemics,”
*Proceedings of the Royal Society of London Series A*, vol. 115, pp. 700–721, 1927. View at Google Scholar - W. O. Kermack and A. G. McKendrick, “Contributions of mathematical theory to epidemics,”
*Proceedings of the Royal Society of London Series A*, vol. 138, pp. 55–83, 1932. View at Google Scholar - W. O. Kermack and A. G. McKendrick, “Contributions of mathematical theory to epidemics,”
*Proceedings of the Royal Society of London Series A*, vol. 141, pp. 94–122, 1933. View at Google Scholar - W. O. Kermack and A. G. McKendrick, “Contributions of mathematical theory to epidemics,”
*Proceedings of the Royal Society of London Series A*, vol. 115, pp. 700–721, 1927. View at Google Scholar - W. O. Kermack and A. G. McKendrick, “Contributions of mathematical theory to epidemics,”
*Proceedings of the Royal Society of London Series A*, vol. 138, pp. 55–83, 1932. View at Google Scholar - W. O. Kermack and A. G. McKendrick, “Contributions of mathematical theory to epidemics,”
*Proceedings of the Royal Society of London Series A*, vol. 141, pp. 94–122, 1933. View at Google Scholar - W. T. Richard and J. C. Mark, “Modeling virus propagation in peer-to-peer networks,” in
*Proceedings of the IEEE International Conference on Information, Communications and Signal Processing (ICICS '05)*, pp. 981–985, 2005. - Y. Yao, X. Xie, and H. Gao, “Hopf bifurcation in an Internet worm propagation model with time delay in quarantine,”
*Mathematical and Computer Modelling*. In press. - 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 - B. D. Hassard, N. D. Kazarinoff, and Y. H. Wan,
*Theory and Applications of Hopf Bifurcation*, vol. 41, Cambridge University Press, Cambridge, UK, 1981. - M. Y. Li and J. S. Muldowney, “Global stability for the SEIR model in epidemiology,”
*Mathematical Biosciences*, vol. 125, no. 2, pp. 155–164, 1995. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - Y. Song, M. Han, and J. Wei, “Stability and Hopf bifurcation analysis on a simplified BAM neural network with delays,”
*Physica D*, vol. 200, no. 3-4, pp. 185–204, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - S. Ruan and J. Wei, “On the zeros of a third degree exponential polynomial with applications to a delayed model for the control of testosterone secretion,”
*IMA Journal of Mathemathics Applied in Medicine and Biology*, vol. 18, no. 1, pp. 41–52, 2001. View at Google Scholar - X. Li and J. Wei, “On the zeros of a fourth degree exponential polynomial with applications to a neural network model with delays,”
*Chaos, Solitons and Fractals*, vol. 26, no. 2, pp. 519–526, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - H. Hu and L. Huang, “Stability and Hopf bifurcation analysis on a ring of four neurons with delays,”
*Applied Mathematics and Computation*, vol. 213, no. 2, pp. 587–599, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - D. Fan, L. Hong, and J. Wei, “Hopf bifurcation analysis in synaptically coupled HR neurons with two time delays,”
*Nonlinear Dynamics*, vol. 62, no. 1-2, pp. 305–319, 2010. View at Publisher · View at Google Scholar - S. Ruan and J. Wei, “On the zeros of transcendental functions with applications to stability of delay differential equations with two delays,”
*Dynamics of Continuous, Discrete & Impulsive Systems Series A*, vol. 10, no. 6, pp. 863–874, 2003. View at Google Scholar · View at Zentralblatt MATH