Duality of offensive and defensive technologies