на птичьих правах

Etymology
lit. 'having a bird's rights [to do something]'; compare to.

Adverb

 * 1)  without a permit, without papers, without a contract, illegally