Prime Minister Mark Carney says his government could lean on its own offensive cyber capabilities "if appropriate" after a hacker accessed tens of thousands of sensitive military and commercial files.

While it remains unclear, at least publicly, who is behind the breach, the hit on the Global Affairs export controls portal raised alarm within Canada's defence and intelligence community.

During a news conference on Thursday afternoon, Carney was asked if his government would share who is behind the attack once that information is tracked down β€” and if he'd also share Canada's response.

"We are very good in cyber β€” we're not perfect," he stated. "WeΒ have offensive capabilities in cyber as well as defensive capabilities, and if appropriate, we would use those offensive capabilities.".

He didn't offer what an offensive operation could look like.

Canada would use its 'offensive capabilities' in cyber where appropriate, Carney claims.

Both Canada's lead cybersecurity agency, the Communications Security Establishment (CSE), and the Department of National Defence have the authority to disrupt foreign-based threats.

Recent findings suggest that CSE can launch what's called active cyber operations to disrupt the capabilities of foreign threats to Canada, including criminals and state-sponsored hackers. The agency often gives the example of disabling a terrorist cell's communication devices to prevent an attack. For an active cyber operation to proceed, both the minister of defence and the minister of foreign affairs must sign off.

The Canadian Armed Forces is authorized to carry out offensive cyber operations.

Cyberattack that hit government networks is now contained: defence minister.

Hack may have been aimed at mapping Canada's defence industry: experts.

The federal government revealed earlier this week that it suspected malicious actors using artificial intelligence attacked its networks over the past several weeks.

Foreign Affairs Minister Anita Anand later confirmed about 125,000 documents from NEXCOL β€” the Global Affairs Canada system that manages export permits and certificates β€” were impacted by the breach, affecting around 4,600 people or organizations.

Information on that portal could include details about who is building Canadian military technology, what is being exported and where it's being sent.

"That's a map for spies," Ali Dehghantanha, a Canada Research Chair in Cybersecurity and Threat Intelligence, told CBC's Power & Politics.

When it comes to attribution, Carney mentioned there are "certain footprints and certain techniques that are used by certain states. But they are also used by others.".

But through identifying those footprints, "you can narrow the field of state and non-state actors," he told reporters.

He suggested the government would confidentially disclose the culprit to the National Security and Intelligence Committee of Parliamentarians.

In its first statement since the attack was revealed, CSE noted as of Thursday, it appears Global Affairs is the only department that experienced a serious breach.

It noted the intrusion was swiftly contained, the department immediately notified all affected individuals and organizations and NEXCOL is back up and running as usual.

"At this time, there have been no other incidents where data have been compromised," mentioned the enhancement.

CSE said it took the Department of National Defence's portal for cadets offline as a precaution after it detected suspicious activity.

"Further analysis found that no data breach had occurred," said the agency.

On Wednesday, Defence Minister David McGuinty stated the federal government wouldn't retaliate.

Asked if that sends a message to foreign adversaries that they can attack Canada without retribution, McGuinty stated the best response is to be ready.

According to recent reports, "It's not a decision that's taken lightly, when a state decides to retaliate or not. In the history of Canada, I haven't seen situations like that. The notable thing is to be ready, because this is the new normal," he mentioned in French.

It has been revealed that scott Jones, chief of the Communications Security Establishment, prepares to appear at a House committee last week. (Justin Tang/The Canadian Press).

Speaking at a cybersecurity conference in downtown Ottawa on Wednesday, Scott Jones β€” the fresh CSE chief β€” mentioned cyberattacks are becoming a normal part of life.

It has been revealed that "We are not doomed," Jones told the crowd. "That's what we have to get used to in the digital world. This is not a crisis. This is not a panic.".

Jones also remarked while artificial intelligence makes deploying cyberattacks easier, it also helps agencies like his defend against such attacks.

It has been revealed that "Artificial intelligence will aid in the automation of attacks … and it will aid cyber criminals and those that are using it against us. But it can also aid us," he remarked.

In a recent development, catharine Tunney is a reporter with CBC's Parliament Hill bureau, where she covers national security and the RCMP. She worked previously for CBC in Nova Scotia. You can reach her at catharine.tunney@cbc.ca.

With files from Murray Brewster and The Canadian Press.

πŸ“Œ Read also:

β†’ Read original article