1 Introduction

With increasing popularity of the internet, increasing numbers of network-based applications enter into our everyday life, which can bring about as much as potential hazards malware for network users [1]. Understanding the virus spread dynamics is most important for defence strategies and computer security [2]. In last decades the study of widespread infection of the computers connected to internet has attracted the interest of the researchers at home and abroad. To illustrate the computer virus transmission dynamics, Murray [3] has suggested high similarities between computer and biological viruses. Kephart and White [4, 5] investigated SIS models for the spread of computer virus. Wierman [2, 6] proposed the SIR computer virus propagation model. Considering that the computer virus has a latent period, Yuan et al. [7, 8] incorporated the exposed class E (infected but not yet broken-out) to the classical SIR and SEIR computer virus model. However, the SEIR computer virus model assumes that the recovered computers have a permanent immunization period, which is not consistent with real situation. Mishra and Saini [9] proposed the SEIRS computer virus model to reveal common worm propagation. There are also some other computer virus models with vaccination [10,11,12], quarantine [13,14,15,16], effect of antivirus software [17], and so on.

However, most of the mentioned computer virus models assume that the infected computers that are in latency do not infect other computers. This is not consistent with reality. An infected computer that is in latency can affect other computers during file downloading or copying. Apart from this, new viruses and newer versions of old viruses may infect the cured computers, and effect of removable storage devices are also assumed. Based on these assumptions, the following computer virus model with graded infection rate has been proposed by Yang and Yang [18]:

$$\begin{aligned} \begin{aligned} &\frac{dS(t)}{dt} = \mu _{1}-\bigl(\beta _{1} L(t)+\beta _{2}B(t)\bigr)S(t) +\gamma _{1} L(t)+\gamma _{2} B(t)-(\delta +\theta )S(t), \\ &\frac{dL(t)}{dt} = \mu _{2}+\bigl(\beta _{1}L(t)+\beta _{2}B(t)\bigr)S(t)-(\gamma _{1}+\alpha +\delta )L(t)+\theta S(t), \\ &\frac{dB(t)}{dt} = \alpha L(t)-(\gamma _{2}+\delta )B(t), \end{aligned} \end{aligned}$$
(1)

where \(S(t)\), \(L(t)\), and \(B(t)\) denotes the numbers of uninfected, latent, and breaking-out computers at time t, \(\beta _{1}\), \(\beta _{2}\), \(\mu _{1}\), \(\mu _{2}\), \(\gamma _{1}\), \(\gamma _{2}\), δ, α, and θ are the parameters of system (1), and the meanings of all the parameters are the same as those in [18]. Yang and Yang [18] studied the local and global stability of system (1).

Time delay comes from the time sharing of the communication medium and the computation time entailed for communication processing and physical signal coding. The concept of delay comes in the 1970s when analogue controllers were replaced by digital controllers in computer networks [19]. Yang [20] demonstrated that the computational delay can cause system instability in a digital controller. Delay is an important aspect because it directly affects the speed of the digital device on an operating computer. In [18] the effect of time delay is not considered; nevertheless, delay acts crucially on system dynamics. Therefore we have deliberated time delay due to the period that antivirus software uses to clean viruses from latent and breaking-out computers. Recently, computer virus models with time delay have been investigated by some scholars [21,22,23,24,25,26]. In addition to computer virus models with time delay, there are also some other dynamical models with time delay, which have shown that time delay causes problems such as instability and restrict the conceivable performance of the control systems. For example, the predator–prey model [27,28,29,30], the epidemic model [31,32,33,34,35], and the neural network model [36,37,38,39]. All the mentioned works about delayed dynamical models have shown that time delay can produce complicated nonlinear phenomena with the change of time. Therefore it is important to know that at which time the delay destabilizes the system. Thus we have considered the effect of time delay on the system dynamics. Considering the effect of time delay (denoted as τ) due to the period that antivirus software uses to clean viruses, we investigate the following delayed model:

$$\begin{aligned} \begin{aligned} &\frac{dS(t)}{dt} = \mu _{1}-\bigl(\beta _{1}L(t)+\beta _{2}B(t)\bigr)S(t)+\gamma _{1}L(t- \tau )+\gamma _{2} B(t-\tau )-(\delta +\theta )S(t), \\ &\frac{dL(t)}{dt} = \mu _{2}+\bigl(\beta _{1}L(t)+\beta _{2}B(t)\bigr)S(t)-\gamma _{1}L(t-\tau )-(\alpha +\delta )L(t)+\theta S(t), \\ &\frac{dB(t)}{dt} = \alpha L(t)-\gamma _{2}B(t-\tau )-\delta B(t). \end{aligned} \end{aligned}$$
(2)

This paper is organized as follows. Section 2 deals with linear stability and Hopf bifurcation analysis. In Sect. 3, we study the nonlinear stability analysis using the Lyapunov direct method. In Sect. 4, we obtain the stability and direction of Hopf bifurcation by using the theory of center manifold and normal form. Numerical simulation results are presented in Sect. 5. Conclusions and discussions are presented in Sect. 6.

2 Linear stability and Hopf bifurcation analysis

This section reports the stability analysis of only one existing endemic equilibrium point \(E^{*}\) and the critical point \(\tau _{0}\) for the local Hopf bifurcation with the help of transversality condition.

Now by direct computation system (2) has a unique endemic equilibrium \((S^{*}, L^{*}, B^{*})\), where

$$\begin{aligned} S^{*} = \frac{\mu _{1}+A_{1}B^{*}}{A_{2}+A_{3}B^{*}}, \qquad L^{*} = \frac{ \gamma _{2}+\delta }{\alpha }B^{*}, \end{aligned}$$

and \(B^{*}\) is the unique positive root of the equation

$$ m_{2} \bigl(B^{*}\bigr)^{2} +m_{1} B^{*} +m_{0}=0 $$
(3)

with

$$\begin{aligned} &m_{0} = -\alpha (\mu _{1} \theta +\mu _{2} \delta +\mu _{2} \theta )< 0, \\ &m_{1} = \alpha \delta A_{1} +\delta (\alpha +\gamma _{2} +\delta ) A _{2} -\alpha (\mu _{1} +\mu _{2}) A_{3}, \\ &m_{2} = \delta (\alpha + \gamma _{2} + \delta ) A_{3}>0, \end{aligned}$$

and

$$\begin{aligned} A_{1} = \frac{\gamma _{1}(\gamma _{2}+\delta )}{\alpha }+\gamma _{2},\qquad A_{2} = \delta +\theta , \qquad A_{3} = \frac{\beta _{1}(\gamma _{2}+\delta )}{\alpha }+ \beta _{2}. \end{aligned}$$

The product of the roots of \(B^{*}\) is \(\frac{m_{0}}{m_{2}}\), which is clearly negative, and the discriminant of Eq. (3) is \(m_{1}^{2}-4 m_{0} m_{2}\), which is also positive since \(m_{0} <0\). Thus Eq. (3) has one positive and one negative root by Vieta’s theorem.

The characteristic equation of system (2) at the endemic equilibrium is

$$\begin{aligned} \lambda ^{3}+p_{2}\lambda ^{2}+p_{1} \lambda +p_{0}+\bigl(q_{2}\lambda ^{2}+q _{1}\lambda +q_{0}\bigr)e^{-\lambda \tau } +(r_{1} \lambda +r_{0})e^{-2 \lambda \tau }=0, \end{aligned}$$
(4)

where

$$\begin{aligned} &p_{0} = a_{1} (a_{6} a_{7} - a_{5} a_{8}) + a_{4} (a_{2} a_{8} -a _{3} a_{7}), \\ &p_{1} = a_{1} (a_{5} + a_{8}) + a_{5} a_{8} - a_{2} a_{4} - a_{6} a _{7}, \\ &p_{2} = -(a_{1} + a_{5} + a_{8}), \\ &q_{0} = a_{4} (a_{2} b_{4} + a_{8} b_{1} - a_{7} b_{2}) -a_{1} (a _{5} b_{4} - a_{8} b_{3}), \\ &q_{1} = b_{3} (a_{1} + a_{8}) + b_{4} (a_{1} + a_{5}) - a_{4} b_{1}, \\ &q_{2} = -(b_{3} + b_{4}), \\ &r_{0} = b_{4} (a_{4} b_{1} -a_{1} b_{3}), \\ &r_{1} = b_{3} b_{4}, \end{aligned}$$

and

$$\begin{aligned} &a_{1} = -\bigl(\beta _{1} L^{*} +\beta _{2} B^{*} +\delta +\theta \bigr),\qquad a_{2} = -\beta _{1} S^{*}, \\ & a_{3} = -\beta _{2} S^{*},\qquad a_{4} = \beta _{1} L^{*} + \beta _{2} B^{*} +\theta , \\ &a_{5} = \beta _{1} S^{*} -(\alpha +\delta ), \qquad a_{6} =\beta _{2} S ^{*}, \\ & a_{7} = \alpha , \qquad a_{8} =-\delta , \qquad b_{1} = \gamma _{1}, \\ & b_{2} = \gamma _{2}, \qquad b_{3} =-\gamma _{1}, \\ &b_{4} = -\gamma _{2}. \end{aligned}$$

For \(\tau =0\), Eq. (4) becomes

$$ \lambda ^{3}+(p_{2}+q_{2})\lambda ^{2}+(p_{1}+q_{1}+r_{1})\lambda +p _{0}+q_{0}+r_{0}=0. $$
(5)

Lemma 2.1

When \(\tau =0\), all the roots of Eq. (5) have negative real parts, and the endemic point \(E^{*}(S^{*}, L^{*}, B^{*})\) of system (2) is locally asymptotically stable (LAS).

Multiplying both sides of Eq. (4) by \(e^{\lambda \tau }\), we obtain

$$\begin{aligned} q_{2}\lambda ^{2}+q_{1}\lambda +q_{0}+ \bigl(\lambda ^{3}+p_{2}\lambda ^{2}+p _{1}\lambda +p_{0}\bigr)e^{\lambda \tau } +(r_{1} \lambda +r_{0})e^{-\lambda \tau }=0. \end{aligned}$$
(6)

For \(\tau >0\), let \(\lambda =i\omega \) (\(\omega >0\)) be the root of Eq. (6). Then

$$\begin{aligned} \bigl(p_{0} +r_{0} -p_{2} \omega ^{2} \bigr) \cos {\tau \omega } -\bigl((p_{1} -r_{1}) \omega - \omega ^{3}\bigr) \sin {\tau \omega } = & q_{2} \omega ^{2} -q_{0}, \\ \bigl(p_{0} -r_{0} -p_{2} \omega ^{2} \bigr) \sin {\tau \omega } +\bigl((p_{1} +r_{1}) \omega - \omega ^{3}\bigr) \cos {\tau \omega } = & -q_{1} \omega . \end{aligned}$$

Thus

$$\begin{aligned} \begin{aligned}&\cos {\tau \omega } = \frac{s_{14} \omega ^{4} +s_{12} \omega ^{2} +s _{10}}{\omega ^{6} +s_{04} \omega ^{4} +s_{02} \omega ^{2} +s_{00}}, \\ & \sin {\tau \omega } = \frac{s_{15} \omega ^{5} +s_{13} \omega ^{3} +s_{11} \omega }{\omega ^{6} +s_{04} \omega ^{4} +s_{02} \omega ^{2} +s_{00}}, \end{aligned} \end{aligned}$$
(7)

where

$$\begin{aligned} &s_{00} = p_{0}^{2} -r_{0}^{2}, \qquad s_{02} = p_{1}^{2} -r_{1}^{2} -2 p_{0} p_{2}, \qquad s_{04} = p_{2}^{2} -2 p_{1}, \qquad s_{10} = -(p _{0} -r_{0}) q_{0}, \\ &s_{12} = (p_{0} -r_{0}) q_{2} -(p_{1} -r_{1}) q_{1} +p_{2} q_{0},\qquad s_{14} = q_{1} -p_{2} q_{2}, \\ & s_{11} = (p_{1} +r_{1}) q _{0} -(p_{0} +r_{0}) q_{1}, \\ &s_{13} = p_{2} q_{1} -q_{0} -(p_{1} +r_{1}) q_{2},\qquad s_{15} = q _{2}. \end{aligned}$$

Therefore we obtain the equation

$$ \omega ^{12} +s_{5} \omega ^{10} +s_{4} \omega ^{8} +s_{3} \omega ^{6} +s _{2} \omega ^{4} +s_{1} \omega ^{2} +s_{0}=0 $$
(8)

with

$$\begin{aligned} &s_{0} = s_{00}^{2} -s_{10}^{2}, \\ &s_{1} = 2 (s_{00} s_{02} -s_{10} s_{12}) -s_{11}^{2}, \\ &s_{2} = s_{02}^{2} -s_{12}^{2} + 2 (s_{00} s_{04} - s_{10} s_{14} - s_{11} s_{13}), \\ &s_{3} = 2 (s_{00} + s_{02} s_{04} - s_{12} s_{14} - s_{11} s_{15}) -s _{13}^{2}, \\ &s_{4} = s_{04}^{2} -s_{14}^{2} +2 (s_{02} - s_{13} s_{15}), \\ &s_{5} = 2 s_{04} -s_{15}^{2}. \end{aligned}$$

Now we have \((H_{1})\): Eq. (8) has at least one positive root \(\omega _{0}\). Thus from Eq. (7) we have

$$\begin{aligned} \tau _{0} = \frac{1}{\omega _{0}} \cos ^{-1} \biggl\lbrace { \frac{s_{14} \omega _{0}^{4} + s_{12} \omega _{0}^{2} +s_{10}}{\omega _{0}^{6} +s_{04} \omega _{0}^{4} + s_{02} \omega _{0}^{2} +s_{00}}} \biggr\rbrace . \end{aligned}$$

Differentiating Eq. (6) with respect to τ, we obtain

$$\begin{aligned} \biggl[ \frac{d\lambda }{d\tau } \biggr]^{-1} &= \frac{2 q_{2} \lambda + q_{1} + (3 \lambda ^{2} + 2 p_{2} \lambda +p_{1}) e^{\lambda \tau } +r_{1} e^{-\lambda \tau }}{(r_{1} \lambda ^{2} + r_{0} \lambda ) e^{-\lambda \tau } -(\lambda ^{4} + p_{2} \lambda ^{3} +p_{1} \lambda ^{2} +p_{0} \lambda ) e^{\lambda \tau }} - \frac{\tau }{\lambda }. \end{aligned}$$

Thus we get

$$\begin{aligned} \Re \biggl[ \frac{d\lambda }{d\tau } \biggr]^{-1}_{\tau =\tau _{0}} = \frac{P_{R} Q_{R} +P_{I} Q_{I}}{Q_{R}^{2} +Q_{I}^{2}}, \end{aligned}$$

where

$$\begin{aligned} &P_{R} = \bigl(p_{1} + r_{1} -3 \omega _{0}^{2}\bigr) \cos \tau _{0} \omega _{0} -2 p_{2} \omega _{0} \sin \tau _{0} \omega _{0} +q_{1}, \\ &P_{I} = \bigl(p_{1} -r_{1} -3 \omega _{0}^{2}\bigr) \sin \tau _{0} \omega _{0} +2 p_{2} \omega _{0} \cos \tau _{0} \omega _{0} + 2 q_{2} \omega _{0}, \\ &Q_{R} = \bigl(p_{1} \omega _{0}^{2} -r_{1} \omega _{0}^{2} -\omega _{0}^{4}\bigr) \cos \tau _{0} \omega _{0} -\bigl(p_{2} \omega _{0}^{3} -p_{0} \omega _{0} +r _{0} \omega _{0}\bigr) \sin \tau _{0} \omega _{0}, \\ &Q_{I} = \bigl(p_{1} \omega _{0}^{2} +r_{1} \omega _{0}^{2} -\omega _{0}^{4}\bigr) \sin \tau _{0} \omega _{0} +\bigl(p_{2} \omega _{0}^{3} -p_{0} \omega _{0} + r _{0} \omega _{0}\bigr) \cos \tau _{0} \omega _{0}. \end{aligned}$$

The transversality condition holds if \((H_{2})\): \(P_{R} Q_{R} +P_{I} Q _{I}\neq 0\). We have the following result [25].

Theorem 2.2

Let an endemic point \(E^{*}\) of system (2) exist, and let conditions \((H_{1})\) and \((H_{2})\) be satisfied. Then it is LAS at \(\tau \in [0,\tau _{0})\) and unstable for \(\tau > \tau _{0}\). Furthermore, system (2) undergoes Hopf bifurcation at \(E^{*}\) when \(\tau =\tau _{0}\), and a family of periodic solutions bifurcate from \(E^{*} (S^{*}, L^{*}, B^{*})\) near \(\tau =\tau _{0}\).

3 Global stability analysis

This section deals with the nonlinear or global stability analysis by constructing suitable Lyapunov function for the endemic equilibrium point of the delayed model system (2).

Theorem 3.1

If \(\min \{l_{1}, l_{2}, l_{3} \} > 0\) with

$$\begin{aligned} \begin{aligned}&l_{1} = \frac{1}{M_{1} S^{*}} \bigl(\mu _{1} + \gamma _{1} L^{*} +\gamma _{2} B^{*} \bigr) - \biggl( 1+ \frac{\gamma _{1} M_{2} \tau }{m_{2}} \biggr) \biggl( \beta _{1} + \frac{\beta _{2} B^{*}}{m_{2}}+ \frac{\theta }{m _{2}} \biggr), \\ &l_{2} = \biggl(\beta _{1} -\frac{\gamma _{1}}{m_{1}} \biggr) - \frac{2 \gamma _{1}^{2} M_{2} \tau }{m_{2}^{2}} +\frac{1}{L^{*}} \biggl( \frac{1}{M _{2}}- \frac{\gamma _{1} M_{2} \tau }{m_{2}^{2}} \biggr) \bigl(\mu _{2} +\beta _{2} B^{*} S^{*} +\theta S^{*}\bigr) \\ &\hphantom{l_{2} =}{} -\frac{\alpha }{m_{3}} \biggl( 1+\frac{ \gamma _{2} M_{3} \tau }{m_{3}} \biggr), \\ &l_{3} = \biggl( \frac{\gamma _{2}}{m_{1}}-\beta _{2} \biggr) + \frac{ \beta _{2} M_{1}}{m_{2}} \biggl(1+ \frac{\gamma _{1} M_{2} \tau }{m_{2}} \biggr) - \frac{\alpha L^{*}}{B ^{*}} \biggl( \frac{1}{M_{3}}- \frac{\gamma _{2} M_{3} \tau }{m_{3}^{2}} \biggr)+\frac{2 \gamma _{2} ^{2} M_{3} \tau }{m_{3}^{2}}, \end{aligned} \end{aligned}$$
(9)

where \(m_{1}< S(t)< M_{1}\), \(m_{2}< L(t)< M_{2}\), and \(m_{3}< B(t)< M_{3}\) for \(t>0\), then the endemic equilibrium \(E^{*}(S^{*},L^{*},B^{*})\) of system (2) is globally asymptotically stable (GAS).

Proof

First, we construct a proper Lyapunov function to derive a sufficient condition that guarantees that the endemic point \(E^{*}\) of the model system (2) is globally asymptotically stable. Let

$$\begin{aligned} S(t)=S^{*} e^{u(t)},\qquad L(t)=L^{*} e^{v(t)},\qquad B(t)=B^{*} e^{w(t)}. \end{aligned}$$
(10)

Now the endemic equilibrium \(E^{*}\) transforms into trivial equilibrium \(u(t)=v(t)=w(t)=0\) for all \(t>0\). Thus system (2) is reduced as follows:

$$\begin{aligned} &\frac{du}{dt} = -\frac{1}{S} \bigl(\mu _{1} +\gamma _{1} L^{*} +\gamma _{2} B ^{*}\bigr) \bigl(e^{u(t)}-1\bigr) -\beta _{1} L^{*} \bigl(e^{v(t)} -1\bigr) -\beta _{2} B^{*} \bigl(e ^{w(t)}-1\bigr) \\ &\hphantom{\frac{du}{dt} =} +\gamma _{1} \frac{L^{*}}{S} \bigl(e^{v(t-\tau )} -1\bigr) +\gamma _{2} \frac{B ^{*}}{S} \bigl(e^{w(t-\tau )} - 1 \bigr), \end{aligned}$$
(11)
$$\begin{aligned} &\frac{dv}{dt} = S^{*} \biggl( \beta _{1} +\beta _{2} B^{*} S^{*}+ \frac{ \theta }{L} \biggr) \bigl(e^{u(t)}-1\bigr) - \frac{1}{L} \bigl(\mu _{2} + \beta _{2} B ^{*} S^{*} -\gamma _{1} L^{*} +\theta S^{*}\bigr) \bigl(e^{v(t)} -1\bigr) \\ &\hphantom{\frac{dv}{dt} =}+\beta _{2} \frac{B^{*} S(t)}{L}\bigl(e^{w(t)} -1 \bigr) -\gamma _{1} \frac{L ^{*}}{L} \bigl(e^{v(t-\tau )}-1\bigr), \end{aligned}$$
(12)
$$\begin{aligned} &\frac{dw}{dt} = \alpha \frac{L^{*}}{B} \bigl(e^{v(t)} -1\bigr) -\alpha \frac{L ^{*}}{B} \bigl(e^{w(t)}-1\bigr) -\gamma _{2} \frac{B^{*}}{B} \bigl(e^{w(t-\tau )}- 1\bigr) +\gamma _{2} \frac{B^{*}}{B} \bigl(e^{w(t)}-1\bigr). \end{aligned}$$
(13)

Let \(V_{1}(t)=|u(t)|\). Now calculate the derivative of \(V_{1}(t)\) with the solution of (2). It follows from Eq. (11) that

$$\begin{aligned} D^{+}{V_{1}} \leq{} & -\frac{1}{M_{1}} \bigl(\mu _{1} +\gamma _{1} L^{*} + \gamma _{2} B^{*}\bigr) \bigl\vert e^{u(t)}-1 \bigr\vert -\beta _{1} L^{*} \bigl\vert e^{v(t)} -1 \bigr\vert - \beta _{2} B^{*} \bigl\vert e^{w(t)}-1 \bigr\vert \\ & {}+\gamma _{1} \frac{L^{*}}{m_{1}} \bigl\vert e^{v(t-\tau )} -1 \bigr\vert +\gamma _{2} \frac{B ^{*}}{m_{1}} \bigl\vert e^{w(t-\tau )} - 1 \bigr\vert . \end{aligned}$$
(14)

Again, due to form of (14), we consider the functional

$$\begin{aligned} V_{11}(t) \leq & V_{1}(t) +\frac{\gamma _{1} L^{*}}{m_{1}} \int _{t- \tau }^{t} \bigl\vert e^{v(s)} -1 \bigr\vert \,ds +\frac{\gamma _{2} B^{*}}{m_{1}} \int _{t- \tau }^{t} \bigl\vert e^{w(s)} - 1 \bigr\vert \,ds, \end{aligned}$$

whose derivative along the solution of system (2) is given by

$$\begin{aligned} D^{+}V_{11}(t) \leq {}& D^{+}V_{1}(t) + \frac{\gamma _{1} L^{*}}{m_{1}} \bigl( \bigl\vert e ^{v(t)}-1 \bigr\vert - \bigl\vert e^{v(t-\tau )}-1 \bigr\vert \bigr) \\ &{} +\frac{\gamma _{2} B^{*}}{m_{1}} \bigl( \bigl\vert e ^{w(t)} -1 \bigr\vert - \bigl\vert e^{w(t-\tau )} - 1 \bigr\vert \bigr) \\ \leq{} & {-}\frac{1}{M_{1}} \bigl(\mu _{1} +\gamma _{1} L^{*} +\gamma _{2} B^{*}\bigr) \bigl\vert e^{u(t)}-1 \bigr\vert -\beta _{1} L^{*} \bigl\vert e^{v(t)} -1 \bigr\vert \\ &{} -\beta _{2} B^{*} \bigl\vert e^{w(t)}-1 \bigr\vert \\ & {}+\frac{\gamma _{1} L^{*}}{m_{1}} \bigl\vert e^{v(t)}-1 \bigr\vert + \frac{\gamma _{2} B ^{*}}{m_{1}} \bigl\vert e^{w(t)} -1 \bigr\vert \\ ={} & {-}\frac{1}{M_{1}} \bigl(\mu _{1} +\gamma _{1} L^{*} +\gamma _{2} B^{*}\bigr) \bigl\vert e ^{u(t)}-1 \bigr\vert + L^{*} \biggl(\frac{\gamma _{1}}{m_{1}} -\beta _{1} \biggr) \bigl\vert e^{v(t)} -1 \bigr\vert \\ &{} + B^{*} \biggl( \frac{\gamma _{2}}{m_{1}}-\beta _{2} \biggr) \bigl\vert e^{w(t)}-1 \bigr\vert . \end{aligned}$$
(15)

Now Eq. (12) can be written as

$$\begin{aligned} \frac{dv}{dt} ={} & S^{*} \biggl( \beta _{1} + \frac{\beta _{2} B^{*}}{L}+ \frac{ \theta }{L} \biggr) \bigl(e^{u(t)}-1\bigr) - \frac{1}{L} \bigl(\mu _{2} +\beta _{2} B ^{*} S^{*} -\gamma _{1} L^{*} +\theta S^{*} \bigr) \bigl(e^{v(t)} -1\bigr) \\ & {}-\gamma _{1} \frac{L^{*}}{L} \biggl( e^{v(t)}- \int _{t-\tau }^{t}e ^{v(s)}\frac{dv}{ds} \,ds-1 \biggr) +\beta _{2} \frac{B^{*} S(t)}{L}\bigl(e ^{w(t)} -1 \bigr) \\ = {}& S^{*} \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{L}+ \frac{\theta }{L} \biggr) \bigl(e^{u(t)}-1\bigr) - \frac{1}{L} \bigl(\mu _{2} +\beta _{2} B^{*} S ^{*} - \gamma _{1} L^{*} +\theta S^{*}\bigr) \bigl(e^{v(t)} -1\bigr) \\ & {}-\gamma _{1} \frac{L^{*}}{L} \bigl(e^{v(t)}-1\bigr) + \beta _{2} \frac{B^{*} S(t)}{L}\bigl(e^{w(t)} -1\bigr)+\gamma _{1} \frac{L^{*}}{L} \int _{t-\tau }^{t}e^{v(s)}\frac{dv}{ds} \,ds \\ = {}& S^{*} \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{L}+ \frac{\theta }{L} \biggr) \bigl(e^{u(t)}-1\bigr) - \frac{1}{L} \bigl(\mu _{2} +\beta _{2} B^{*} S ^{*}+ \theta S^{*}\bigr) \bigl(e^{v(t)} -1\bigr) \\ &{} +\beta _{2} \frac{B^{*} S(t)}{L}\bigl(e^{w(t)} -1\bigr) + \gamma _{1} \frac{L ^{*}}{L} \int _{t-\tau }^{t}e^{v(s)} \biggl\lbrace S^{*} \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{L}+ \frac{\theta }{L} \biggr) \bigl(e^{u(s)}-1\bigr) \\ & {}- \frac{1}{L} \bigl(\mu _{2} +\beta _{2} B^{*} S^{*} -\gamma _{1} L^{*} + \theta S^{*}\bigr) \bigl(e^{v(s)} -1\bigr) +\beta _{2} \frac{B^{*} S(t)}{L}\bigl(e^{w(s)} -1\bigr) \\ & {} -\gamma _{1} \frac{L^{*}}{L} \bigl(e^{v(s-\tau )}-1 \bigr) \biggr\rbrace \,ds, \end{aligned}$$
(16)

where we used the following relation:

$$\begin{aligned} e^{v(t-\tau )} = e^{v(t)}- \int _{t-\tau }^{t}e^{v(s)}\frac{dv}{ds} \,ds. \end{aligned}$$

Let \(V_{2}(t)=|v(t)|\). Computing the derivative of \(V_{2}(t)\) along the solution of (2), from Eq. (16) it follows that

$$\begin{aligned} D^{+}{V_{2}} \leq {}& S^{*} \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{m _{2}}+ \frac{\theta }{m_{2}} \biggr) \bigl\vert e^{u(t)}-1 \bigr\vert - \frac{1}{M_{2}} \bigl( \mu _{2} + \beta _{2} B^{*} S^{*} +\theta S^{*}\bigr) \bigl\vert e^{v(t)} -1 \bigr\vert \\ & {}+\beta _{2} \frac{B^{*} M_{1}}{m_{2}} \bigl\vert e^{w(t)} -1 \bigr\vert +\gamma _{1} \frac{L ^{*}}{m_{2}} \int _{t-\tau }^{t}e^{v(s)} \biggl\lbrace S^{*} \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{m_{2}} + \frac{\theta }{m_{2}} \biggr) \bigl\vert e^{u(s)}-1 \bigr\vert \\ &{} +\frac{1}{m_{2}} \bigl(\mu _{2} +\beta _{2} B^{*} S^{*} +\gamma _{1} L^{*} +\theta S^{*}\bigr) \bigl\vert e^{v(s)} -1 \bigr\vert +\beta _{2} \frac{B^{*} M_{1}}{m_{2}} \bigl\vert e ^{w(s)} -1 \bigr\vert \\ & {} +\gamma _{1} \frac{L^{*}}{m_{2}} \bigl\vert e^{v(s-\tau )}-1 \bigr\vert \biggr\rbrace \,ds. \end{aligned}$$

We find that there exists \(t_{1}>0\) such that \(L^{*} e^{v(t)} < M_{2}\) for all \(t>t_{1}\), and for \(t>t_{1}+\tau \), we have

$$\begin{aligned} D^{+}V_{2} \leq {}& S^{*} \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{m _{2}}+ \frac{\theta }{m_{2}} \biggr) \bigl\vert e^{u(t)}-1 \bigr\vert - \frac{1}{M_{2}} \bigl( \mu _{2} + \beta _{2} B^{*} S^{*} +\theta S^{*}\bigr) \bigl\vert e^{v(t)} -1 \bigr\vert \\ & {}+\beta _{2} \frac{B^{*} M_{1}}{m_{2}} \bigl\vert e^{w(t)} -1 \bigr\vert +\gamma _{1} \frac{M _{2}}{m_{2}} \int _{t-\tau }^{t} \{ S^{*} \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{m_{2}} + \frac{\theta }{m_{2}} \biggr) \bigl\vert e ^{u(s)}-1 \bigr\vert \\ &{} +\frac{1}{m_{2}} \bigl(\mu _{2} +\beta _{2} B^{*} S^{*} +\gamma _{1} L^{*} +\theta S^{*}\bigr) \bigl\vert e^{v(s)} -1 \bigr\vert +\beta _{2} \frac{B^{*} M_{1}}{m_{2}} \bigl\vert e ^{w(s)} -1 \bigr\vert \\ & {} +\gamma _{1} \frac{L^{*}}{m_{2}} \bigl\vert e^{v(s-\tau )}-1 \bigr\vert \rbrace \,ds. \end{aligned}$$
(17)

Again, due to the form of (17), we consider the functional

$$\begin{aligned} V_{22}(t) \leq {}& V_{2}(t)+\gamma _{1} \frac{M_{2}}{m_{2}} \int _{t- \tau }^{t} \int _{L}^{t} \biggl\lbrace S^{*} \biggl( \beta _{1} +\frac{ \beta _{2} B^{*}}{m_{2}} + \frac{\theta }{m_{2}} \biggr) \bigl\vert e^{u(s)}-1 \bigr\vert \\ &{} +\frac{1}{m_{2}} \bigl(\mu _{2} +\beta _{2} B^{*} S^{*} +\gamma _{1} L^{*} +\theta S^{*} \bigr) \bigl\vert e^{v(s)} -1 \bigr\vert +\beta _{2} \frac{B^{*} M _{1}}{m_{2}} \bigl\vert e^{w(s)} -1 \bigr\vert \\ & {} +\gamma _{1} \frac{L^{*}}{m_{2}} \bigl\vert e^{v(s-\tau )}-1 \bigr\vert \biggr\rbrace \,ds\, dL + \frac{\gamma _{1}^{2} L^{*} M_{2} \tau }{m_{2} ^{2}} \int _{t-\tau }^{t} \bigl\vert e^{v(s)}-1 \bigr\vert \,ds, \end{aligned}$$

whose right derivative along the solution of system (2) is given by

$$\begin{aligned} D^{+}V_{22}(t)\leq{}& D^{+} V_{2}(t)+ \frac{\gamma _{1} M_{2} \tau }{m _{2}} \biggl\lbrace S^{*} \biggl( \beta _{1} + \frac{\beta _{2} B^{*}}{m _{2}} + \frac{\theta }{m_{2}} \biggr) \bigl\vert e^{u(t)}-1 \bigr\vert + \frac{\beta _{2} B^{*} M_{1}}{m_{2}} \bigl\vert e^{w(t)} -1 \bigr\vert \\ &{} + \frac{1}{m_{2}} \bigl(\mu _{2} +\beta _{2} B^{*} S^{*} +\gamma _{1} L^{*} +\theta S^{*}\bigr) \bigl\vert e^{v(t)} -1 \bigr\vert + \frac{\gamma _{1} L^{*}}{m _{2}} \bigl\vert e^{v(t-\tau )}-1 \bigr\vert \biggr\rbrace \\ &{} - \frac{\gamma _{1} M_{2}}{m_{2}} \int _{t-\tau }^{t} \biggl\lbrace S ^{*} \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{m_{2}} + \frac{\theta }{m_{2}} \biggr) \bigl\vert e^{u(s)}-1 \bigr\vert + \frac{\beta _{2} B^{*} M_{1}}{m_{2}} \bigl\vert e ^{w(s)} -1 \bigr\vert \\ & {} +\frac{1}{m_{2}} \bigl(\mu _{2} +\beta _{2} B^{*} S^{*} +\gamma _{1} L^{*} +\theta S^{*}\bigr) \bigl\vert e^{v(s)} -1 \bigr\vert + \frac{\gamma _{1} L^{*}}{m _{2}} \bigl\vert e^{v(s-\tau )}-1 \bigr\vert \biggr\rbrace \,ds \\ &{} +\frac{\gamma _{1}^{2} L^{*} M_{2} \tau }{m_{2}^{2}} \bigl( \bigl\vert e^{v(t)} -1 \bigr\vert - \bigl\vert e^{v(t-\tau )}-1 \bigr\vert \bigr) \\ \leq {}& S^{*} \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{m_{2}}+ \frac{ \theta }{m_{2}} \biggr) \bigl\vert e^{u(t)}-1 \bigr\vert - \frac{1}{M_{2}} \bigl(\mu _{2} + \beta _{2} B^{*} S^{*} +\theta S^{*}\bigr) \bigl\vert e^{v(t)} -1 \bigr\vert \\ &{} + \frac{\beta _{2} B^{*} M_{1}}{m_{2}} \bigl\vert e^{w(t)} -1 \bigr\vert + \frac{\gamma _{1} M_{2} \tau }{m_{2}} \biggl\lbrace S^{*} \biggl( \beta _{1} + \frac{ \beta _{2} B^{*}}{m_{2}} + \frac{\theta }{m_{2}} \biggr) \bigl\vert e^{u(t)}-1 \bigr\vert \\ &{}+ \frac{\beta _{2} B^{*} M_{1}}{m_{2}} \\ & {} \times \bigl\vert e^{w(t)} -1 \bigr\vert + \frac{1}{m_{2}} \bigl(\mu _{2} +\beta _{2} B ^{*} S^{*} +\gamma _{1} L^{*} +\theta S^{*} \bigr) \bigl\vert e^{v(t)} -1 \bigr\vert \biggr\rbrace \\ &{} + \frac{ \gamma _{1}^{2} L^{*} M_{2} \tau }{m_{2}^{2}} \bigl\vert e^{v(t)} -1 \bigr\vert \\ = {}& S^{*} \biggl( 1+ \frac{\gamma _{1} M_{2} \tau }{m_{2}} \biggr) \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{m_{2}}+ \frac{\theta }{m _{2}} \biggr) \bigl\vert e^{u(t)}-1 \bigr\vert +\frac{2\gamma _{1}^{2} L^{*} M_{2} \tau }{m _{2}^{2}} \bigl\vert e^{v(t)} -1 \bigr\vert \\ &{} + \biggl( \frac{\gamma _{1} M_{2} \tau }{m_{2}^{2}} - \frac{1}{M _{2}} \biggr) \bigl(\mu _{2} +\beta _{2} B^{*} S^{*} +\theta S^{*}\bigr) \bigl\vert e^{v(t)} -1 \bigr\vert \\ &{} + \frac{\beta _{2} B^{*} M_{1}}{m_{2}} \biggl(1+ \frac{\gamma _{1} M _{2} \tau }{m_{2}} \biggr) \bigl\vert e^{w(t)} -1 \bigr\vert . \end{aligned}$$
(18)

Now Eq. (13) can be rewritten as

$$\begin{aligned} \frac{dw}{dt} = {}& \alpha \frac{L^{*}}{B} \bigl(e^{v(t)} -1\bigr) -\alpha \frac{L ^{*}}{B} \bigl(e^{w(t)}-1\bigr) -\gamma _{2} \frac{B^{*}}{B} \biggl(e^{w(t)}- \int _{t-\tau }^{t}e^{w(s)}\frac{dw}{ds}\,ds - 1 \biggr) \\ &{} +\gamma _{2} \frac{B^{*}}{B} \bigl(e^{w(t)}-1\bigr) \\ = {}& \alpha \frac{L^{*}}{B} \bigl(e^{v(t)} -1\bigr) -\alpha \frac{L^{*}}{B} \bigl(e ^{w(t)}-1\bigr) +\gamma _{2} \frac{B^{*}}{B} \int _{t-\tau }^{t}e^{w(s)} \frac{dw}{ds} \,ds \\ = {}& \alpha \frac{L^{*}}{B} \bigl(e^{v(t)} -1\bigr) -\alpha \frac{L^{*}}{B} \bigl(e ^{w(t)}-1\bigr) +\gamma _{2} \frac{B^{*}}{B} \int _{t-\tau }^{t}e^{w(s)} \biggl\lbrace \alpha \frac{L^{*}}{B} \bigl(e^{v(s)} -1\bigr) \\ &{} + \biggl(\gamma _{2} \frac{B^{*}}{B} -\alpha \frac{L^{*}}{B} \biggr) \bigl(e^{w(s)}-1\bigr) -\gamma _{2} \frac{B^{*}}{B} \bigl(e ^{w(s-\tau )} - 1\bigr) \biggr\rbrace ds, \end{aligned}$$
(19)

where we used the relation

$$\begin{aligned} e^{w(t-\tau )} = e^{w(t)}- \int _{t-\tau }^{t}e^{w(s)}\frac{dw}{ds} \,ds. \end{aligned}$$

Let \(V_{3}(t)=|w(t)|\). Computing the right derivative of \(V_{3}(t)\) along the solution of (2), from Eq. (19) it follows that

$$\begin{aligned} D^{+} V_{3}(t) = {}& \frac{\alpha L^{*}}{m_{3}} \bigl\vert e^{v(t)} -1 \bigr\vert - \frac{ \alpha L^{*}}{M_{3}} \bigl\vert e^{w(t)}-1 \bigr\vert + \frac{\gamma _{2} B^{*}}{m_{3}} \int _{t-\tau }^{t} e^{w(s)} \biggl\lbrace \frac{\alpha L^{*}}{m_{3}} \bigl\vert e ^{v(s)} -1 \bigr\vert \\ &{} + \biggl( \frac{\gamma _{2} B^{*}}{m_{3}} + \frac{\alpha L ^{*}}{m_{3}} \biggr) \bigl\vert e^{w(s)}-1 \bigr\vert + \frac{\gamma _{2} B^{*}}{m_{3}} \bigl\vert e ^{w(s-\tau )} - 1 \bigr\vert \biggr\rbrace \,ds. \end{aligned}$$

We find that there exists \(t_{1}>0\) such that \(B^{*} e^{w(t)} < M_{3}\) for all \(t>t_{1}\). and for \(t>t_{1}+\tau \), we have

$$\begin{aligned} D^{+} V_{3}(t) \leq{} & \frac{\alpha L^{*}}{m_{3}} \bigl\vert e^{v(t)} -1 \bigr\vert - \frac{ \alpha L^{*}}{M_{3}} \bigl\vert e^{w(t)}-1 \bigr\vert + \frac{\gamma _{2} M_{3}}{m_{3}} \int _{t-\tau }^{t} \biggl\lbrace \frac{\alpha L^{*}}{m_{3}} \bigl\vert e^{v(s)} -1 \bigr\vert \\ &{} + \biggl( \frac{\gamma _{2} B^{*}}{m_{3}} + \frac{\alpha L ^{*}}{m_{3}} \biggr) \bigl\vert e^{w(s)}-1 \bigr\vert + \frac{\gamma _{2} B^{*}}{m_{3}} \bigl\vert e ^{w(s-\tau )} - 1 \bigr\vert \biggr\rbrace \,ds. \end{aligned}$$
(20)

Again, due to the structure of (20), we consider the functional

$$\begin{aligned} V_{33}(t) = {}& V_{3}(t) + \frac{\gamma _{2} M_{3}}{m_{3}} \int _{t-\tau } ^{t} \int _{B}^{t} \biggl\lbrace \frac{\alpha L^{*}}{m_{3}} \bigl\vert e^{v(s)} -1 \bigr\vert + \biggl( \frac{\gamma _{2} B^{*}}{m_{3}} + \frac{\alpha L^{*}}{m_{3}} \biggr) \bigl\vert e^{w(s)}-1 \bigr\vert \\ &{} + \frac{\gamma _{2} B^{*}}{m_{3}} \bigl\vert e^{w(s-\tau )} - 1 \bigr\vert \biggr\rbrace \,ds \,dB +\frac{\gamma _{2}^{2} M_{3} B^{*} \tau }{m_{3} ^{2}} \int _{t-\tau }^{t} \bigl\vert e^{w(s)}-1 \bigr\vert \,ds, \end{aligned}$$

whose upper right derivative along the solution of system (2) is given by

$$\begin{aligned} D^{+} V_{33}(t) \leq {}& D^{+} V_{3}(t) + \frac{\gamma _{2} M_{3} \tau }{m _{3}} \biggl\lbrace \frac{\alpha L^{*}}{m_{3}} \bigl\vert e^{v(t)} -1 \bigr\vert + \biggl( \frac{\gamma _{2} B^{*}}{m_{3}} + \frac{\alpha L^{*}}{m_{3}} \biggr) \bigl\vert e ^{w(t)}-1 \bigr\vert \\ & {} + \frac{\gamma _{2} B^{*}}{m_{3}} \bigl\vert e^{w(t-\tau )} - 1 \bigr\vert \biggr\rbrace - \frac{\gamma _{2} M_{3}}{m_{3}} \int _{t-\tau }^{t} \biggl\lbrace \frac{\alpha L^{*}}{m_{3}} \bigl\vert e^{v(s)} -1 \bigr\vert + \biggl( \frac{ \gamma _{2} B^{*}}{m_{3}} + \frac{\alpha L^{*}}{m_{3}} \biggr) \\ & {} \times \bigl\vert e^{w(s)}-1 \bigr\vert + \frac{\gamma _{2} B^{*}}{m_{3}} \bigl\vert e ^{w(s-\tau )} - 1 \bigr\vert \biggr\rbrace \,ds \\ &{} +\frac{\gamma _{2}^{2} M_{3} B ^{*} \tau }{m_{3}^{2}} \bigl( \bigl\vert e^{w(t)}-1 \bigr\vert - \bigl\vert e^{w(t-\tau )}-1 \bigr\vert \bigr) \\ \leq {}& \frac{\alpha L^{*}}{m_{3}} \bigl\vert e^{v(t)} -1 \bigr\vert - \frac{\alpha L^{*}}{M _{3}} \bigl\vert e^{w(t)}-1 \bigr\vert \\ &{}+ \frac{\gamma _{2} M_{3} \tau }{m_{3}} \biggl\lbrace \frac{ \alpha L^{*}}{m_{3}} \bigl\vert e^{v(t)} -1 \bigr\vert + \biggl( \frac{\gamma _{2} B^{*}}{m _{3}} + \frac{\alpha L^{*}}{m_{3}} \biggr) \bigl\vert e^{w(t)}-1 \bigr\vert \biggr\rbrace \\ & {}+\frac{\gamma _{2}^{2} M_{3} B^{*} \tau }{m_{3}^{2}} \bigl\vert e^{w(t)}-1 \bigr\vert \\ ={} & \frac{\alpha L^{*}}{m_{3}} \biggl( 1+\frac{\gamma _{2} M_{3} \tau }{m_{3}} \biggr) \bigl\vert e^{v(t)} -1 \bigr\vert - \alpha L^{*} \biggl( \frac{1}{M _{3}}-\frac{\gamma _{2} M_{3} \tau }{m_{3}^{2}} \biggr) \bigl\vert e^{w(t)}-1 \bigr\vert \\ &{}+\frac{2 \gamma _{2}^{2} M_{3} B^{*} \tau }{m_{3}^{2}} \bigl\vert e^{w(t)}-1 \bigr\vert . \end{aligned}$$
(21)

Let us define the Lyapunov functional

$$ V(t)=V_{11}(t)+V_{22}(t)+V_{33}> \bigl\vert u(t) \bigr\vert + \bigl\vert v(t) \bigr\vert + \bigl\vert w(t) \bigr\vert . $$

Computing the upper right derivative of \(V(t)\) along the solution of the system (2),] and using (15), (18), and (21), we obtain

$$\begin{aligned} D^{+}V(t) = {}& D^{+}V_{11}(t)+D^{+}V_{22}(t)+D^{+}V_{33}(t) \\ \leq {}& {-}\frac{1}{M_{1}} \bigl(\mu _{1} +\gamma _{1} L^{*} +\gamma _{2} B^{*}\bigr) \bigl\vert e^{u(t)}-1 \bigr\vert + L^{*} \biggl(\frac{\gamma _{1}}{m_{1}} - \beta _{1} \biggr) \bigl\vert e^{v(t)} -1 \bigr\vert \\ &{} + B^{*} \biggl( \frac{\gamma _{2}}{m_{1}}-\beta _{2} \biggr) \bigl\vert e^{w(t)}-1 \bigr\vert + S^{*} \biggl( 1+ \frac{\gamma _{1} M_{2} \tau }{m_{2}} \biggr) \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{m_{2}}+ \frac{ \theta }{m_{2}} \biggr) \bigl\vert e^{u(t)}-1 \bigr\vert \\ &{} +\frac{2\gamma _{1}^{2} L^{*} M_{2} \tau }{m_{2}^{2}} \bigl\vert e^{v(t)} -1 \bigr\vert + \biggl( \frac{\gamma _{1} M_{2} \tau }{m_{2}^{2}} - \frac{1}{M_{2}} \biggr) \bigl( \mu _{2} +\beta _{2} B^{*} S^{*} +\theta S^{*}\bigr) \bigl\vert e^{v(t)} -1 \bigr\vert \\ &{} +\frac{\beta _{2} B^{*} M_{1}}{m_{2}} \biggl(1+ \frac{\gamma _{1} M _{2} \tau }{m_{2}} \biggr) \bigl\vert e^{w(t)} -1 \bigr\vert + \frac{\alpha L^{*}}{m_{3}} \biggl( 1+ \frac{\gamma _{2} M_{3} \tau }{m _{3}} \biggr) \bigl\vert e^{v(t)} -1 \bigr\vert \\ &{} - \alpha L^{*} \biggl( \frac{1}{M_{3}}-\frac{\gamma _{2} M_{3} \tau }{m_{3}^{2}} \biggr) \bigl\vert e^{w(t)}-1 \bigr\vert +\frac{2 \gamma _{2}^{2} M_{3} B^{*} \tau }{m_{3}^{2}} \bigl\vert e^{w(t)}-1 \bigr\vert \\ ={} & {-}S^{*} \biggl\lbrace \frac{\mu _{1} +\gamma _{1} L^{*} +\gamma _{2} B^{*}}{M_{1} S^{*}} - \biggl( 1+ \frac{\gamma _{1} M_{2} \tau }{m_{2}} \biggr) \biggl( \beta _{1} +\frac{\beta _{2} B^{*}}{m_{2}}+ \frac{ \theta }{m_{2}} \biggr) \biggr\rbrace \bigl\vert e^{u(t)}-1 \bigr\vert \\ &{} -L^{*} \biggl\lbrace \biggl(\beta _{1} - \frac{\gamma _{1}}{m_{1}} \biggr) -\frac{2\gamma _{1}^{2} M_{2} \tau }{m_{2}^{2}} +\frac{1}{L ^{*}} \biggl( \frac{1}{M_{2}}- \frac{\gamma _{1} M_{2} \tau }{m_{2}^{2}} \biggr) \bigl(\mu _{2} +\beta _{2} B^{*} S^{*} +\theta S^{*}\bigr) \\ & {} - \frac{\alpha }{m_{3}} \biggl( 1+\frac{\gamma _{2} M_{3} \tau }{m_{3}} \biggr) \biggr\rbrace \bigl\vert e^{v(t)} -1 \bigr\vert - B^{*} \biggl\lbrace \biggl( \frac{\gamma _{2}}{m_{1}}-\beta _{2} \biggr) + \frac{ \beta _{2} M_{1}}{m_{2}} \biggl(1+ \frac{\gamma _{1} M_{2} \tau }{m_{2}} \biggr) \\ & {} - \frac{\alpha L^{*}}{B^{*}} \biggl( \frac{1}{M_{3}}-\frac{ \gamma _{2} M_{3} \tau }{m_{3}^{2}} \biggr)+\frac{2 \gamma _{2}^{2} M _{3} \tau }{m_{3}^{2}} \biggr\rbrace \bigl\vert e^{w(t)}-1 \bigr\vert \\ = {}& {-}S^{*} l_{1} \bigl\vert e^{u(t)}-1 \bigr\vert -L^{*} l_{2} \bigl\vert e^{v(t)} -1 \bigr\vert - B^{*} l _{3} \bigl\vert e^{w(t)}-1 \bigr\vert , \end{aligned}$$

where \(l_{1}\), \(l_{2}\), and \(l_{3}\) are defined in (9).

Since the model system (2) is positive invariant, for all \(t>t_{1}^{*}\), we have

$$\begin{aligned} &S^{*}e^{u(t)}=S(t)>\underline{S},\\ & L^{*}e^{v(t)}=L(t)> \underline{L}, \\ & B^{*}e^{w(t)}=B(t)>\underline{B}. \end{aligned}$$

Using the mean value theorem, we have

$$\begin{aligned} &S^{*} \bigl\vert e^{u(t)}-1 \bigr\vert = S^{*}e^{\theta _{1}(t)} \bigl\vert u(t) \bigr\vert >m_{1} \bigl\vert u(t) \bigr\vert , \\ &L ^{*} \bigl\vert e^{v(t)}-1 \bigr\vert = L^{*}e^{\theta _{2}(t)} \bigl\vert v(t) \bigr\vert >m_{2} \bigl\vert v(t) \bigr\vert , \\ &B^{*} \bigl\vert e^{w(t)}-1 \bigr\vert = B^{*}e^{\theta _{3}(t)} \bigl\vert w(t) \bigr\vert >m_{3} \bigl\vert w(t) \bigr\vert , \end{aligned}$$

where \(S^{*}e^{\theta _{1}(t)}\) lies between \(S^{*}\) and \(S(t)\), \(L^{*}e^{\theta _{2}(t)}\) lies between \(L^{*}\) and \(L(t)\), and \(B^{*}e^{\theta _{3}(t)}\) lies between \(B^{*}\) and \(B(t)\). Therefore

$$\begin{aligned} D^{+}V(t) &\leq -l_{1} \underline{S} \bigl\vert u(t) \bigr\vert - l_{2} \underline{L} \bigl\vert v(t) \bigr\vert - l_{3} \underline{B} \bigl\vert w(t) \bigr\vert \\ &\leq - l \bigl( \bigl\vert u(t) \bigr\vert + \bigl\vert v(t) \bigr\vert + \bigl\vert w(t) \bigr\vert \bigr), \quad \text{where } l = \min \lbrace l_{1} \underline{S},l_{2} \underline{L},l_{3} \underline{B} \rbrace . \end{aligned}$$
(22)

Note that \(V(t)>|u(t)|+|v(t)|+|w(t)|\). Hence from theory of global stability and Eq. (22) we conclude that the zero solution of the reduced system (11)–(13) is GAS. Therefore the endemic equilibrium \(E^{*}\) of model system (2) is GAS. □

4 Stability and direction of Hopf bifurcation

In this section, we discuss the stability and direction of Hopf bifurcation using theory of normal form and center manifold [40] of the delayed system (2). Let \(x_{1}=S-S^{*}\), \(x_{2}=I-I^{*}\), \(x _{3}=T-T^{*}\), and \({x_{i}}(t)=x_{i}(\tau t)\) for \(i=1,2,3\). Then the delay system (2) is converted to the following functional differential equation in \(\mathbb{C}=\mathbb{C}([-1,0],\mathbb{R} ^{3})\):

$$\begin{aligned} \dot{x} = L_{\mu } (x_{t}) + F(\mu ,x_{t}), \end{aligned}$$
(23)

where \(x(t)={(x_{1}(t),x_{2}(t),x_{3}(t))^{T}}\in \mathbb{C}\), \(x_{t}( \theta )=x(t+\theta )\), \(\theta \in [-1,0]\), and \(L_{\mu }:\mathbb{C} \rightarrow \mathbb{R}^{3}\), \(F:\mathbb{R} \times \mathbb{C} \rightarrow \mathbb{R}^{3}\) are given by

$$\begin{aligned} { L_{\mu }(\phi )=(\tau _{0}+\mu )\bigl[J_{1}\phi (0)+J_{2}\phi (-1)\bigr]} \end{aligned}$$
(24)

with

J 1 = ( a 1 a 2 a 3 a 4 a 5 a 6 0 a 7 a 8 ) , J 2 = ( 0 b 1 b 2 0 b 3 0 0 0 b 4 ) , f ( μ , ϕ ) = ( τ 0 + μ ) ( ϕ 1 ( 0 ) ( β 1 ϕ 2 ( 0 ) + β 2 ϕ 3 ( 0 ) ) ϕ 1 ( 0 ) ( β 1 ϕ 2 ( 0 ) + β 2 ϕ 3 ( 0 ) ) 0 ) .
(25)

By the Riesz representation theorem there exists a \(3 \times 3\) matrix-valued function \(\eta (\theta ,\mu )\) with components of bounded variation for \(\theta \in [-1,0]\) such that

$$\begin{aligned} L_{\mu }{\phi }= \int _{-1}^{0}\,d\eta (\theta ,\mu ) \phi (\theta ), \quad \forall \phi \in \mathbb{C}. \end{aligned}$$

By considering Eq. (24) we can choose

$$\begin{aligned} \eta (\theta ,\mu )=(\tau _{0}+\mu )\bigl[J_{1}\delta ( \theta )+J_{2}\delta (\theta +1)\bigr], \end{aligned}$$

where \(\delta (\theta )\) is the Dirac delta function.

For \(\phi \in \mathbb{C}^{1}([-1,0], \mathbb{R}^{3})\), define

$$\begin{aligned} A(\mu )\phi (\theta ) =\textstyle\begin{cases} {\frac{d \phi (\theta )}{d \theta } },& \theta \in [-1,0), \\ \int _{-1}^{0}\,d\eta (s,\mu ) \phi (s) = L_{\mu }\phi , & \theta = 0, \end{cases}\displaystyle \end{aligned}$$
(26)

and

$$\begin{aligned} R(\mu ) \phi (\theta ) = \textstyle\begin{cases} 0, & \theta \in [-1,0), \\ F(\mu , \phi ),& \theta =0. \end{cases}\displaystyle \end{aligned}$$

Now system (23) becomes

$$\begin{aligned} \dot{x}_{t}=A(\mu )x_{t}+R(\mu )x_{t}, \end{aligned}$$
(27)

where \(x_{t}(\theta )=x(t+\theta )\) for \(\theta \in [-1,0]\).

For \(\psi \in \mathbb{C}^{1}([0,1],(\mathbb{R}^{3})^{*})\), define

$$\begin{aligned} A^{*}(\mu ) \psi (s) = \textstyle\begin{cases} - \frac{d \psi (s)}{d s}, & s \in (0,1], \\ \int _{-1}^{0} d {\eta }(t,0) \psi (-t) , & s=0, \end{cases}\displaystyle \end{aligned}$$

and the bilinear inner product

$$\begin{aligned} \bigl\langle \psi (s) ,\phi (\theta ) \bigr\rangle ={} & \bar{\psi } (0). \phi (0) - \int _{\theta = -1}^{0} \int _{\xi = 0}^{\theta } \bar{\psi }^{T} ( \xi - \theta )\,d\eta (\theta ) \phi (\xi )\,d\xi , \end{aligned}$$
(28)

where \(\eta (\theta )=\eta (\theta ,0)\). Thus \(A(0)\) and \(A^{*}(0)\) are adjoint operators, and \(\pm i\omega _{0} \tau _{0}\) are their eigenvalues of \(A(0)\). Let \(v(\theta )=(1,v_{1},v_{2})^{T} e ^{i\omega _{0}\tau _{0}\theta }\) and \(v^{*}(s)=P(1,v_{1}^{*},v_{2}^{*})^{T}e ^{i\omega _{0}\tau _{0} s}\) be the eigenvectors of \(A(0)\) and \(A^{*}(0)\) at \(\theta =0\) corresponding to the eigenvalues \(i\omega _{0}\tau _{0}\) and \(-i\omega _{0}\tau _{0}\) respectively.

Thus we obtain

$$\begin{aligned} &v_{1} = \frac{a_{4} (a_{8} +b_{4} e^{-i \omega _{0} \tau _{0}} - i \omega _{0})}{a_{6} a_{7} -(a_{5} +b_{3} e^{-i \omega _{0} \tau _{0}} - i \omega _{0}) (a_{8} +b_{4} e^{-i \omega _{0} \tau _{0}} - i \omega _{0})}, \\ & v_{2} = \frac{-a_{7} v_{1}}{a_{8} +b_{4} e^{-i \omega _{0} \tau _{0}}-i \omega _{0}}, \\ &v_{1}^{*} = -\frac{a_{1} +i \omega _{0}}{a_{4}}, \\ & v_{2}^{*} = -\frac{a _{2} + b_{1} e^{i \omega _{0} \tau _{0}} +(a_{5} +b_{3} e^{i \omega _{0} \tau _{0}} +i \omega _{0}) v_{1}^{*}}{a_{7}}. \end{aligned}$$

From Eq. (28) we have

$$\begin{aligned} \bigl\langle v^{*}(s),v(\theta )\bigr\rangle ={} & \bar{P} \bigl\lbrace \bigl(1+v_{1} \bar{v _{1}}^{*} + v_{2} \bar{v_{2}}^{*}\bigr) + \tau _{0} \bigl(v_{1} \bigl(b_{1}+ b_{3} \bar{v _{1}}^{*}\bigr) + v_{2} \bigl(b_{2} +b_{4} \bar{v_{2}}^{*}\bigr)\bigr) e^{-i\omega _{0}\tau _{0}} \bigr\rbrace . \end{aligned}$$

Using the normalization condition \(\langle v^{*}(s),v(\theta )\rangle =1\), we obtain

$$\begin{aligned} \bar{P} = & \bigl[\bigl(1+v_{1} \bar{v_{1}}^{*} + v_{2} \bar{v_{2}}^{*}\bigr) + \tau _{0} \bigl(v_{1} \bigl(b_{1}+ b_{3} \bar{v_{1}}^{*}\bigr) + v_{2} \bigl(b_{2} +b_{4} \bar{v _{2}}^{*}\bigr)\bigr) e^{-i\omega _{0}\tau _{0}} \bigr]^{-1}. \end{aligned}$$

By the same method we can easily prove that \(\langle v^{*}, \bar{v} \rangle =0\), thus omitting it. Now we obtain v and \(v^{*}\).

Following the same steps as in [40], we obtain the following expressions:

$$\begin{aligned} \begin{aligned}&g_{20} = 2 \tau _{0} \bar{P} \bigl(\bar{v_{1}^{*}}-1 \bigr) (\beta _{1} v_{1} + \beta _{2} v_{2}) , \\ &g_{11} = 2 \tau _{0} \bar{P} \bigl(\bar{v_{1}^{*}}-1 \bigr) \bigl(\beta _{1} (v_{1}+\bar{v _{1}}) + \beta _{2} (v_{2}+\bar{v_{2}})\bigr), \\ &g_{02} = 2 \tau _{0} \bar{P} \bigl(\bar{v_{1}^{*}}-1 \bigr) (\beta _{1} \bar{v _{1}} + \beta _{2} \bar{v_{2}}), \\ &g_{21} = \tau _{0} \bar{P} \bigl(\bar{v_{1}^{*}}-1 \bigr) ((\beta _{1} \bar{v _{1}}+ \beta _{2} \bar{v_{2}}) W_{20}^{(1)}(0) +2 (\beta _{1} v_{1} + \beta _{2} v_{2}) W_{11}^{(1)}(0) \\ &\hphantom{g_{21} =}{} +\beta _{1} \bigl(W_{20}^{(2)}(0) + 2W_{11} ^{(2)}(0)\bigr) +\beta _{2} \bigl( W_{20}^{(3)}(0) +2W_{11}^{(3)}(0)\bigr) \end{aligned} \end{aligned}$$
(29)

with

$$\begin{aligned} \begin{aligned}&W_{20}(\theta ) = \frac{ig_{20}}{\omega _{0} \tau _{0}} v(\theta )+\frac{i \bar{g}_{02}}{3\omega _{0} \tau _{0}} \bar{v} ( \theta )+E_{1} e^{2 i \omega _{0} \tau _{0} \theta }, \\ &W_{11}(\theta ) = -\frac{i g_{11}}{\omega _{0} \tau _{0}} v(\theta )+ \frac{i {\bar{g}}_{11}}{\omega _{0} \tau _{0}} \bar{v} ( \theta )+E_{2}, \end{aligned} \end{aligned}$$
(30)

where \(E_{1} = (E_{1}^{(1)}, E_{1}^{(2)}, E_{1}^{(3)})^{T}\) and \(E_{2}=(E^{(1)}_{2}, E^{(2)}_{2}, E^{(3)}_{2})^{T} \in \mathbb{R}^{3}\) are further given constant vectors.

Solving this system for \(E_{1}\), we obtain

E 1 ( 1 ) = 2 A ˜ | h 1 a 2 b 1 e 2 i ω 0 τ 0 h 2 h 1 2 i ω 0 a 5 b 3 e 2 i ω 0 τ 0 a 6 0 a 7 h 3 | , E 1 ( 2 ) = 2 A ˜ | 2 i ω 0 a 1 h 1 h 2 a 4 h 1 a 6 0 0 h 3 | , E 1 ( 3 ) = 2 A ˜ | 2 i ω 0 a 1 a 2 b 1 e 2 i ω 0 τ 0 h 1 a 4 2 i ω 0 a 5 b 3 e 2 i ω 0 τ 0 h 1 0 a 7 0 | , A ˜ = | 2 i ω 0 a 1 a 2 b 1 e 2 i ω 0 τ 0 h 2 a 4 2 i ω 0 a 5 b 3 e 2 i ω 0 τ 0 a 6 0 a 7 h 3 | ,

with

h 1 = β 1 v 1 + β 2 v 2 , h 2 = a 3 b 2 e 2 i ω 0 τ 0 , h 3 = 2 i ω 0 a 8 b 4 e 2 i ω 0 τ 0 . E 2 ( 1 ) = 2 B ˜ | h 4 a 2 + b 1 a 3 + b 2 h 4 a 5 + b 3 a 6 0 a 7 a 8 + b 4 | , E 2 ( 2 ) = 2 B ˜ | a 1 h 4 a 3 + b 2 a 4 h 4 a 6 0 0 a 8 + b 4 | , E 2 ( 3 ) = 2 B ˜ | a 1 a 2 + b 1 h 4 a 4 a 5 + b 3 h 4 0 a 7 0 | , B ˜ = | a 1 a 2 + b 1 a 3 + b 2 a 4 a 5 + b 3 a 6 0 a 7 a 8 + b 4 | ,

with

$$\begin{aligned} &h_{4} = \beta _{1} \Re \{v_{1}\} + \beta _{2} \Re \{v_{2}\}. \end{aligned}$$

Thus we can compute the following values:

$$\begin{aligned} &c_{1}(0) = \frac{i}{2 \omega _{0} \tau _{0}} \biggl( g_{20} g_{11} - 2 \vert g_{11} \vert ^{2} - \frac{ \vert g_{02} \vert ^{2}}{3} \biggr) + \frac{g_{21}}{2}, \\ &\mu = -\frac{\Re \{c_{1}(0)\}}{\Re \{\lambda ^{\prime } (\tau _{0})\}}, \\ &\beta = 2 \Re \bigl\{ c_{1}(0)\bigr\} , \\ &T= -\frac{\Im \{c_{1}(0)\} + \mu _{2} \Im \{\lambda ^{\prime }(\tau _{0})\}}{ \omega _{0} \tau _{0}}, \end{aligned}$$

which determine the properties of a bifurcating periodic solution at the critical value \(\tau _{0}\). The notations μ, β, and T determine the direction of Hopf bifurcation, stability, and period of the bifurcating periodic solutions, respectively. Now we state the results in the following theorem.

Theorem 4.1

If \(\mu >0\) (\(\mu <0\)), then the Hopf bifurcation is supercritical (subcritical); if \(\beta <0\) (\(\beta >0\)), then the bifurcating periodic solutions are stable (unstable); if \(T>0\) (\(T<0\)), then the periodic solutions increase (decrease).

5 Numerical simulations

Numerical simulation confirms that the delayed system dynamics exhibits a periodic solution for \(\tau >8.40567\). The initial condition throughout the simulation is taken as \([10,5,5]\). The unique endemic equilibrium \(E^{*}(16.0404, 29.3064, 14.6532)\) of system (32) can be obtained by means of Mathematica for the following set of parameter values:

$$\begin{aligned} \begin{aligned}&\mu _{1}=4, \qquad \mu _{2}=2,\qquad \alpha =0.2, \\ & \beta _{1}=0.01,\qquad \beta _{2}=0.02, \\ & \gamma _{1}=0.1,\qquad \gamma _{2}=0.3, \\ & \delta =0.1,\qquad \theta =0.02. \end{aligned} \end{aligned}$$
(31)

System (2) becomes

$$\begin{aligned} &\frac{dS}{dt} = 4-(0.01 L+0.02 B) S +0.1 L(t-\tau ) +0.3 B(t-\tau )-0.12 S, \\ &\frac{dL}{dt} = 2+(0.01 L+0.02 B) S -0.1 L(t-\tau )-0.3 L +0.02 S, \\ &\frac{dB}{dt} = 0.2 L -0.3 B(t-\tau )-0.1 B. \end{aligned}$$
(32)

From Eq. (5) at \(\tau =0\), we have the characteristic polynomial \(\lambda ^{3} +A_{2} \lambda ^{2} +A_{1} \lambda +A_{0}=0\), where \(A_{0}=0.0395353>0\), \(A_{1}=0.519925\), \(A_{2}=1.34572>0\), and \(A_{1} A_{2} -A_{0}= 0.66014>0\). Hence from the set of parameter values given in Eq. (31) we obtain that the endemic equilibrium point \(E^{*}\) is locally asymptotically stable, which is confirmed by the Routh–Hurwitz criterion.

In Fig. 1, time series and Lyapunov characteristic exponent (LCE) are performed for exploring system dynamics with and without delay. In absence of delay, the system dynamics is stable for the chosen set of parameters shown in Fig. 1(a). A Lyapunov characteristic exponent (LCE) diagram is plotted using Wolf algorithm [41] in absence of delay in Fig. 1(b). The value of LCEs \((-0.10025, -0.61767, -0.62175)\) indicates that the system dynamics is stable for the model system (1).

Figure 1
figure 1

(a) Time series without delay, (b) LCE test for (a). Others shows time series of all three classes for different values of time delay. The values of other parameters are same as in (31)

By computing we obtain \(\omega _{0}=0.262283\) and \(\tau _{0}=8.40567\). The delayed model system shows stable behavior for \(\tau =7.54\) and 8.01, shown in Figs. 1(c) and 1(e), respectively. Oscillatory behavior can be seen for the values of time delay \(\tau =8.34\) and 8.41 in Figs. 1(d) and 1(f), respectively. From Fig. 1(d) we can notice that \(\tau =8.34<\tau _{0}\); however, it shows oscillatory behavior.

Bifurcation diagram illustrated in Fig. 2 also confirms that \(\tau =8.40567\) is the critical value for the proposed delayed system (2). When the value of τ is below \(\tau _{0}=8.40567\), the endemic point \(E^{*}(16.0404, 29.3064,14.6532)\) is asymptotically stable by Theorem 2.2. In this case the computer viruses can be controlled easily. However, once the value of τ passes through \(\tau _{0}=8.40567\), a local Hopf bifurcation occurs, which means that the computer viruses will be out of control and system dynamics will become unstable.

Figure 2
figure 2

The bifurcation diagram of (a) uninfected/susceptible node, (b) latent node, and (c) breaking-out node with respect to τ. The values of other parameters are as in (31)

Effect of infected and cure rates on the delayed model system (32) are noticed to investigate the computer network performance in Fig. 3. The infected rates \(\beta _{1} = (0.01,0.03, 0.05,0.7)\) and \(\beta _{2} = (0.2,0.4,0.6,0.8)\) vary, and we observe that as the infected rate increases, the susceptible class decreases, and the number of latent and breaking-out nodes increases, as shown in Figs. 3(a)–3(f). The cure rate \(\gamma _{1} = (0.2, 0.1, 0.02, 0.01)\), at which latent node cured, is varied, and we observe that as the cure rate of latent computer decreases, susceptible and breaking-out computer also decreases; however, the latent computer increases, as shown in Figs. 4(a)–4(c). The cure rate \(\gamma _{2} = (0.2, 0.1, 0.02, 0.01)\) at which breaking-out computer cured is varied, and we observe that as the cure rate decreases, the number of susceptible and latent computers decreases, and that of breaking-out computers increases, as shown in Figs. 4(d)–4(f). The effect of infected rate at which uninfected computers are infected due to the influence of infected removable storage media (θ) is performed in Fig. 5. As the infected rate \(\theta = (0.02, 0.09, 0.16, 0.23)\) of susceptible computers increases, the number of uninfected computers decreases, but the number of latent and breaking-out computers increases.

Figure 3
figure 3

Effect of infected rates (\(\beta _{1}\), \(\beta _{2}\)) on system dynamics (a) uninfected/susceptible node, (b) latent node, and (c) breaking-out node with \(\tau =8\). The values of other parameters are as in (31)

Figure 4
figure 4

Effect of cure rates (\(\gamma _{1}\), \(\gamma _{2}\)) at which latent and breaking-out computers cured on system dynamics (a) uninfected/susceptible node, (b) latent node, and (c) breaking-out node with \(\tau =8\). The values of other parameters are same as in (31)

Figure 5
figure 5

Effect of infected rate at which uninfected computers are infected due to the influence of infected removable storage media (θ) (a) uninfected/susceptible node, (b) latent node, and (c) breaking-out node with \(\tau =8\). The values of other parameters are as in (31)

In Figs. 6 and 7 a sensitive to initial condition (SIC) test is performed for all three classes without and with delay, respectively. When we consider the initial condition coinciding with the equilibrium point, the system dynamics indicates a chaotic scenario; however, the system behavior is stable. Two different initial conditions \([16.04, 29.3087, 14.6513]\) and \([16.00,29.2587,14.5513]\) are considered for execution of SIC test for the nondelay system in Figs. 6(a)–6(c) and the delay system in Figs. 7(a)–7(c). A slight change in the initial condition leads to a new trajectory and confirms that the system dynamics is chaotic in absence and presence of delay for the proposed system (32).

Figure 6
figure 6

Time series and SIC test of all three classes without delay. The values of other parameters are as in (31)

Figure 7
figure 7

Time series and SIC test of (a) uninfected/susceptible node, (b) latent node, and (c) breaking-out node at \(\tau =8.5\). The values of other parameters are as in (31)

6 Conclusions and discussions

In this paper, we have mainly focused on an e-epidemic delayed \(SLBS\) model for computer viruses using bilinear incidence rates. Linear and nonlinear stabilities are performed by means of the Lyapunov method. The stability and direction of Hopf bifurcation is performed using center manifold and normal form theory. Numerical experiments are executed to investigate the dynamics of system (2) and verify the analytical findings for a set of parameter values. Our main results are summarized as follows:

  1. (i)

    An e-epidemic delayed \(SLBS\) model for computer virus has been extended to explore the system dynamics. Mainly, the effect of time delay due to the period that the antivirus software uses to clean the viruses in the latent and breaking-out computers has been examined.

  2. (ii)

    For a given set of parameter values, we obtain \(A_{0}=0.0395353>0\), \(A_{1}=0.519925\), \(A_{2}=1.34572>0\), and \(A_{2} A_{1} -A_{0} = 0.66014 >0\). Hence we concluded that the endemic equilibrium point \(E^{*}\) (16.0404, 29.3064, 14.6532) is locally asymptotically stable by the Routh–Hurwitz criterion in absence of delay. The value of Lyapunov exponent confirms the stable system dynamics of the model system (1).

  3. (iii)

    The bifurcation diagram confirms that \(\tau _{0}=8.40567\) is the critical value for system (32). When \(\tau <\tau _{0}\), the endemic point \(E^{*}\) is asymptotically stable, and the system is unstable for \(\tau > \tau _{0}\).

  4. (iv)

    We obtain \(c_{1}(0)= 0.00080926 - 0.00164203 i\), \(\mu = -0.143792<0\), \(\beta = 0.00161852 >0\), and \(T = -0.00082122 <0\) by some complicated computations. Thus, according to Theorem 4.1, we conclude that the Hopf bifurcation is subcritical and the bifurcating periodic solutions are unstable with decreasing period.

  5. (v)

    From Fig. 5 we observe that as the infected rate at which uninfected computers are infected due to the influence of infected removable storage media (θ) increases, the number of latent and breaking-out computers increases, which is not consistent for smooth functionality of a computer system. Thus we should minimize the use of removable storage media and if necessary, to use it as minimum time as possible because a delay increases the infection probability.

Numerical investigations confirm that the virus transmission or infected and cure rates at which latent and breaking-out computers get cured have important contributions in reducing or eradicating the viruses from the computer network. Since susceptible node decreases and latent and breaking-out increases as infected rate increases, the number of susceptible and latent computers decreases, and that of breaking-out computers increases as cure rate decreases, and we can see that the model we propose will be useful to analyze the efficiency of antivirus software. The antivirus software will be efficient if the infected rate is small and the cure rate is high. Thus this model will be helpful in developing antivirus software with good quality. In our future work, we will focus on optimal control of such a removable storage device.