Patent ID: 11954333
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. The method of claim 9, further comprising:
scanning, by the device controller in the data storage device, firmware stored on the file system control block for malicious data and safe data, wherein scanning comprises:
generating, by the device controller in the data storage device, at least one digital signature for the firmware in the at least one file system control block; and
comparing the at least one digital signature for the firmware to at least one digital signature for the firmware in the at least one reference data structure to determine the malicious data and remaining safe data;

responsive to malicious data being detected in the file system control block:
compacting, by the device controller in the data storage device, any remaining safe data to a destination data block in the second partition of the non-volatile storage medium; and
securely erasing, by the device controller in the data storage device, the malicious data from the file system control block; and

transmitting a notification to a user of the data storage device responsive to the at least one digital signature generated by the device controller not matching with the at least one digital signature in the at least one reference data structure.