The invention discloses a method for generating an
attack scenario in a
mobile cloud computing scene, and relates to the field of
network security. According to the method, firstly, a MulVAL tool is used for generating an attribute
attack graph for the state of a target network, a CVSS is used for evaluating the utilization success rate of a single
vulnerability, then a loop removal and redundant path
algorithm is used for constructing a
Bayesian network attack graph, and an improved node probability
calculation algorithm is used for evaluating the cumulative success probability of each node of the attribute
attack graph; and finally, an optimal attack path is generated by using a dynamic attack
path generation algorithm, and then the attack path is described by using a
network attack scenario description language to obtain an attack
scenario script. According to the method, the process of obtaining the attack scenario in the
mobile cloud computing scene is automated and dynamic, and the improved node probability
calculation algorithm is used for
processing the condition that a ring appears, so that the calculation of the accumulated success probability of each node on the
attack graph is more vivid and accurate.