ISIS are trying to join German armed forces to get military training they can use for terrorist attacks.

In light of the concerning revelation the armed forces are calling for all applicants to the military to be subject to a security check by its counter-intelligence agency.

The testing will start from July next year and the Government believes it will help the nation fight against extremists, terrorists and criminals.

ISIS are trying to join German armed forces to get military training they can use for attacks

However, such security screening would require changes in the laws governing the military.

A draft document justifying such changes, seen by the Welt am Sonntag newspaper, said there are indications that Islamists are trying to get 'so-called short-term servicemen into the armed forces' for training.

Germany is on edge after a series of violent attacks in July, two of which were claimed by Islamic State, and the interior minister has already announced plans to step up security.

One of the attacks was committed by 17-year-old Afghan refugee Muhammad Riyad who went on an axe rampage on a train near the city of Wurzburg.

The ISIS fanatic injured 19 people during his assault before he was eventually gunned down by police.

The cabinet is set to approve a change to the military act next week, the newspaper said, citing security sources.

ISIS fanatic Muhammad Riyad who went on an axe rampage on a train near the city of Wurzburg

A spokesman for the Defence Ministry said the government was in the process of deciding on the law.