SULAIMANIYA, Iraq — Iran launched ballistic missile and drone attacks across the border at Kurdish Iranian opposition bases in Iraq on Monday, killing at least two people and wounding at least nine, according to opposition groups.

Iran’s semiofficial Fars news agency said on Monday that the security forces had targeted “terrorist groups” With missiles and drones. They accuse these groups of fueling protests which have swept Iran ever since the September death in custody of a Kurdish Iranian woman for violating the law regarding head scarves.

The Kurdistan Democratic Party of Iran said two of its members were killed and at least nine severely wounded when its main base near the city of Koya in Iraq’s Kurdistan Region was hit by Iranian Fateh-110 ballistic missiles, said the deputy head of the party, Amanj Zebaii. Amanj Zebaii said that five other mountain bases belonging to the group were also struck in the Sidakan region.

The director of Koya’s main hospital, Sherwan Jalal, said ambulances had been dispatched but could not enter the base because of the continued danger of airstrikes. According to him, there are likely to be more casualties in the rubble. Mr. Jalal claimed that Koya residents were donating blood to the wounded.

Komala (the Iranian Kurdish Communist Party) was another opposition group. It said that Monday morning’s attack on its base near Sulaimaniya resulted in no casualties. Navid Mehrawar, a Komala official said that five suicide drones were used to attack the base.

Kurdish media posted video of sirens sounding from the U.S. consulate, Erbil’s center.

According to Kurdish officials from the Kurdish health ministry, Monday’s attacks were the first since several days ago when Iranian strikes had left many people dead, including a pregnant woman.

According to U.N. refugee agency. Iranian refugees including children and women were among those who died.

Many armed Iranian Kurdish rebel groups have established bases near the border to Iraq for many years. They say they hold their weapons — mostly rifles and rocket-propelled grenades — for self-defense and to help defend the Iraqi border.

P.A.K. was part of the U.S. backed coalition of Kurdish fighters against the Islamic State following its takeover in 2014 of parts of northern Iraq.

Iran repeatedly demanded that Iraq close down opposition bases and arm the fighters.

Iraq’s new prime minister, Mohammed Shia al-Sudani, told reporters in Baghdad on Saturday that the leadership of the Kurdistan Region, which is semiautonomous, had refused the disarmament demand.