An attack is a method of compromising a system to obtain an unintended result.