Applications and individual host machines are often the ultimate target of the attacker or the malicious user. Generally, they want to get permission to read sensitive data, write changes to the hard drive, or compromise data confidentiality and integrity.
Attackers try to exploit bugs in the operating systems (for servers, hosts, and network devices OS) and to abuse vulnerabilities in various applications to gain access to the system. Some applications are very vulnerable, mostly because they were not properly tested and were launched without advanced security features in mind.
After gaining basic access to a system, attackers will use a tactic called privilege escalation that will provide them with system administrator privileges by exploiting vulnerabilities in certain programs and machines. Once they gain administrator access, they can either attack the entire system or read/write sensitive and valuable information.
Countermeasures against application and host vulnerabilities include using secure and tested programs and applications. This can be enforced by having applications digitally signed and making sure that you use quality components from different vendors. Hosts can be hardened using a variety of techniques, including ensuring that the machine is locked down and that only the appropriate services and applications are used. Firewall and virus detection techniques should also be used and should be updated often.
Another useful countermeasure is to minimize exposure to outside networks, including the Internet, even though many attacks can come from inside the organization. As organizations get larger, increased attention must be given to human factors and to inside threats. Network administrators, network designers, and end-users should be carefully trained in using the security policies implemented in the company.