The Japanese Defence Ministry is developing software designed to monitor cyber attacks, trace them back to their source, and disable both the origin of the malware and any infected computers used to spread it.
The Yomiuri Shimbun newspaper reported on Tuesday that the Japanese government began development of the system in 2008 as part of a three-year project that was later outsourced to Fujitsu.
The software has been tested in a closed environment and could help identify and disable the sources of botnet-powered attacks designed to steal information or launch DDoS attacks, the report said.
Japan's government and private sector have come under increasingly frequent attack in recent months, especially from China-based hackers looking to steal military and other secrets.
In September 2011, defence contractor Mitsubishi Heavy Industries was one of several organisations targeted globally by an information-stealing Trojan attack.
However, the government has been forced to consider legislative changes given that such a system may break current computer crime laws banning the production and dissemination of malware.
Rik Ferguson, EMEA director of security research at Trend Micro, argued that if such a tool were being developed it is likely to be done so in order to mitigate the increasing threat from cyber espionage.
"I haven't heard of anyone working on automated software designed to search and destroy like this," he told V3.
"Certainly in the UK it would be illegal. You can't access or modify any computer that doesn't belong to you without permission."
He added that although such a tool could be useful in an internal network environment, much of its work could actually be undertaken by real-time activity monitoring tools.
Ferguson also warned that such a software program could end up destroying vital forensic evidence if it has been designed to disable the source of a particular threat.
V3 contacted Fujitsu for comment on the news but had not heard back at the time of writing.
Cotton seedling freezes to death as Chang'e-4 shuts down for the Moon's 14-day lunar night
Fortnite easily out-earns PUBG, Assassin's Creed Odyssey and Red Dead Redemption 2 in 2018
Meteor showers as a service will be visible for about 100 kilometres in all directions
Saturn's rings only formed in the past 100 million years, suggests analysis of Cassini space probe data
New findings contradict conventional belief that Saturn's rings were formed along with the planet about 4.5 billion years ago