19

I want to run Computer virus on virtual machine to see how they behave, is there any online repository or database which store computer virus. Both old and new?

1
  • 2
    I don't think it's completely off-topic. Perhaps if rephrased to something like: "How can I test some existing computer viruses in a virtual machine (externally closed), in order to experience how they work? Where to find real ones?" it would be less attackable. However, it contains an implicit risk, if not well controlled the viruses escape... and it is not anymore so funny.
    – Hastur
    Commented Feb 24, 2021 at 14:27

2 Answers 2

12

You may want to look at the EICAR antivirus test file.

You can create this file by opening a text editor and pasting the following into it:

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

The above text, in the words of the above site, is actually x86 machine language, and "... is a legitimate DOS program, and produces sensible results when run (it prints the message 'EICAR-STANDARD-ANTIVIRUS-TEST-FILE!')."

2
  • Whats the point though don't u want a virus not to print something?
    – Lightsout
    Commented Dec 9, 2017 at 8:24
  • It’s just for testing.
    – LawrenceC
    Commented Dec 9, 2017 at 14:54
9

There are various research sites that keep malware samples available for research. I found a list of sites that provide downloadable samples here: http://zeltser.com/combating-malicious-software/malware-sample-sources.html

1

Not the answer you're looking for? Browse other questions tagged .