CNN
Now playing
00:58
Trump: Let's make Iran great again
Florida Gov. Ron DeSantis, center, speaks during a news conference at West Miami Middle School in Miami on Tuesday, May 4, 2021.
Matias J. Ocner/Miami Herald/AP
Florida Gov. Ron DeSantis, center, speaks during a news conference at West Miami Middle School in Miami on Tuesday, May 4, 2021.
Now playing
02:20
Florida Gov. Ron DeSantis blames this for surge in cases
CNN
Now playing
03:31
'I got elected to shake things up': Lightfoot on time as mayor
US Speaker of the House, Nancy Pelosi, Democrat of California, speaks at her weekly press briefing on Capitol Hill in Washington, DC, on July 22, 2021. (Photo by Brendan SMIALOWSKI / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
BRENDAN SMIALOWSKI/AFP/AFP via Getty Images
US Speaker of the House, Nancy Pelosi, Democrat of California, speaks at her weekly press briefing on Capitol Hill in Washington, DC, on July 22, 2021. (Photo by Brendan SMIALOWSKI / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
01:21
Pelosi explains why she rejected GOP lawmakers from January 6 committee
WASHINGTON, DC - JULY 20: U.S. President Donald Trump talks to reporters with Vice President Mike Pence in the Oval Office at the White House July 20, 2020 in Washington, DC. Trump hosted Republican Congressional leaders and members of his cabinet to talk about a proposed new round of financial stimulus to help the economy during the ongoing global coronavirus pandemic.  (Photo by Doug Mills-Pool/Getty Images)
Pool/Getty Images North America/Getty Images
WASHINGTON, DC - JULY 20: U.S. President Donald Trump talks to reporters with Vice President Mike Pence in the Oval Office at the White House July 20, 2020 in Washington, DC. Trump hosted Republican Congressional leaders and members of his cabinet to talk about a proposed new round of financial stimulus to help the economy during the ongoing global coronavirus pandemic. (Photo by Doug Mills-Pool/Getty Images)
Now playing
06:43
Trump shares disappointment with Pence in new audio recording
Now playing
01:26
Pelosi just made an unprecedented move. Here's why
Biden town hall vpx
CNN
Biden town hall vpx
Now playing
01:45
Biden reveals what world leaders are asking him about America
Justice Department
Now playing
01:37
Ex-Army Ranger weaponized military training during Capitol riot, judge says
This Morning
Now playing
03:23
See what Ted Cruz is doing to frustrate Republicans and Democrats
Tom Barrack
Fabrice Malard, Photographer
Tom Barrack
Now playing
02:20
Trump ally charged with acting as agent of foreign nation
President Joe Biden speaks about the nation's economic recovery amid the COVID-19 pandemic in the State Dining Room of the White House on July 19, 2021 in Washington, DC.
Drew Angerer/Getty Images
President Joe Biden speaks about the nation's economic recovery amid the COVID-19 pandemic in the State Dining Room of the White House on July 19, 2021 in Washington, DC.
Now playing
01:26
Biden backs off claim Facebook is 'killing people'
daniel dale arizona audit fact check newday vpx_00022812.png
daniel dale arizona audit fact check newday vpx_00022812.png
Now playing
02:41
'That didn't happen': Daniel Dale fact-checks Arizona audit claims
CNN
Now playing
02:05
Bash asks Surgeon General if Fox News disinformation is killing people
CNN
Now playing
02:25
Dana Bash questions GOP lawmaker about 'sticking points' on infrastructure bill
Smerconish: Why won't Trump promote vaccination?_00000000.png
CNN
Smerconish: Why won't Trump promote vaccination?_00000000.png
Now playing
06:16
Smerconish: Here's why Trump refuses to take the next logical step
Now playing
02:30
'Premised on a lie': Tapper calls out Fox reporter's question
CNN —  

US Cyber Command launched a retaliatory cyberstrike last week against an Iranian spy group, according to a US official and a former US intelligence official familiar with the matter.

USCC attacked the spy group, which has ties to the Islamic Revolutionary Guard Corps, after Iran attacked ships in the region, the officials said.

The US official added the online strike targeted an Iranian spy group’s computer software that was used to track the tankers that were targeted in the Gulf of Oman on June 13.

A spokesman for the Pentagon would not comment on the matter Saturday, saying that “as a matter of policy and for operational security, we do not discuss cyberspace operations, intelligence or planning.”

Yahoo! News first reported the US cyberstrike against Iran.

The exchanged attacks come following a tumultuous week between the two countries. Iran shot down an American drone Thursday, prompting President Donald Trump to pursue a retaliatory strike against Iran.

Trump said Friday that he called off the attack on Iran – with the US “cocked & loaded”– 10 minutes before the strike because he decided there would be too many deaths for a proportionate response to the downing of an American drone. He claimed Saturday that he is “getting a lot of praise” for his abrupt decision to reverse course.

The former US intelligence official told CNN that in recent months there has been an increase in Iranian cyber activity against Gulf targets, like Bahrain and the United Arab Emirates, as well as US targets. Iranian forces’ cyber capabilities have improved in recent years, and while they often outsource their efforts to Russians, it is expected that the Iranians carried out this attack themselves.

The Department of Homeland Security announced Saturday that Iran has recently increased cyberattacks against US industry and government agencies as tension peaked between the countries this week.

Christopher Krebs, the director of DHS’s Cybersecurity and Infrastructure Security Agency, said in a statement that his agency “is aware of a recent rise in malicious cyber activity directed at United States industries and government agencies by Iranian regime actors and proxies.”

“We will continue to work with our intelligence community and cybersecurity partners to monitor Iranian cyber activity, share information, and take steps to keep America and our allies safe,” he added.

Krebs said Iranian state actors and proxies are increasingly using “destructive ‘wiper’ attacks” that are capable of not only stealing data and money but taking down an organization’s entire computer network.

CNN’s Ryan Browne, David Shortell and Geneva Sands contributed to this report.