The full offline standalone installer 1.27a2 versions of WC3 which is freely available to download from Blizzard's own servers in any language and for any supported OS, regardless of any Battle.net account, are legitimate to get as long as one uses Blizzard's official Legacy downloader to do so.
For the record, StarCraft 1.15.x and Diablo II 1.14b can be obtained exactly the same way.
I hope that more previous full versions of these games will be made available in the future, in the exact same way.
At least with this one, I also have the green color right.
;D