Monitoring and Diagnosing Malicious Attacks with Autonomic Software