An extremist group that claims allegiance to Al Qaeda said it was responsible for assaults on a military police school and an air base in the West African country of Mali.