The command has been working with the service branches to raise a force of 6,000 troops, civilians and contractors to carry out missions. It works closely with the National Security Agency — both are headed by Adm. Michael S. Rogers — to help keep other nations' hackers out of military networks while devising ways of breaking into computers run by U.S. adversaries.