icfu wrote:If you exclude totalcmd.exe, AV will not examine each and every file and directory totalcmd.exe wants to process.
In some AVs, you might be able to exclude the process (so that its file access is not being scanned). Normally, however, I think that "excluding totalcmd.exe" means that AV won't scan totalcmd.exe executable, not the executables totalcmd is trying to open.
Some AVs, on the other hand, are able to distinguish between opening and executing - so they won't bother scanning files when they are only read.
Actually, thinking about it, I think it's all nonsence - I suppose TotalCmd is just browsing the directories (when you press Space), not touching the particular files (why would it?). So antivirus doesn't have any reason to scan the files, slowing down the operation.
m^2 wrote:It doesn't make sense..they'd do better if they scanned memory image, not the file, this is not only faster, but also works better with self-modifying code.
Why's that?
First, I don't know why it should be faster (it may cause slightly higher memory usage, because it would cause bigger parts of the files to page-in at start), second - how could it help against self-modyfing code? If the file is being scanned right after it's mapped, it contains exactly the same as the data on disk; if it's scanned after the self-modyfing code has been executed, it's too late - the malware has already been activated.