Iran is providing crucial equipment and technical help to Syria in its effort to track opposition forces through the Internet and other forms of electronic surveillance, according to U.S. officials.

The aid is the latest example of how Iran is helping Syria in its battle against rebel forces threatening the regime of President Bashar al-Assad. The technical assistance is coming mainly through Iran’s Ministry of Intelligence and Security, the officials said.