A blast in the Afghan capital on Monday was part of an attack by Taliban fighters targeting the defense ministry compound in Kabul, the Islamist militant group said in a statement.