The bugs are old and the clock is new

On Monday evening, the federal government admitted that someone had been moving around inside its computer networks for several weeks, and that the intruders appear to have used AI tools to do it. The statement from Canada’s chief information officer warned that some government websites and online services might go offline while staff patch them. On Tuesday, Prime Minister Mark Carney confirmed that data was taken, telling reporters there’s been “some data compromise” and warning that attacks like it will only grow as AI improves.

The one system Ottawa has named is the website Canadian companies use to ask permission to sell weapons and other sensitive goods to other countries. Foreign Affairs Minister Anita Anand said her department found the break-in on November 25, shut the site down and brought it back three days later. Officials are now contacting the people who use it.

Attackers like these mostly go after old, well-known weaknesses rather than inventing new ones. AI helps them find and use those weaknesses faster than a person working by hand, which leaves the people running the systems far less time to patch.

What Ottawa Has Confirmed So Far

The government has released two short statements and a handful of answers to reporters. In order:

  • Weeks before November 25: Unauthorized activity runs across federal networks. Nobody has said when it started.
  • Wednesday, November 25: Global Affairs Canada finds a break-in at New Export Controls Online (NEXCOL), its export permit website, and takes the site offline to add protections and test them.
  • Saturday, November 28: NEXCOL comes back online.
  • Monday, November 30: The chief information officer’s office says the activity “appears to be the result of malicious cyber threat actors using AI-enabled tools,” and promises that departments will tell people and organizations if their information was affected. Anand says officials are contacting NEXCOL users.
  • Tuesday, December 1: Carney confirms the data compromise and welcomes the UK’s plan to push for international AI safeguards during its G20 presidency next year.

Canada has company. Britain says an AI-enabled attack knocked some of its welfare and pensions services offline last week, and the European Commission has been dealing with an AI-assisted attack since late October. Ottawa hasn’t linked its intrusion to either one.

The Export Permit System Holds Sensitive Paperwork

It’s “just paperwork” right up until a stranger reads it.

Canada controls the export of weapons, military parts and many dual-use goods - advanced chips, encryption software, lab equipment, anything with a civilian use that could also serve a military one. A company that wants to ship any of them abroad applies through NEXCOL. Those filings can include permit applications with technical specifications, the overseas buyer’s name and their plans for the goods, along with the reports companies file when they admit to breaking the export rules themselves.

Nobody has said which of those records the attackers opened or copied. A record of which Canadian companies sell which sensitive technology to whom, with specs attached, is worth a lot to a foreign intelligence service, a competitor or anyone trying to sneak goods past export controls. Most of the damage here is likely commercial and strategic rather than ordinary Canadians’ banking details, but the employees named in those filings are now easy targets for convincing phishing emails, and a few DNS records make it much harder to send mail that pretends to come from your company.

What “AI-Enabled” Means in Practice

Ottawa hasn’t said which tools the attackers used, but the chief information officer’s statement links to a Cyber Centre advisory from November 21 on the kind of tooling the government is worried about.

The advisory covers automated penetration testing tools, which are programs built for the security teams that companies pay to break into their own systems on purpose so the weak spots get fixed first. Newer versions hand the whole job to an AI model that plans each step, runs it, reads the result and tries again. Three of them, ARTEX, CyberStrikeAI and PentAGI, made up most of the attack infrastructure the Cyber Centre has observed, with ARTEX alone close to half. Its developer pulled the public code in October after it had already been copied more than 12,000 times.

These tools run most of an attack on their own:

  • They find exposed websites, databases and cloud services automatically.
  • They attack by trial and error, reading the error messages a server sends back to fix their next attempt.
  • In some attacks, less than three hours passed between picking a target and gaining administrator access to its cloud systems.
  • Once inside, they read mail, files and user directories automatically and set up hidden ways back in, like new service accounts, access keys, scheduled tasks or changed password-recovery addresses.

A person working by hand might need days for the same work. The weaknesses aren’t new at all - the advisory lists familiar problems like injection bugs, sloppy file upload handling and databases that let users run system commands. A Chinese state-linked group has used ARTEX against hundreds of organizations, but the Cyber Centre hasn’t blamed any particular group for activity against Canadian targets.

What Nobody Has Said Yet

Ottawa hasn’t answered four basic questions:

  • Who did it: no country or group has been named.
  • How they got in: no vulnerability has been named, and there’s no CVE (the public ID number a known security bug gets).
  • What was taken: Carney confirmed data was compromised, but not what kind or how much.
  • Which other systems were touched: NEXCOL is the only one named, and the warning about more websites going offline suggests the patching isn’t finished.

In October, Ottawa took some of its own websites offline to patch two critical flaws in PHP, a programming language for building websites, which let attackers run commands on a server without logging in. The timing fits neatly with “the past several weeks,” but the government hasn’t connected the two, and a neat timeline isn’t evidence.

The Gap Between Bug and Break-In Keeps Shrinking

Everyone has a patch they meant to install last sprint.

When people did the hacking by hand, a known bug in a public website could go unpatched for a week or two before anyone got around to trying it. Tools that scan, attack and adjust on their own cut that grace period down to hours. Six habits from the Cyber Centre’s advice win back some of those hours:

  1. Patch internet-facing systems first. Every public website, login page and API is within reach of a tool that never gets tired. If you can’t patch right away, take the system offline or cut it off from the public internet (Ottawa is doing exactly that now).
  2. Stop helping the attacker debug. Automated attack tools learn from your error messages, so turn off detailed errors in production and the next failed attempt will teach them nothing.
  3. Watch for machine-shaped behaviour. A long run of failed requests followed by one success, a login followed instantly by bulk reads, or a sudden flood of traffic to one app all point to automation, because people don’t move that fast or that evenly.
  4. Decide who can pull the plug before you need to. The advisory recommends agreeing in advance who has the authority to shut off an account, an app or a whole service. A three-hour attack won’t wait for a meeting to get scheduled.
  5. Assume they left a key under the mat. After an incident, rescan everything you expose to the internet and change every password or key the attacker could have reached. Then look for new service accounts, access keys and changed recovery emails.
  6. Hold your own AI agents to the same rules. An agent with broad access can read files, run commands and change settings just as the attacker’s tools do, so limit it the way you would a new hire with root access.

Each step protects the same thing: the hours between someone finding your weak spot and someone using it.

Ottawa Is Following Its Own Advice

The federal response so far is the same plan the Cyber Centre gives everyone else: patch, take systems offline when you can’t patch them, and tell people when their data was touched. Whether the plan worked depends on details nobody has released yet: when the attackers got in, how they did it and what they carried out. Those should come out over the next few weeks. In the meantime, pick your most exposed public system and check two things: whether your logs would show someone reading its data in bulk last week, and whether anyone on your team already has the authority to shut it off this afternoon.