I would like to offer a solution to this problem. I have had several installs that I left open to attack and I would dismantle viruses on them. Dropping firewall rules and having a sandbox program to play in I dismantled several attacks, but again I failed to thwart attackers; but in all I learned a little and had a little fun.
A sandbox partition would be better for this, a sandbox works like a virtual linux o/s which can be broken in to or broken, but it is an experimental Ubuntu, and so who cares?
And then there is "deep freeze linux", deep freeze would return the whole operating system from the bios up to boot condition removing all changes made in the name of computer science.
One caveat: If you log in to askubuntu and infect their computers, you will probably be banned at least. That isn't a good ending for anybody.
Look up "DeepFreeze Linux," and "virtual machine ubuntu" and check out this thread and this program for a sample of what is and isn't allowed, I mean welcome.