A company that makes security software for Mac computers is warning that copies of Apple's iWork productivity software that are available for download from peer-to-peer file-sharing networks may be infected with a Trojan horse program. The malicious software appears to be designed to enlist infected systems in a bot army that is targeting Web sites with so much junk traffic they can no longer accommodate legitimate visitors.