What precautions to take if writing a virus [closed]
If I was to Write a virus for the challenge What would I need to do to contain it ?
Obviously I开发者_如何学运维 would disconnect the computer from the internet first but what else could I do to prevent the worst case scenario of it making it on to the internet. Im not saying im smart enough to bring down society but I don't want to go to jail for a weekend project.
Is is likely that my antivirus will kill my virus program as soon as it is compiled ?
What would I need to do to contain it ?
You need to use a sandboxed environment. Perhaps a virtual machine such as vmware or virtualbox that doesn't have physical access to the network.
Is is likely that my antivirus will kill my virus program as soon as it is compiled
Not really. Antivirus programs are based on signature scanning + heuristics. Your program should be "0-day". So until it does something fishy, it's unlikely any antivirus will ask questions.
精彩评论