夤缘攀附

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)

附

fù

to add; to attach