The invention discloses an anti-
attack detection method based on a network node topological structure. The method comprises the following steps: S1, importing a network and selecting a node as an
attack object; s2, calculating five
network topology properties:
clustering coefficient, betweenness centrality, approximate centrality,
feature vector centrality and neighbor node average value; s4, constructing a
feature vector space; s5, attacking the network by using an anti-
attack method; s6, extracting five
network topology properties from the attacked network and constructing a vector space; and S7, adopting a classifier model
random forest in
machine learning, and verifying the feature vectors extracted in the S4 and the S6 by adopting a reservation method to obtain classification precision. The invention further provides an anti-attack detection
system based on the network node topological structure. According to the method, whether the nodes are attacked by a certain
countermeasure attack method or not is detected through the topological properties of the multiple nodes in the network, the complexity of the detection
algorithm is reduced, the method is universally suitable for various attack methods, and high detection precision is obtained.