The invention relates to the technical field of
security testing, in particular to a
target range scene construction method and device and terminal device.The method includes the following steps that codes of target
software are analyzed, code structures and logic processes are analyzed, a code
flow chart is drawn, key variables and
branch decision points are marked, and a code
logic mapping table is obtained; according to the method and the device, by using the refined code
flow chart and the
logic mapping table, the accuracy and the actual combat of the
target range scene are improved, so that
target range scene construction is more targeted,
vulnerability points can be accurately marked,
security level evaluation is performed,
attack and defense can be better simulated in an actual environment, the
vulnerability recognition accuracy is improved, and the
security level of the target range scene can be evaluated. In addition, evaluation on security
vulnerability influences is enhanced, so that
security testing is more comprehensive and deep, target range scene design in traditional target range construction is improved, actual security
threat conditions are better met, and the
response ability of organizations to security threats and the effectiveness of defense measures are improved.