China is opposed to countries or individuals that launch cyber attacks on a third country from foreign soil, Foreign Ministry spokeswoman Hua Chunying said Monday.
Hua told a regular press briefing that China opposes all forms of cyber attack and terrorist activities.
She made the remarks in response to the alleged hacking of Sony Pictures Entertainment (SPE).
Hua said Chinese Foreign Minister Wang Yi had made China's stance on this issue clear during talks with U.S. Secretary of State John Kerry via telephone on Sunday.
Hua said China is prepared to be involved in constructive cooperation with the international community to safeguard peace and security in cyber space on the basis of mutual respect and trust.
The U.S. Federal Bureau of Investigation (FBI) claimed Friday that what it called "enough information" had been found to conclude that the Democratic People's Republic of Korea (DPRK) was "responsible" for the attack.
The DPRK on Saturday rejected the U.S. accusations and proposed a joint investigation with the United States.