The unknown assailants opened fire on Colonel Ahmed al-Suhaili, commander of a military camp in Hadramawt's city of Seiyun, the official told AFP on condition of anonymity.
The defence ministry confirmed the attack on its website 26sept.Net and said Suhaili responded by shooting at the assailants who were in a vehicle and wounded one of them before he died.
It said a search was on to hunt down the attackers but did not blame any particular group for the assault on Suhaili.
They generally use unregistered motorbikes to facilitate their escape.