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 ?
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.
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.