Suspected militants armed with grenades attacked the offices of an international aid group in northwest Pakistan on Wednesday, killing five people working for the organization, police said.