If you are looking for free or low-cost office tools, several modern alternatives offer better security and functionality than a pirated version of an outdated suite: LibreOffice
If you specifically need Office 2010 (perhaps for an older computer running Windows 7 or for compatibility with specific legacy files), the safest method is to use the official installer.
A built-in, secure way to edit documents directly in your browser.