Official sources say that the militants attacked the Shabuk security checkpost in Kurram Agency injuring one soldier.
The security forces responded to the attack with retaliatory firing killing at least 15 attackers while the others fled back to Afghanistan.
Kurram is one of the most sensitive tribal areas as it borders three Afghan provinces and at one point was one of the key routes for militant movement across the border.
The region was claimed by the military to have been cleared of insurgents during an operation a couple of years ago, however, militants still carry out sectarian attacks and also target security forces occasionally.
Kurram tribal agency is adjacent to North Waziristan region where the operation Zarb-i-Azb is in progress against Taliban and other insurgent groups.