The security failure process of the irreparability network can be considered as a single-controller stochastic game model. In this paper we adopt the analysis method of linear programming to solve the stochastic game model for failure of network security. From the attacker viewpoint, we analyze and compute the total utility function and the optimal strategy. The numerical analysis result has verified that the attacker will not change his behavior choice when the expectation payoff is in a certain range.