We propose a node-level SIPS model capturing patch forwarding and virus spreading. We establish criteria for the existence and stability of potential equilibria. The influences of some key factors on the prevalence of virus are revealed. Several strategies of containing electronic infections are recommended.