A major cyberattack on the Canadian government has shown, in the starkest possible terms, that the danger Pakistan’s cyber emergency team warned about last month is no longer theoretical. Hackers using artificial intelligence tools broke into government networks in Ottawa and stole around 125,000 files containing military and commercial information, shaking one of the world’s most advanced countries.
The main target was the export permit system run by Global Affairs Canada, the online portal known as NEXCOL through which businesses apply for permits to ship controlled goods, including military equipment, abroad. Foreign Affairs Minister Anita Anand said about 4,600 individuals and organisations had been affected, and that each had been contacted directly about the breach. The attackers have not been identified.
What makes the incident especially worrying is not only its scale but the way it was carried out. The Canadian government said the unauthorised activity detected across its networks over the past several weeks appeared to be the work of malicious actors using AI-enabled tools, which can automate an intrusion across many targets at once. Prime Minister Mark Carney confirmed that government data had been compromised and warned that this kind of threat to national security would only grow as artificial intelligence advanced. The breach was discovered on November 25, and the portal was taken offline until November 28, while the military recruitment website was also taken offline.
Pakistan’s Earlier Warning
For Pakistan, the timing carries a particular weight, because the National Cyber Emergency Response Team, known as NCERT, had spelt out almost exactly this scenario weeks earlier. In an advisory issued on November 5, the team warned that cybercriminals were increasingly using AI, automated bots, botnets and agentic tools to carry out sophisticated and coordinated attacks, and it named financial institutions and critical infrastructure as the two sectors most at risk.
The advisory, from a body working under the Cabinet Division, explained that these tools let attackers automate reconnaissance, steal login credentials and strike at a speed and scale not possible before. For banks, it said, the danger reaches into the heart of their operations: core banking systems, digital banking platforms, payment systems and the customer-facing applications millions of people use every day. It warned of disrupted online services, automated attacks on passwords and logins, and even manipulation of the account balances shown in banking applications, though the money itself would remain untouched.
The warning extended well beyond banking. NCERT said critical infrastructure could be exposed through weaknesses in third-party service providers, connected internet devices, industrial control systems and poorly secured remote access. It listed oil and gas facilities, water utilities, power generation and distribution networks, manufacturing plants and transport systems as potential targets, and said a successful attack could disrupt physical processes and essential services, not just data on a screen.
Recommended Security Measures
The advisory also set out what organisations should do, and much of it now reads like a checklist for exactly the kind of attack that hit Canada. Banks were urged to strengthen authentication, review the security of their core banking systems, digital platforms, payment gateways and programming interfaces, and check transactions against their core banking records. Infrastructure operators were told to improve network security, restrict unauthorised remote access, map every internet-connected device, and keep backup procedures ready. All organisations were urged to watch for warning signs: frequent automated login attempts, repeated authentication failures and unusual system requests. The Sindh government circulated the advisory among its departments on November 18.
Growing Global Threat
Canada is not the only country dealing with a suspected AI-assisted attack. In Britain, the Department for Work and Pensions, which pays pensions and benefits to millions of people, detected suspicious activity on Thursday, November 26, and took many of its online services offline as a precaution. Work and Pensions Secretary Pat McFadden told the House of Commons on November 30 that it was a deliberate and malicious attack enabled by AI tools.
The British government said there was no evidence that personal information had been compromised, and regular benefit and pension payments continued as normal. But the disruption elsewhere was considerable: people could not use online accounts, make or update claims, upload evidence or report changes digitally, and the department promised nobody would be punished for missed online steps, with new claims backdated. The government ordered a rapid review of cyber defences across all departments, a separate investigation, and an expert-led report on the department’s digital resilience.
Together, the two incidents show a threat spreading fast and striking at systems ordinary people depend on. Both have advanced defences and rehearsed plans, yet both had to take services offline and are still investigating how the attackers got in. The lesson for Pakistan is equally clear. The November advisory remains a preventive warning, and there is no confirmed connection between the attacks in Canada and Britain and any attack on Pakistani institutions. But the past few days have turned that warning from a forecast into a demonstration, and the measures it recommended are now the difference between a close call and a crisis.
