Is this corruption and lawlessness rooted in the absence of adequate law enforcement, or the lack of independent judges? Or is it a national culture of corruption that ranks such nations among the most corrupt in the world on Transparency International surveys?

A paper titled "Cultures of Corruption: Evidence from Diplomatic Parking Tickets" by Ray Fisman of Columbia University and Edward Miguel of University of California, Berkeley attempts to answer the above question by using parking violations data on international diplomats living in New York City during 1997-2005.
Since all foreign diplomats have immunity from prosecution in the host country, they do not have to pay fines for any parking violations in New York City. The authors argue that the way the diplomats from different nations behave in such a situation is entirely based on the cultural norms of the nations they represent.

The data presented by the authors shows that Pakistani diplomats with 69.4 tickets per diplomat are the tenth worst offenders, behind those from Kuwait (246.2), Egypt (139.6), Chad (124.3), Sudan (119.1), Bulgaria (117.5), Mozambique (110.7), Albania (84.5), Angola (81.7) and Senegal (79.2). The authors also report that diplomats from low corruption countries (e.g., Norway and Sweden with zero parking citations) behave remarkably well even in situations where they can get away with violations, suggesting that they bring the social norms or corruption “culture” of their home country with them to New York City. Others with no parking violations include diplomats from Oman, Turkey and UAE.
In addition to a strong correlation between number of parking tickets and TI's corruption index, Fisman and Miguel also find that officials from countries that have less favorable popular views of the United States commit significantly more parking violations, providing nonlaboratory evidence on the role that sentiment and affinity play in economic decision-making.
With 69.4 tickets for each official ranking them at number 10, Pakistani diplomats in New York are also the worst among fellow South Asian diplomats. Bangladeshi diplomats rank 28 (33 tickets), Sri Lanka ranked 40 (17.2 tickets), Nepal ranked 43 (16.5 tickets) and India ranks 79 (6.1 violations per diplomat).
Going by the highly persuasive data and arguments by Fisman and Miguel, it is hard to see how better law-enforcement and independent judiciary can solve the highly corrosive problem of widespread corruption in Pakistani society, unless it is also accompanied by a national campaign to promote a culture of honesty in the country. Such an effort must begin with open acknowledgment of the seriousness of the corruption crisis and an earnest desire to change, followed by wide-ranging ethics reforms in all spheres of life which are actively role-modeled and led by civil, social, political, business, military and religious leaders of the country.
Related Links:
Haq's Musings
Pakistani Judges' Jihad Against Corruption
Incompetence and Corruption in Pakistan
Zardari Corruption Probe
NRO Amnesty Order Overturned
Transparency International Rankings 2009
Transparency International Corruption Index 2010