Worm ones way into
To insinuate one’s way into a relationship or a situation in order to exploit it for gain or special favour, dates from the 17th century and derives from the inexhaustible ability of worms to manoeuvre in any direction.