Meanwhile, 25 Afghan army members died after Taliban militants attacked their checkpoint in Bala Buluk district of western Farah province late Friday evening with the attack continuing into early Saturday morning, Khair Mohammad Noorzai, a provincial council member from Farah, told dpa. "We have sent more reinforcements to the area", defence ministry spokesman Daulat Wazir said.
The bomb was the latest in a spate of attacks in the capital in which hundreds of people have been killed and wounded.
Taliban has claimed responsibility for the attacks at Farah province and Helmand province, but no one immediately claimed responsibility of Kabul attack. The NDS compound is located near North Atlantic Treaty Organisation headquarters and the USA embassy.
Just one week later, more than 100 people were killed and 235 others wounded in the capital when an explosives-packed ambulance blew up in a crowded area. The identity of the casualties was not known, said Interior Ministry spokesman Najib Danish.
Those attacks killed two soldiers and wounded about a dozen civilians, including women and children, according to regional and hospital officials.
The Talbian claimed responsibility and said two of their fighters were killed.
"We will work hard with our Afghan security counterparts and teammates to help protect the civilians of Afghanistan as much as possible", he said.
Since mid January, militants have stormed a luxury hotel, bombed a crowded street and raided a military compound in the capital, killing more than 130 people as the city remains on high alert fearing further violence. His vehicle, he added, managed to reach the entrance of the army base in Nad Aali district, killing two soldiers and wounding another.
Islamic State's Afghan affiliate, which first appeared near the border with Pakistan in 2015, has become increasingly active and has claimed several recent attacks.
Afghan soldiers have taken what the United Nations describes as "shocking" casualties since worldwide forces ended their combat role at the end of 2014, though troop casualty figures are no longer released.