Computers at its core have no clue about offense or defense, that is in the realm of context (and lawyers).
Computer security VERY MUCH cares about offense vs. defense.
The attacker only has to win once and he wins. The defender has to win every single time or he loses.