Impact Analysis of System and Network Attacks