The invention discloses an
attack trapping and analyzing method and
system based on a honeynet, and relates to the technical field of
attack analysis, and the method comprises the steps: collecting
attack interaction data and an associated attack chain trajectory set; dividing attack behavior units, and constructing a
behavior space attitude matrix; constructing a two-dimensional behavior relationship graph, performing interpolation enhancement of sub-time
granularity, and raising the dimension of the interpolated behavior node into a three-dimensional
semantic space; performing attack path
trend analysis on the attack behavior unit, and constructing an attack path bending rule model; and inputting parameters such as the attack chain trajectory set and behavior nodes in the three-dimensional
semantic space into the attack path bending rule model, outputting a
trapping response strategy, and dynamically adjusting the honeynet environment. According to the invention, the type and position of the
honeypot can be automatically adjusted according to the attack behavior change, the structure definition and
processing precision of the attack behavior data are effectively improved, and the attack behavior identification result can be conveniently and directly used for
trapping strategy optimization.