Attack defense method and device, electronic equipment and storage medium
The invention provides an attack defense method and device, electronic equipment and a storage medium, and is applied to the electronic equipment, and the method comprises the steps: obtaining each key use function in the electronic equipment; the key use function can be called by a program in the e...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides an attack defense method and device, electronic equipment and a storage medium, and is applied to the electronic equipment, and the method comprises the steps: obtaining each key use function in the electronic equipment; the key use function can be called by a program in the electronic equipment to encrypt a file in the electronic equipment by using the key; adding a preset code in each key use function; the preset code can be triggered to be executed when the key use function is called, so as to record the key used by the key use function. According to the attack defense method provided by the invention, when the key use function is called, the preset code in the key use function can also be executed, and when the preset code is executed, the key used by the key use function can be recorded. Therefore, even if the file in the electronic equipment is encrypted by the ransomware, the encrypted file can be decrypted through the recorded secret key, and money does not need to be paid to th |
---|