夤缘攀附

yín yuán pān fù

to cling to the rich and powerful (idiom); to advance one's career by currying favor

social climbing

yín

late at night

yuán

cause

pān

to climb (by pulling oneself up)

to add; to attach