PESHAWAR, Pakistan  A Taliban group forced into a remote border area by Pakistani military operations struck back Friday with a large and highly coordinated attack against the government’s paramilitary forces, Pakistani officials said.

A senior security official said about 150 militants initiated the simultaneous attacks on five security outposts near the Afghan border, killing 11 members of Pakistan’s Frontier Corps and wounding 9. The militants fought hand-to-hand battles with the Pakistani forces at two of the outposts in Mohmand Agency and assaulted the three others with machine guns and rockets, officials said.

The militants may have been trying to forestall new attacks by the military, which has swept them from other nearby tribal areas into a relatively small area of Mohmand Agency and threatened a new offensive.

“Frankly, we didn’t expect an attack of this scale and magnitude,” said the senior security official, who added that the Pakistani forces had received a warning of an impending assault.