Discussions are under way to decide if Japan should have the ability to counter cyberattacks by a foreign nation, according to a government source.

This would include being able to attack a server in self-defense if government computer systems were attacked, the source said.

Japan is looking for deterrents to cyberattacks, which have become increasingly sophisticated in recent years, the source said, adding the government plans to cooperate with the United States, which has sophisticated counterattack technology.