U.S. cyber forces reportedly struck Iranian military computers last week.

U.S. Cyber Command conducted the strike with President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE's approval after the president opted against retaliating against Iran with a military strike, The Associated Press reported, citing U.S. officials.

ADVERTISEMENT

The attacks disabled systems controlling Iran's rocket and missile launchers, officials told the AP.

Pentagon spokesperson Heather Babb declined to comment, citing policy and operational security.

Last week, tensions between Iran and the U.S. flared after Tehran shot down an unmanned U.S. surveillance drone.

The administration nearly launched a traditional military strike against the country, but Trump tweeted last week that he stopped such a move when he learned of the casualty numbers.

The Trump administration has reportedly taken a more aggressive cyber approach than past administrations.

Representatives of cybersecurity companies CrowdStrike and FireEye told the AP that in recent weeks, hackers that are likely working with the Iranian government have targeted U.S. government agencies through spear-phishing emails.