A suicide bomber blew himself up Wednesday near a vehicle carrying Pakistani military personnel, killing two officers and three civilians, the military said in a statement.

There was no immediate claim of responsibility for the attack but suspicion is likely to fall on the Pakistani Taliban or their allies who have often targeted the military in their war against the state.

The military said both of the officers were lieutenant colonels. The officers were on their way to work when the bomber, who was on foot, blew himself up near their truck, said police officer Altaf Ahmad. The civilians were pedestrians who happened to be on the street when the bomb went off, he said.

Thousands of Pakistani forces have been killed by bombings and shootings while battling militants intent on overthrowing the government and establishing a harsh form of Islamic rule across the country.

Militants target troops in the rugged tribal areas bordering Afghanistan on a daily basis but such incidents near the capital are much rarer.

While most attacks usually kill low-ranking soldiers, Wednesday’s bombing was significant in that it killed two high-ranking officers.

Meanwhile, clashes in northwestern Pakistan along the border with Afghanistan killed at least two soldiers, the Pakistani government said in a statement. The ministry of foreign affairs said two borders posts came under fire in the Bajaur tribal region Wednesday morning from across the border. The ministry said three people were also wounded.

“Pakistan condemns these unprovoked attacks,” the ministry said. “This matter has been raised with the Afghan government in Kabul and with their Embassy in Islamabad. It has been emphasized that Afghanistan must take concrete steps to stop the use of its territory against Pakistan.”

Both Pakistan and Afghanistan have accused the other of allowing their territory to be used for attacks against the other.