With the rapid development of the Internet, especially the development of mobile Internet, network size and network infrastructure changes, especially the more random access node to detect network attacks challenges traditional detection algorithm using neural networks, so that the calculated volume increased dramatically, and will detection accuracy is not high, for this problem, we use the stochastic process theory hidden Markov chain transformation neural network, so that the convergence of a substantial decline, while improving network attack detection accuracy degree.