Stata is proprietary software. There is no legal "free version" outside of trial periods. Below are the three legitimate sources for a Stata 17 download.
After installation, you can confirm you have a legitimate, uncorrupted version: stata 17 download