A top Iraqi security official has said foreign hands were behind a recent wave of terror attacks across the country which left at least 140 people dead, half of them Iranians.