If you say that someone has an ulterior motive for doing something, you believe that they have a hidden reason for doing it.
Sheila had an ulterior motive for trying to help Stan.
希拉设法帮助斯坦是别有用心。