Kabul: Daesh claimed a pre-dawn attack on a military compound in Kabul on Monday that officials said has killed at least two soldiers and wounded 10 others.

"[Daesh] fighters targeted the military academy in the city of Kabul in a suicide attack," the terror group said via its propaganda arm Amaq.

At least five militants attacked the outpost near the Marshal Fahim military academy in the western outskirts of the capital, Kabul, according to Amaq.

The raid came two days after an ambulance bomb in the centre of the city killed more than 100 people and just over a week after another attack on the Hotel Intercontinental killed more than 20.

Both of those attacks were claimed by the Taliban.

Ministry of Defence officials said the militants attacked the outpost near the well-defended Marshal Fahim academy just before dawn.

Ministry spokesman Dawlat Waziri said three soldiers had been wounded and the clash was still going on.

Earlier, resident Mohammad Ehsan said he heard a series of explosions coming from the area beginning at around 5am (0030 GMT) and lasting for at least an hour.

Smaller blasts could still be heard at less frequent intervals.

In October, a suicide attacker rammed a car full of explosives into a bus carrying cadets from the defence university, which is home to one of Afghanistan's main officer training schools, killing 15 of them.