"The main aim of the plot was to seize control of two cities, Al-Mukalla and Ghayl Bawazeer" in the southeast, Rajeh Badi told AFP, adding that oil export facilities near Mukalla were also to be targeted.
Foreigners working at the terminal were to be kidnapped as well, he said.
He said that the Mina al-Dhaba oil terminal west of Mukalla, and a nearby export facility for oil derivatives, were to be targeted by militants disguised in army uniforms.
"If they were to fail in seizing control of the facilities, the plan was to take foreign experts away as hostages," he added.
The attack was planned for the 27th day of Ramadan, the fasting month for Muslims, which coincided with Monday, August 5.
The plot was foiled around two days before it was due to be launched, Badi said.
Another thwarted plan was to attack a main gas pipeline in the southeast province of Shabwa, that would cut exports of liquefied gas from the Balhaf terminal southwest of Mukalla, Badi said.
