U.S. officials say hackers targeted a Navy contractor and stole a massive amount of sensitive data on undersea warfare from his computers.