Defense Secretary Robert Gates formed a military division around cyber security, echoing President Obama's plans to centralize and elevate computer security as a major national-security issue.