The Commerce Department, and the Treasury Department, the State Department, the Commerce Department, the Energy Department and parts of the Pentagon, was a target of the breach.