Since Feb. 28, most attacks on the kingdom have originated in Iraq and been attributed to Iran-backed Shiite militias, according to regional officials and Iraqi sources.