Russia is considering legalising unlicensed software to combat sanctions from Western Alliance big tech companies.