The attack, by at least two helicopters, was aimed at destroying the command and control facility of the terrorists, a Somali defence ministry official told AFP.