The antivirus software could detect it, and then the intended target won't get infected with your trojan. Just depends on how well they keep up with their definitions and how good of anti virus software they have.