Network Attacks and Exploitation: A Framework