Prime Minister Shehbaz Sharif praised security forces for thwarting a militant attack on a check post in South Waziristan, where four attackers were killed.