#### Abstract

By incorporating the time delay due to the period that computers use antivirus software to clean the virus into the SLBRS model a delayed SLBRS computer virus model is proposed in this paper. The dynamical behaviors which include local stability and Hopf bifurcation are investigated by regarding the delay as bifurcating parameter. Specially, direction and stability of the Hopf bifurcation are derived by applying the normal form method and center manifold theory. Finally, an illustrative example is also presented to testify our analytical results.

#### 1. Introduction

For the purpose of studying the prevalence of computer viruses and posing effective strategies of controlling their spread across the Internet and considering the similarity between the propagation of computer virus across the Internet and that of biological viruses across a population, many scholars have proposed computer virus models by properly modifying some epidemiological models [1–6]. In [2], Han and Tan proposed a computer virus model using an SIRS model and investigated the local stability and Hopf bifurcation for the endemic state of the model. In [4], Mishra and Pandey proposed an SEIRS model for the transmission of worms in computer network through vertical transmission and they obtained the threshold value determining whether the worms die out. All the models above assume that an infected computer in which the virus resides is in latency and cannot infect other computers.

Recently, Yang et al. [7] proposed the following SLBRS computer virus model by taking into account the fact that a computer immediately possesses infection ability once it is infected. Consider where denotes the percentage of computers that have no immunity at time ; denotes the percentage of infected computers that are latent at time ; denotes the percentage of infected computers that are breaking out at time ; and denotes the percentage of uninfected computers that have temporary immunity at time . is the constant rate for the external computers connecting to the Internet and that for the internal computers disconnecting from the Internet. is the rate of contact for the virus-free computer. is the rate coefficient from class to class , is the rate coefficient from class to class , and is the rate coefficient from class to class . Yang et al. [7] studied global stability of the model by constructing a Lyapunov function for the model.

It is well known that there may be a time lag when the computer uses antivirus software to clean the virus and computer virus models with time delay have been studied by many scholars [1, 2, 6, 8–15]. In [8], Feng et al. investigated the Hopf bifurcation of delayed SIRS computer virus propagation model by regarding the latent period of computer virus as a bifurcation parameter. In [10], Liu investigated the Hopf bifurcation of a delayed SEIQRS model for the transmission of malicious objects in computer network by regarding the time delay due to the temporary immunity period as a bifurcation parameter. To the best of our knowledge, few papers deal with the research of Hopf bifurcation of system (1). Motivated by the work above and considering that there may be a time lag when the computer uses antivirus software to clean the virus, we incorporate time delay into system (1) and investigate the Hopf bifurcation of the following delayed SLBRS system: where is the time delay due to the period that a computer uses antivirus software to clean the virus.

The main purpose of this paper is to investigate the effect of delay on system (2). This paper is organized as follows. In Section 2, sufficient conditions for local stability and existence of local Hopf bifurcation are obtained by analyzing the distribution of the roots of the associated characteristic equation. In Section 3, direction and stability of the Hopf bifurcation are studied by applying the normal form theory and center manifold theorem. In Section 4, some numerical simulations are presented to verify the theoretical results.

#### 2. Stability and Existence of Local Hopf Bifurcation

By a simple computation, we can conclude that if , then system (2) has a unique positive equilibrium , where and is called the basic reproduction number.

The linearized system of system (2) is where The characteristic equation of system (4) is where For , (6) reduces to where

Obviously, if condition (*H*_{1}) (10) holds, is locally asymptotically stable in the absence of delay according to the Routh-Hurwitz criterion. One has
For , let be the root of (6). Then, we get
from which one can get
with
Let ; then, (12) becomes
In order to give the main results in this paper, we make the following assumption.(*H*_{2})Equation (14) has at least one positive root.If condition (*H*_{2}) holds, we know that (12) has at least a positive root such that (6) has a pair of purely imaginary roots . For , the corresponding critical value of the delay is
where
Taking the derivative with respect to on both sides of (6), we obtain
Thus,
where and .

Thus, if condition (*H*_{3}) , then . According to the Hopf bifurcation theorem in [16], we have the following results.

Theorem 1. *If conditions ( H_{1})–(H_{3}) hold, then the positive equilibrium of system (2) is asymptotically stable for and system (2) undergoes a Hopf bifurcation at the positive equilibrium when .*

#### 3. Properties of the Hopf Bifurcation

Let , , , , and , , and normalize the delay by . Then, system (2) can be transformed into a functional differential equation (PDF) as where where

By the Riesz representation theorem, there is a matrix function with bounded variation components , such that In fact, we choose For , we define Then, system (19) is equivalent to the following form: Next, we define the adjoint operator of as and a bilinear inner product as where .

Let be the eigenvector of corresponding to the eigenvalue and let be the eigenvector of corresponding to the eigenvalue . Then, from the definition of and , we obtain From (27), we can get Then, we choose such that and .

Following the algorithms given in [16] and using similar computation process in [17], we can get the following important coefficients: with where and can be determined by the following equations, respectively, with Then, we can get the following coefficients: In conclusion, we have the following results.

Theorem 2. *For system (2), If , then the Hopf bifurcation is supercritical (subcritical). If , then the bifurcating periodic solutions are stable (unstable). If , then the period of the bifurcating periodic solutions increases (decreases).*

#### 4. Numerical Simulation

In this section, we present a numerical example to justify the theoretical results above. We use the same coefficients as those used in [7] and consider the following system: from which we obtain the basic reproduction number and the unique positive equilibrium of system (36). Further, we obtain , . According to Theorem 1 in Section 2, we know that, when , the positive equilibrium of system (36) is locally asymptotically stable. As can be seen from Figures 1 and 2, when , the positive equilibrium of system (36) is locally asymptotically stable. However, when the delay passes through the critical value of , the positive equilibrium will lose stability and a Hopf bifurcation occurs. This property can be illustrated by Figures 3 and 4.

In addition, by some complex computations and from (35), we obtain , , and . Therefore, we can conclude that the Hopf bifurcation of system (36) is subcritical, the bifurcating periodic solutions are stable, and the period of the periodic solutions decreases according to Theorem 2 in Section 3.

#### 5. Conclusions

A delayed SLBRS computer virus model has been studied in this paper based on the model proposed in [7]. Compared with literature [7], we mainly consider the effect of the time delay due to the period that the computers use antivirus software to clean the virus on the model. The main results are presented in terms of local stability and local Hopf bifurcation. Sufficient conditions for local stability and existence of local Hopf bifurcation are obtained by analyzing the distribution of the roots of the associated characteristic equation. It has been shown that when the delay is suitably small (), the computer virus model is locally asymptotically stable. In such case, the propagation of the computer virus can be easily controlled. However, once the delay passes though the critical value , a Hopf bifurcation occurs and a family of periodic solutions bifurcates from the positive equilibrium of the model. This is not welcome in networks because the computer virus will be out of control in this case. Further, direction and stability of the Hopf bifurcation have also been determined by using the normal form method and center manifold theory. Numerical simulations are also included to verify the analytical predictions.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was supported by the National Nature Science Foundation of China (61273070), a project funded by the Priority Academic Program Development of Jiangsu Higher Education Institutions, and Natural Science Foundation of the Higher Education Institutions of Anhui Province (KJ2014A005).