The troops were manning the post near the town of Miran Shah in the troubled North Waziristan region when the attack occurred before dawn .