Iran's Revolutionary Guards on Tuesday threatened to end oil production in the Middle East if the Islamic republic faced attacks launched from its Gulf neighbours' territory.