Drastic shifts in the global security environment have sparked a sector rally.