In December 2013, hackers stole 40 million credit card numbers from the records of a retail giant. A month earlier, data from some 152 million user accounts had been stolen from a major technology company, along with source code to several of the company’s software products.