Reputation: 3
I want to test a virus scanner, but I don't want to have actual malware stored on my machine. In the past, I've seen innocuous software marked as a virus by vague "heuristics" from anti-malware programs. I want to write a program that is not in any way malware, but is likely to be viewed as malware by typical, reasonable antivirus software. How would I begin? Any common programming language is fine.
Upvotes: 0
Views: 1552
Reputation: 33
If you are testing if the AV works correctly or not, then Eicar test file should do the work, because these are the files that must be flagged as malicious by every AV, this works for static detection.
But to check the heuristic detection, which is important in every AV engines, you can write a simple code and run it as executable to do any one of the below given things.
You can think creatively like executing FORK bomb, write an "Autorun.ini" file to "pendrive" and plug it to PC.
Upvotes: 1
Reputation: 53320
The usual answer is to use Eicar from https://www.eicar.org/?page_id=3950
Upvotes: 2