That malware was directed to anyone with a Russian IP. The license was an open source license.
If we consider malware to be simply a form of licensing, than all malware is allowed, in every place. If malware hits you, it means you shouldn't have been using the software.