David Cameron has warned that Britain must be prepared to help put an end to the the deadly spread of jihadi groups like ISIS across the world in order to prevent attacks on home soil.

The Prime Minister made specific references to the threat of Libya, where an ISIS franchise has been running terror camps and implementing the group's barbaric interpretation of Shari'a.

Speaking ahead of his four day tour of South East Asia, Cameron described ISIS as 'one of the biggest threats our world has faced.'

Scroll down for video:

Defiant: David Cameron has warned that Britain must be prepared to help put an end to the the deadly spread of jihadi groups like ISIS in Libya

21 Egyptian Coptic Christians were lined up and beheaded on a Libyan beach by ISIS militants

Cameron has already began to order security personnel to investigate the best way for Britain to help ease the threat of radicals in countries like Libya, according to The Sunday Telegraph.

The defiant warning comes as reports suggest that Sousse gunman Saifeddine Rezgui,23, was believed to have attended a terror camp in Libya.

He used his newly learnt weapons skills to shoot dead 38 foreign tourists, including 30 British nationals, at a popular tourist beach in Sousse, Tunisia.

Fears remain that ISIS lone wolf terror attacks could strike in Britain, following the shocking terror attacks in France, most notably the Charlie Hebdo massacre.

Led down the beach to their deaths, the video was filmed in high definition and released last February

Some experts have questioned the authenticity of the video, sparking rumours it may have been staged

Leading the massacre, an American accented fighter plays the leader role similar to Jihadi John

Barbaric: Following the horrific scenes, the camera focuses on the blood stained water

Although the ISIS group in Libya have reportedly been forced out of much of the Libyan city of Dernah, their militants still maintain a worryingly strong presence in the struggling country.

Photos emerged this week of black ISIS banners being pulled down by rebel militants in Dernah and an ISIS commander was marched through the streets naked before he was executed.

Despite the apparent losses suffered by ISIS, the group continues to hold checkpoints in the city of Sirte as well as carrying out atrocities in other parts of the country.

David Cameron's decision to visit several of the South East Asian states, including Malaysia and Indonesia comes amid fears that Islamic State is looking to gain a foothold in the region.

The Prime Minister is heading to Indonesia on the first stop of a four-day tour intended to drum up trade for Britain.

He will also use meetings with President Joko Widodo in Jakarta and later Prime Minister Najib Razak of Malaysia to raise the threat from the extremists.

Horrific: ISIS have become feared for their brutality and merciless killings, most notably the Speicher massacre a year ago

Brutal: Shi'a Iraqi army recruits were made to lie on the ground before they were gunned down in cold blood

Around 500 people from Indonesia - which has the world's largest Muslim population - and 200 from Malaysia are thought to have joined IS in Iraq and Syria.

Earlier this month, Malaysian police reportedly foiled a twin terror attack, thought to have been ordered by ISIS strategists.

In a statement Inspector General of Malaysia's Police Khalid Abu Bakar described how the failed attacks could have been 'like what happened in Tunisia, France and Kuwait last month.'

Several popular entertainment areas, frequently used by Westerners, are believed to have been the intended targets by the terrorists.

Cameron said: 'We will only defeat these brutal terrorists if we take action at home, overseas and online and if we unite with countries around the world unite against this common enemy.