A wave of attacks against top security installations over the last several days has demonstrated that the Taliban, al-Qaida and militant groups once nurtured by the government are tightening an alliance aimed at bringing down the Pakistani state, government officials and analysts said. More than 30 people were killed Thursday in Lahore as three teams of militants assaulted two police training centers and a federal investigations building. The dead included 19 police officers and at least 11 militants, police officials said. Nine others were killed in two attacks at a police station in Kohat and a residential complex in Peshawar. The assaults in Lahore, coming after a siege at army headquarters in Rawalpindi last weekend, showed the deepening reach of the militant network, as well as its rising sophistication and inside knowledge of the security forces, officials and analysts said. The umbrella group for the Pakistani Taliban, Tehrik-e-Taliban, claimed responsibility for the attacks in Lahore. But the style of the attacks also revealed the closer ties between the Taliban, al-Qaida and jihadi groups, which operate out of southern Punjab, analysts said. The cooperation has made the militant threat to Pakistan more potent and insidious than ever, they said. The government has tolerated the Punjabi groups, including Jaish-e-Muhammad and Lashkar-e-Jhangvi, for years, and many Pakistanis consider them allies in just causes, including fighting India, America, and Shiite Muslims. But they have become entwined with the Taliban and al-Qaida, and have increasingly turned on the state. The alliance has stepped up attacks as the military prepares an assault on the Taliban stronghold of South Waziristan, where senior members of the Punjabi groups also find sanctuary and support. In a rare acknowledgment of the lethal combination of forces, Interior Minister Rehman Malik said that a 'syndicate' of militant groups wanted to see 'Pakistan as a failed state.' 'The banned Tehrik-e-Taliban Pakistan, Jaish-e-Muhammad, al-Qaida and Lashkar-e-Jhangvi are operating jointly in Pakistan,' Malik said, pledging a more effective counterstrategy. On Thursday, U.S. President Barack Obama signed a civilian aid package for Pakistan of $7.5 billion over five years. The gesture has prompted friction over conditions for the aid -- like greater civilian oversight of the military and demands that Pakistan drop support for militant groups -- which army officers and politicians considered infringements of Pakistan's sovereignty. In a sign of scant sympathy for the unappreciative reaction to the money, there was no signing ceremony. 