Combine everything up to and including MSG ina heatproof bowl and set fine-mesh strainer over bowl. Cook vegetable oil and shallots in medium saucepan over medium-high heat, stirring frequently, until shallots are deep golden brown - 10 to 14 minutes.
Using a slotted spoon, transfer shallots to second bowl.
Add garlic to veg oil and cook, stirring constantly until golden brown - 2 to 3 minutes. Using slotted spoon, transfer garlic to bowl with shallots.
Add ginger, star anise, cardamom and cinnamon sticks to veg oil, reduce heat to medium and cook, stirring occaisionally until gigner is dried out and mixture is very fragrant, 15 - 20 minutes.
Strain ginger mixture through strainer into bowl with first ingredients and discard solids in strainer. Stir well to combine.
Once cool, stir in shallots, garlic and sesame oil.
Transfer to air tight container and let stand for at least 12 hours before using (Can be refrigerated for up to 3 months).