Hamas lashes out at Ban Ki-moon