I once compiled a batch file I had to an executable for some reason or another, and just out of curiosity threw it up on VirusTotal. Some of the antiviruses flagged it because they had never seen it before.
There's also apocryphal stories about Norton Antivirus attempting to quarantine
itself.