A hacker obtained data belonging to the federal Department of Energy's nuclear weapons agency last year, stealing the names and Social Security numbers of 1,500 department employees.