The invention discloses a malicious
software interception method for flexible gray calculation in host security protection, and relates to the technical field of
network security. Obtaining an
assembly language source file and an
executable file of the target access
software, and performing
feature extraction to obtain a frequency feature, a
semantic feature and a
byte feature; updating a preset malicious
software detection model according to the frequency features, the semantic features and the
byte features to obtain a target malicious software detection model; simulating
log data when the target access software is operated; generating a
grayscale image according to the
log data, and substituting the
grayscale image into the target malicious software detection model to obtain the malicious level of the target access software; and performing related interception on the target access software according to the malicious level. According to the method, the frequency, semantic and
byte features are extracted, the malicious software detection model is updated according to the features, the
log data are acquired through the
simulation running software, and the
gray level image is generated for malicious software recognition, so that the interception efficiency of the malicious software is improved.