Legal review of cyber weapons