Patching would be the most likely way to prevent malware sent as a compromised file via email from infecting a person's computer. Patching is the process of applying updates or fixes to software or hardware to improve performance, security, or functionality. Patching can help prevent malware infections by closing the vulnerabilities or flaws that malware exploits to infect systems. Users should regularly patch their operating systems, applications, and antivirus software to protect their computers from malware attacks. Reference : The Official CompTIA IT Fundamentals (ITF+) Study Guide (FC0-U61), page 202.