The U.S. and China have done a lot of finger-pointing lately about cyberattacks, which will no doubt be a major topic when President Barack Obama meets with China President Xi Jinping on Friday.
(Read More: China's Strength Could Become Its Weakness )
Both sides claim the other is at fault, and in a sense they are both right.
(Read More: Businesses Consider Going Offense Against Cyberattackers )
They steal from each other in cyberspace, but China steals the "wrong stuff," said Retired Gen. Michael Hayden, a former director of the Central Intelligence Agency the former head of the National Security Agency.
"I was the director of national security for six years—that stealing your stuff thing, we did a lot of it. Actually, I like to think we are No. 1," he said at the Kaspersky Government Cybersecurity Forum in Washington this week. "But we stole stuff to keep you free and ... safe. We didn't steal stuff to make you rich, which is really the nub of the issue between ourselves and the Chinese."
(Read More: Cyberattacks Mean Big Business for Small Security Firms )
But the U.S. has targeted China in cyberattacks just as grave as the ones the U.S. claims that China has launched, according to insiders in a China Daily report Wednesday. But the Chinese don't blame Washington, because that would be "technically irresponsible" and would not help solve the problem insiders said, the report said.