The military says that 80 percent of the attacks in Pakistan are planned from the remote region but that militants from the Punjab province in the heart of the country helped the Taliban carry out the bold assault last weekend on the army headquarters in Rawalpindi , just outside the capital .