The attack is one of the boldest operations that insurgents have mounted in their campaign against the military-led government.