It is still possible to recover lost data caused by spyware on Mac as long as the data hasn't been overwritten. Therefore, it is crucial to stop writing new data to your drive and recover data from your Mac ASAP when you find data loss on your Mac. Professional data recovery software such as iBoysoft Data Recovery for Mac is a good choice for recovering lost data from Mac in various situations.
If you have always backed up your Mac with Time Machine, you can easily recover any lost data from available Time Machine backups. But perhaps you have never backed up the device, or exactly, the lost data hasn't been backed up, then the third-party data recovery software is what you can resort to.
The Spyware may overwrite some data on your Mac, but the data that hasn't been overwritten is still recoverable. Therefore, download and install iBoysoft Data Recovery for Mac to recover deleted/lost files from Mac hard drives with ease.
Such data recovery can't rebuild the disk, it just scans for all files including deleted and lost ones, and makes them visible to you. Then you can filter, preview the scanned results, and choose the wanted files to save.