American computer analysts have uncovered a fresh hacking campaign by North Korea, just days after Trump's historic summit with Kim Jong-un.

The Department of Homeland Security and FBI said on Thursday that they had detected a Trojan virus which they believe was issued by the rogue state.

The virus is called TYPEFRAME and is designed to give hackers complete control over an infected computer.

The Department of Homeland Security and FBI have detected a new computer virus which they believe was issued by North Korea, just days after Trump's summit with Kim

North Korea is well-known for its state-sponsored hacking campaigns and was widely believed to be behind the WannaCry hack in May last year.

The virus shut down hundreds of thousands of computers around the world, with Russia, India, Ukraine and Taiwan being the worst affected.

In Britain computers used to run the National Health Service were affected, while machines in America were also caught up in the hack to a lesser extent.

According to the DHS and FBI, TYPEFRAME is a 'remote access Trojan' that works by installing itself into the operating system of Windows machines.

Once installed it allows a third party to access all parts of the machine, including creating and deleting files, downloading and uploading files, and deleting itself.

The fresh threat was detected just two days after Trump met Kim in Singapore and hailed a new era of relations for both countries.

Both Kim and Trump hailed a new era of relations between North Korea and America during their historic meeting in Singapore earlier this week

It marked the first time that leaders of the two countries have met.

Trump promised the pair would sign a 'comprehensive' document on nuclear disarmament at the summit, but what emerged was a vague pledge to work towards 'complete denuclearization of the Korean Peninsula'.

In return Trump said America will provide unspecified 'security guarantees' for the North Korean regime.

But Trump also announced he will be meeting Kim again, possibly for summits in Washington and Pyongyang, paving the way for a more concrete agreement later.

Trump did secure the repatriation of the remains of American soldiers killed during the Korean War in return for stopping joint military drills with the South.