Like Igor said above, if some malware gets activated, ie. past avast shield, it’s too late.
I doubt if even a ProcessGuard could stop all true EXE-viruses, and Malware with process-killing abilities often have Keylogger functions as well, so your system would be compromised and should be reinstalled from scratch.
best solution: don’t click/run the malware 