In New York , U.N. Secretary-General Ban Ki-moon expressed shock by news of the attack and extended condolences to the families of the victims .