North Korea on Saturday proposed a joint investigation with the U.S. into the hacking attack against Sony Pictures Entertainment, warning of "serious" consequences if Washington rejects a probe that it believes will prove Pyongyang had nothing to do with the cyberattack.

U.S. officials blame North Korea for the hacking, citing the tools used in the Sony attack and previous hacks linked to the North, and have vowed a response. The break-in resulted in the disclosure of tens of thousands of confidential Sony emails and business files, and escalated to terrorist threats that caused Sony to cancel the Christmas release of the movie "The Interview." The comedy is about a plot to assassinate North Korean leader Kim Jong-un.

On Saturday, an unidentified Foreign Ministry spokesman in Pyongyang said North Korea knows how to prove it's not responsible for the hacking, so the United States must accept its proposal for the joint investigation.

"The U.S. should bear in mind that it will face serious consequences in case it rejects our proposal for joint investigation and presses for what it called countermeasures while finding fault with" North Korea, the spokesman said in a statement carried by Pyongyang's official Korean Central News Agency.

"We have a way to prove that we have nothing to do with the case without resorting to torture, as what the CIA does," he said.

Obama says Sony 'made a mistake'

On Friday, U.S. President Barack Obama declared that Sony "made a mistake" in shelving the satirical film about a plot to assassinate the North Korean leader, and pledged the U.S. would respond "in a place and manner and time that we choose" to the hacking attack on Sony that led to the movie's withdrawal.

"I wish they had spoken to me first. ... We cannot have a society in which some dictator someplace can start imposing censorship," Obama said at a year-end news conference, speaking of executives at Sony Pictures Entertainment.

Sony said it had had no choice but to cancel distribution of the movie since theatres were refusing to show it.

Hackers who called themselves the Guardians of Peace had threatened attacks on theatres that showed the film.

Leading up to the film's release, the hackers have been releasing confidential and embarrassing emails they stole from inside Sony's computer network. Although U.S. government officials have not confirmed the source of the cyberattack, several U.S. media outlets reported that federal investigators have connected it to North Korea.