Iran has warned that if attacks on its energy sector resume, it will strike all oil and gas facilities of the United States and Israel in the Middle East.