The invention provides a ChatGPT-based security protection
software rule generation method and
system, and relates to the field of
network security threat detection, and the specific scheme is as follows: automatically
crawling a
threat analysis report A of an effective rule generated by other security equipment platforms, taking the effective rule of the
threat analysis report A as a rule case to carry out instruction
fine tuning on ChatGPT, and taking the effective rule of the ChatGPT as a rule case; generating and obtaining a sample
fine tuning GPT model; obtaining a threat analysis report B of the security equipment to be protected, initiating a request for ChatGPT based on the sample
fine tuning GPT model, analyzing the threat analysis report B by ChatGPT according to the request to generate a threat detection rule, and converting the threat detection rule into a grammar rule of security protection
software; and performing
simulation attack test and white-box test based on the grammar rules, and screening out grammar rules which do not pass the test to obtain general grammar rules of the security protection
software. According to the method, the problem that the
attack response is slow in the prior art is solved, the threat detection rule is automatically designed and generated, and the use cost is reduced.