Pakistan 's northwestern tribal areas are considered strongholds of al-Qaida and the Taliban .