An Iranian military official has warned that shipping companies involved in "meeting US military needs" against the country will face consequences, Nournews reported.

"Iran is closely monitoring the commercial and maritime network supporting US operations, and any company, ship owner, or service provider that knowingly plays a role in meeting US military needs against Iran will face legal, economic, and counter-sanctioned consequences," the Iranian news outlet cited the official as saying.

The official said the transport of fuel, ammunition, equipment, food, and other items needed by US troops will not be seen by Tehran as "merely a commercial activity", but it would be viewed as supporting Washington in its war on Iran.

Maersk, Schuyler Line Navigation, Crowley Government Services, Overseas Shipholding Group, Seabulk Tankers and Patriot Contract Services were named by the official as some of the companies being examined by Iran for their connection to the US.

"War is not only costly on the battlefield... Those who, knowing the nature of the mission, provide the commercial and logistical infrastructure for military operations against Iran cannot expect their role to remain hidden from Iran," the military source said.