Dear George,
Because of the potential damage caused by malware search engines automatically place any site found with malware on a blocked list or blacklist, excluding it from search results.
No matter how much search engine optimization is performed, if your site is blacklisted, it will not be displayed in search results. In addition, anti-virus software can detect malware and block access to infected sites.
Thanks.