The invention discloses an abnormal file
restoration method, device and equipment and a storage medium, and the method comprises the steps: obtaining the file structure information corresponding to a to-be-detected file, and searching a preset abnormal rule
library for whether there is a target abnormal rule matched with the file structure information or not; and when the target
exception rule exists, judging that the to-be-detected file is an exception file, obtaining a file repair
algorithm corresponding to the target
exception rule, and repairing the to-be-detected file according to the file repair
algorithm. Compared with the existing mode of identifying or detecting the abnormal file through the
feature code and repairing the file by searching the corresponding health file or the address information of the health file in the file
database, the method, device and equipment have the advantages that whether the to-be-detected file triggers the abnormal rule or not is judged through the file structure information, and if yes, the to-be-detected file is judged to be abnormal; and the corresponding file repair
algorithm is obtained according to the triggered
exception rule to repair the file, so that the accuracy of exception identification is ensured, and the file
repair rate is also improved.