Police said the attacker appeared to target a group of police officers protecting the northern city 's oil infrastructure .