Re: Who hasn't written "malware" code?
Years ago myself and two colleagues were allowed to use our own build PC's at work - so we all had new kit and installed FreeBSD.
Apart from a few teething troubles* it was great, but since we were all running 'X' and all on the same LAN one person thought it would be fun to run some little programs in the background - you know the kind of thing - ants running over the screen, googley-eyes popping up everywhere etc., so we all did it to each other - the goal being to see how many you could get to run before the target noticed (ants running over the desktop aren't easy to see when you have 20 windows open at a time!).
Unfortunately, boys being boys it all escalated rather quickly, and I will have to admit I decided to employ The Art of War tactics on my fellows. Whilst they were busy tapping away and creating single key-press commands to inject programs onto my system, I decided to write a script to detect the source IP and then just run as many programs against that IP on port 6000 that my little CPU could handle.
It was quite funny to see one of my colleagues sneak a glance at my screen to see if I would notice anything before starting to send over his little ants and father christmas's, closely followed by 'what the fuck' as his PC descended into background app hell :)
Our manager decided to put a stop to it at that point, so I basically declared myself the winner :D